pptx-react-viewer 2.16.2 → 2.16.3

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 (169) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/{AiChatPanel-MCGNCS7Q.js → AiChatPanel-2WWE5U3X.js} +23 -23
  3. package/dist/AiChatPanel-2WWE5U3X.js.br +0 -0
  4. package/dist/AiChatPanel-2WWE5U3X.js.gz +0 -0
  5. package/dist/{AiChatPanel-WJXPCHQK.mjs → AiChatPanel-RGIINA3S.mjs} +4 -4
  6. package/dist/AiChatPanel-RGIINA3S.mjs.br +0 -0
  7. package/dist/AiChatPanel-RGIINA3S.mjs.gz +0 -0
  8. package/dist/{Model3DScene-IXW2AKAU.mjs → Model3DScene-2ZP3V2P2.mjs} +1 -1
  9. package/dist/Model3DScene-2ZP3V2P2.mjs.br +0 -0
  10. package/dist/Model3DScene-2ZP3V2P2.mjs.gz +0 -0
  11. package/dist/{Model3DScene-Q2DTGVQ7.js → Model3DScene-D2ZJ5XGR.js} +2 -2
  12. package/dist/Model3DScene-D2ZJ5XGR.js.br +0 -0
  13. package/dist/Model3DScene-D2ZJ5XGR.js.gz +0 -0
  14. package/dist/{SurfaceChart3DScene-AD43LAOO.js → SurfaceChart3DScene-DWQ3IP5C.js} +2 -2
  15. package/dist/SurfaceChart3DScene-DWQ3IP5C.js.br +0 -0
  16. package/dist/SurfaceChart3DScene-DWQ3IP5C.js.gz +0 -0
  17. package/dist/{SurfaceChart3DScene-MODEHQ6G.mjs → SurfaceChart3DScene-L7YPNZ7X.mjs} +1 -1
  18. package/dist/SurfaceChart3DScene-L7YPNZ7X.mjs.br +0 -0
  19. package/dist/SurfaceChart3DScene-L7YPNZ7X.mjs.gz +0 -0
  20. package/dist/{audience-content-store-DaABTAcQ.d.ts → audience-content-store-BvqKy7Hf.d.ts} +2 -2
  21. package/dist/{audience-content-store-DaABTAcQ.d.ts.map → audience-content-store-BvqKy7Hf.d.ts.map} +1 -1
  22. package/dist/{chunk-4GX347MG.js → chunk-2UVKMKRP.js} +42 -49
  23. package/dist/chunk-2UVKMKRP.js.br +0 -0
  24. package/dist/chunk-2UVKMKRP.js.gz +0 -0
  25. package/dist/{chunk-5YV26HMJ.mjs → chunk-5IUEPQTK.mjs} +1 -0
  26. package/dist/chunk-5IUEPQTK.mjs.br +0 -0
  27. package/dist/chunk-5IUEPQTK.mjs.gz +0 -0
  28. package/dist/{chunk-3ISYPBSX.js → chunk-DVZF4ARG.js} +1 -0
  29. package/dist/chunk-DVZF4ARG.js.br +0 -0
  30. package/dist/chunk-DVZF4ARG.js.gz +0 -0
  31. package/dist/{chunk-OYF6ISXZ.mjs → chunk-DWIIYEOG.mjs} +4 -4
  32. package/dist/chunk-DWIIYEOG.mjs.br +0 -0
  33. package/dist/{chunk-OYF6ISXZ.mjs.gz → chunk-DWIIYEOG.mjs.gz} +0 -0
  34. package/dist/{chunk-Z4CS2ZYN.mjs → chunk-EBLFH3R2.mjs} +3 -3
  35. package/dist/chunk-EBLFH3R2.mjs.br +0 -0
  36. package/dist/chunk-EBLFH3R2.mjs.gz +0 -0
  37. package/dist/{chunk-LDD2UVCV.mjs → chunk-FVWVEWUG.mjs} +10 -10
  38. package/dist/chunk-FVWVEWUG.mjs.br +0 -0
  39. package/dist/chunk-FVWVEWUG.mjs.gz +0 -0
  40. package/dist/{chunk-3OYWYONZ.mjs → chunk-FXGO5KLU.mjs} +3 -3
  41. package/dist/chunk-FXGO5KLU.mjs.br +0 -0
  42. package/dist/chunk-FXGO5KLU.mjs.gz +0 -0
  43. package/dist/{chunk-QI2JCXTH.mjs → chunk-JHDAOYRQ.mjs} +1 -1
  44. package/dist/chunk-JHDAOYRQ.mjs.br +0 -0
  45. package/dist/chunk-JHDAOYRQ.mjs.gz +0 -0
  46. package/dist/{chunk-MDFCBYEM.mjs → chunk-KMT3SLZC.mjs} +42 -49
  47. package/dist/chunk-KMT3SLZC.mjs.br +0 -0
  48. package/dist/chunk-KMT3SLZC.mjs.gz +0 -0
  49. package/dist/{chunk-P6KM7RO5.js → chunk-KTWK3D6O.js} +266 -266
  50. package/dist/chunk-KTWK3D6O.js.br +0 -0
  51. package/dist/chunk-KTWK3D6O.js.gz +0 -0
  52. package/dist/{chunk-CIK6XUOH.js → chunk-LBP6BUD4.js} +3 -3
  53. package/dist/chunk-LBP6BUD4.js.br +0 -0
  54. package/dist/{chunk-CIK6XUOH.js.gz → chunk-LBP6BUD4.js.gz} +0 -0
  55. package/dist/{chunk-PYV6FIYK.js → chunk-NB7M4XBG.js} +38 -38
  56. package/dist/chunk-NB7M4XBG.js.br +0 -0
  57. package/dist/chunk-NB7M4XBG.js.gz +0 -0
  58. package/dist/{chunk-UWYHBCLM.mjs → chunk-OZ3HGL6E.mjs} +18 -8
  59. package/dist/chunk-OZ3HGL6E.mjs.br +0 -0
  60. package/dist/chunk-OZ3HGL6E.mjs.gz +0 -0
  61. package/dist/{chunk-NKE64XVV.js → chunk-U7SASWG4.js} +361 -351
  62. package/dist/chunk-U7SASWG4.js.br +0 -0
  63. package/dist/chunk-U7SASWG4.js.gz +0 -0
  64. package/dist/{chunk-JV6DI7AK.js → chunk-ZYBVQXLR.js} +1062 -1062
  65. package/dist/chunk-ZYBVQXLR.js.br +0 -0
  66. package/dist/chunk-ZYBVQXLR.js.gz +0 -0
  67. package/dist/{chunk-MMFM7JRT.js → chunk-ZYQT7I5C.js} +4 -4
  68. package/dist/chunk-ZYQT7I5C.js.br +0 -0
  69. package/dist/chunk-ZYQT7I5C.js.gz +0 -0
  70. package/dist/i18n.js +4 -4
  71. package/dist/i18n.js.br +0 -0
  72. package/dist/i18n.js.gz +0 -0
  73. package/dist/i18n.mjs +1 -1
  74. package/dist/i18n.mjs.br +0 -0
  75. package/dist/i18n.mjs.gz +0 -0
  76. package/dist/index.js +41 -41
  77. package/dist/index.js.br +0 -0
  78. package/dist/index.js.gz +0 -0
  79. package/dist/index.mjs +6 -6
  80. package/dist/index.mjs.br +0 -0
  81. package/dist/index.mjs.gz +0 -0
  82. package/dist/internals.d.ts +30 -1
  83. package/dist/internals.d.ts.map +1 -1
  84. package/dist/internals.js +79 -79
  85. package/dist/internals.js.br +0 -0
  86. package/dist/internals.js.gz +0 -0
  87. package/dist/internals.mjs +4 -4
  88. package/dist/internals.mjs.br +0 -0
  89. package/dist/internals.mjs.gz +0 -0
  90. package/dist/viewer/index.d.ts +1 -1
  91. package/dist/viewer/index.js +27 -27
  92. package/dist/viewer/index.js.br +0 -0
  93. package/dist/viewer/index.js.gz +0 -0
  94. package/dist/viewer/index.mjs +6 -6
  95. package/dist/viewer/index.mjs.br +0 -0
  96. package/dist/viewer/index.mjs.gz +0 -0
  97. package/dist/{y-webrtc-DGVURJIF.mjs → y-webrtc-7DLWG3LJ.mjs} +5 -5
  98. package/dist/y-webrtc-7DLWG3LJ.mjs.br +0 -0
  99. package/dist/y-webrtc-7DLWG3LJ.mjs.gz +0 -0
  100. package/dist/{y-webrtc-YN53KW3J.js → y-webrtc-TAJBJIKH.js} +107 -107
  101. package/dist/y-webrtc-TAJBJIKH.js.br +0 -0
  102. package/dist/y-webrtc-TAJBJIKH.js.gz +0 -0
  103. package/dist/{y-websocket-P5LTAJ5T.mjs → y-websocket-DCTJ76B7.mjs} +4 -4
  104. package/dist/y-websocket-DCTJ76B7.mjs.br +0 -0
  105. package/dist/y-websocket-DCTJ76B7.mjs.gz +0 -0
  106. package/dist/{y-websocket-HZCIQLM6.js → y-websocket-DQLOWGV6.js} +81 -81
  107. package/dist/y-websocket-DQLOWGV6.js.br +0 -0
  108. package/dist/y-websocket-DQLOWGV6.js.gz +0 -0
  109. package/dist/{yjs-FKGX4QHS.mjs → yjs-4ED7E5CZ.mjs} +1 -1
  110. package/dist/yjs-4ED7E5CZ.mjs.br +0 -0
  111. package/dist/yjs-4ED7E5CZ.mjs.gz +0 -0
  112. package/dist/{yjs-HBLSEMHP.js → yjs-OWUA3UHD.js} +104 -104
  113. package/dist/yjs-OWUA3UHD.js.br +0 -0
  114. package/dist/yjs-OWUA3UHD.js.gz +0 -0
  115. package/package.json +6 -6
  116. package/dist/AiChatPanel-MCGNCS7Q.js.br +0 -0
  117. package/dist/AiChatPanel-MCGNCS7Q.js.gz +0 -0
  118. package/dist/AiChatPanel-WJXPCHQK.mjs.br +0 -0
  119. package/dist/AiChatPanel-WJXPCHQK.mjs.gz +0 -0
  120. package/dist/Model3DScene-IXW2AKAU.mjs.br +0 -0
  121. package/dist/Model3DScene-IXW2AKAU.mjs.gz +0 -0
  122. package/dist/Model3DScene-Q2DTGVQ7.js.br +0 -0
  123. package/dist/Model3DScene-Q2DTGVQ7.js.gz +0 -0
  124. package/dist/SurfaceChart3DScene-AD43LAOO.js.br +0 -0
  125. package/dist/SurfaceChart3DScene-AD43LAOO.js.gz +0 -0
  126. package/dist/SurfaceChart3DScene-MODEHQ6G.mjs.br +0 -0
  127. package/dist/SurfaceChart3DScene-MODEHQ6G.mjs.gz +0 -0
  128. package/dist/chunk-3ISYPBSX.js.br +0 -0
  129. package/dist/chunk-3ISYPBSX.js.gz +0 -0
  130. package/dist/chunk-3OYWYONZ.mjs.br +0 -0
  131. package/dist/chunk-3OYWYONZ.mjs.gz +0 -0
  132. package/dist/chunk-4GX347MG.js.br +0 -0
  133. package/dist/chunk-4GX347MG.js.gz +0 -0
  134. package/dist/chunk-5YV26HMJ.mjs.br +0 -0
  135. package/dist/chunk-5YV26HMJ.mjs.gz +0 -0
  136. package/dist/chunk-CIK6XUOH.js.br +0 -0
  137. package/dist/chunk-JV6DI7AK.js.br +0 -0
  138. package/dist/chunk-JV6DI7AK.js.gz +0 -0
  139. package/dist/chunk-LDD2UVCV.mjs.br +0 -0
  140. package/dist/chunk-LDD2UVCV.mjs.gz +0 -0
  141. package/dist/chunk-MDFCBYEM.mjs.br +0 -0
  142. package/dist/chunk-MDFCBYEM.mjs.gz +0 -0
  143. package/dist/chunk-MMFM7JRT.js.br +0 -0
  144. package/dist/chunk-MMFM7JRT.js.gz +0 -0
  145. package/dist/chunk-NKE64XVV.js.br +0 -0
  146. package/dist/chunk-NKE64XVV.js.gz +0 -0
  147. package/dist/chunk-OYF6ISXZ.mjs.br +0 -0
  148. package/dist/chunk-P6KM7RO5.js.br +0 -0
  149. package/dist/chunk-P6KM7RO5.js.gz +0 -0
  150. package/dist/chunk-PYV6FIYK.js.br +0 -0
  151. package/dist/chunk-PYV6FIYK.js.gz +0 -0
  152. package/dist/chunk-QI2JCXTH.mjs.br +0 -0
  153. package/dist/chunk-QI2JCXTH.mjs.gz +0 -0
  154. package/dist/chunk-UWYHBCLM.mjs.br +0 -0
  155. package/dist/chunk-UWYHBCLM.mjs.gz +0 -0
  156. package/dist/chunk-Z4CS2ZYN.mjs.br +0 -0
  157. package/dist/chunk-Z4CS2ZYN.mjs.gz +0 -0
  158. package/dist/y-webrtc-DGVURJIF.mjs.br +0 -0
  159. package/dist/y-webrtc-DGVURJIF.mjs.gz +0 -0
  160. package/dist/y-webrtc-YN53KW3J.js.br +0 -0
  161. package/dist/y-webrtc-YN53KW3J.js.gz +0 -0
  162. package/dist/y-websocket-HZCIQLM6.js.br +0 -0
  163. package/dist/y-websocket-HZCIQLM6.js.gz +0 -0
  164. package/dist/y-websocket-P5LTAJ5T.mjs.br +0 -0
  165. package/dist/y-websocket-P5LTAJ5T.mjs.gz +0 -0
  166. package/dist/yjs-FKGX4QHS.mjs.br +0 -0
  167. package/dist/yjs-FKGX4QHS.mjs.gz +0 -0
  168. package/dist/yjs-HBLSEMHP.js.br +0 -0
  169. package/dist/yjs-HBLSEMHP.js.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -4,6 +4,8 @@ All notable changes to this project are documented here.
4
4
  This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
5
5
  by [git-cliff](https://git-cliff.org); do not edit it by hand.
6
6
 
7
+ ## [2.16.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.16.2) - 2026-08-08
8
+
7
9
  ## [2.16.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.16.1) - 2026-08-07
8
10
 
9
11
  ## [2.16.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.16.0) - 2026-08-07
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkCIK6XUOH_js = require('./chunk-CIK6XUOH.js');
4
- var chunkP6KM7RO5_js = require('./chunk-P6KM7RO5.js');
5
- require('./chunk-3ISYPBSX.js');
6
- require('./chunk-4GX347MG.js');
3
+ var chunkLBP6BUD4_js = require('./chunk-LBP6BUD4.js');
4
+ var chunkKTWK3D6O_js = require('./chunk-KTWK3D6O.js');
5
+ require('./chunk-DVZF4ARG.js');
6
+ require('./chunk-2UVKMKRP.js');
7
7
  require('./chunk-4VNS5WPM.js');
8
8
  var react = require('react');
9
9
  var reactI18next = require('react-i18next');
@@ -29,7 +29,7 @@ function useAiChat(bridge, config) {
29
29
  setInitError(void 0);
30
30
  void (async () => {
31
31
  try {
32
- const available = await chunkCIK6XUOH_js.isAiAvailable();
32
+ const available = await chunkLBP6BUD4_js.isAiAvailable();
33
33
  if (cancelled) {
34
34
  return;
35
35
  }
@@ -37,7 +37,7 @@ function useAiChat(bridge, config) {
37
37
  setState("unavailable");
38
38
  return;
39
39
  }
40
- const built = await chunkCIK6XUOH_js.createAiChatSession(bridge, configRef.current);
40
+ const built = await chunkLBP6BUD4_js.createAiChatSession(bridge, configRef.current);
41
41
  if (cancelled) {
42
42
  return;
43
43
  }
@@ -143,7 +143,7 @@ function withDeckContext(inner, bridge, strategy) {
143
143
  }
144
144
  let context = "";
145
145
  try {
146
- context = await chunkCIK6XUOH_js.buildDeckContext(bridge, { strategy, focus: {} });
146
+ context = await chunkLBP6BUD4_js.buildDeckContext(bridge, { strategy, focus: {} });
147
147
  } catch {
148
148
  context = "";
149
149
  }
@@ -206,7 +206,7 @@ function useAiConversation(useChat, session, config, bridge, options = {}) {
206
206
  continue;
207
207
  }
208
208
  seen.add(call.toolCallId);
209
- onToolTargetRef.current?.(chunkCIK6XUOH_js.toolCanvasTarget(call.toolName, call.input));
209
+ onToolTargetRef.current?.(chunkLBP6BUD4_js.toolCanvasTarget(call.toolName, call.input));
210
210
  }
211
211
  }, [chat.messages]);
212
212
  const send = react.useCallback(
@@ -282,7 +282,7 @@ function deriveTitle(messages) {
282
282
  }
283
283
  function useAiHistory(input) {
284
284
  const { deckId, messages, setMessages } = input;
285
- const store = react.useMemo(() => input.store ?? chunkCIK6XUOH_js.createChatHistoryStore(), [input.store]);
285
+ const store = react.useMemo(() => input.store ?? chunkLBP6BUD4_js.createChatHistoryStore(), [input.store]);
286
286
  const [activeChatId, setActiveChatId] = react.useState(newChatId);
287
287
  const [chats, setChats] = react.useState([]);
288
288
  const createdAtRef = react.useRef(Date.now());
@@ -425,7 +425,7 @@ function AiComposer({
425
425
  disabled: value.trim().length === 0,
426
426
  title: t("pptx.ai.send"),
427
427
  "aria-label": t("pptx.ai.send"),
428
- className: chunkP6KM7RO5_js.cn(
428
+ className: chunkKTWK3D6O_js.cn(
429
429
  "shrink-0 rounded-sm p-1.5 transition-colors",
430
430
  value.trim().length === 0 ? "text-muted-foreground/50" : "bg-primary text-primary-foreground hover:bg-primary/90"
431
431
  ),
@@ -451,15 +451,15 @@ function AiFocusBar({
451
451
  onClearPicks
452
452
  }) {
453
453
  const { t } = reactI18next.useTranslation();
454
- const chips = chunkCIK6XUOH_js.focusTargetChips(targets, slides);
455
- const twoTables = chunkCIK6XUOH_js.isTwoTableFocus(targets, slides);
454
+ const chips = chunkLBP6BUD4_js.focusTargetChips(targets, slides);
455
+ const twoTables = chunkLBP6BUD4_js.isTwoTableFocus(targets, slides);
456
456
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border bg-secondary/30", children: [
457
457
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1 px-2.5 py-1.5", children: [
458
458
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-semibold uppercase tracking-wide text-muted-foreground", children: t("pptx.ai.focusScope") }),
459
459
  chips.map((chip) => /* @__PURE__ */ jsxRuntime.jsx(
460
460
  "span",
461
461
  {
462
- className: chunkP6KM7RO5_js.cn(
462
+ className: chunkKTWK3D6O_js.cn(
463
463
  "inline-flex max-w-[10rem] items-center rounded-full px-2 py-0.5 text-[11px]",
464
464
  hasPicks || isPinned ? "bg-primary/15 text-primary" : "bg-muted text-muted-foreground"
465
465
  ),
@@ -492,7 +492,7 @@ function AiFocusBar({
492
492
  title: t("pptx.ai.pickElement"),
493
493
  "aria-label": t("pptx.ai.pickAria"),
494
494
  "aria-pressed": pickMode,
495
- className: chunkP6KM7RO5_js.cn(
495
+ className: chunkKTWK3D6O_js.cn(
496
496
  "rounded-sm p-1",
497
497
  pickMode ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent"
498
498
  ),
@@ -571,7 +571,7 @@ function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
571
571
  {
572
572
  type: "button",
573
573
  onClick: () => onResume(chat.id),
574
- className: chunkP6KM7RO5_js.cn(
574
+ className: chunkKTWK3D6O_js.cn(
575
575
  "flex min-w-0 flex-1 items-start gap-2 rounded-sm px-2 py-1.5 text-left hover:bg-accent",
576
576
  chat.id === activeChatId && "bg-accent/60"
577
577
  ),
@@ -726,26 +726,26 @@ function AiToolCallCard({ part }) {
726
726
  const failed = part.state === "output-error";
727
727
  const done = part.state === "output-available";
728
728
  const running = !failed && !done;
729
- const activity = chunkCIK6XUOH_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
729
+ const activity = chunkLBP6BUD4_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
730
730
  const Icon = ICONS[activity.icon] ?? lu.LuWrench;
731
- const rawSummary = chunkCIK6XUOH_js.summarizeToolArgs(part.input);
731
+ const rawSummary = chunkLBP6BUD4_js.summarizeToolArgs(part.input);
732
732
  const statusLabel = failed ? t("pptx.ai.toolFailed") : done ? t("pptx.ai.toolDone") : t("pptx.ai.toolRunning");
733
733
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-[12px]", children: [
734
734
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
735
735
  /* @__PURE__ */ jsxRuntime.jsx(
736
736
  Icon,
737
737
  {
738
- className: chunkP6KM7RO5_js.cn(
738
+ className: chunkKTWK3D6O_js.cn(
739
739
  "w-3.5 h-3.5 shrink-0",
740
740
  failed ? "text-destructive" : "text-muted-foreground"
741
741
  )
742
742
  }
743
743
  ),
744
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkP6KM7RO5_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
744
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkKTWK3D6O_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
745
745
  /* @__PURE__ */ jsxRuntime.jsxs(
746
746
  "span",
747
747
  {
748
- className: chunkP6KM7RO5_js.cn(
748
+ className: chunkKTWK3D6O_js.cn(
749
749
  "ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]",
750
750
  failed ? "bg-destructive/15 text-destructive" : done ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
751
751
  ),
@@ -762,7 +762,7 @@ function AiToolCallCard({ part }) {
762
762
  rawSummary && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "group mt-0.5 pl-5", children: [
763
763
  /* @__PURE__ */ jsxRuntime.jsx("summary", { className: "cursor-pointer list-none text-[10px] text-muted-foreground/70 hover:text-muted-foreground", children: t("pptx.ai.toolDetails") }),
764
764
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-0.5 break-words font-mono text-[10px] text-muted-foreground/80", children: [
765
- chunkCIK6XUOH_js.toolLabel(part.toolName),
765
+ chunkLBP6BUD4_js.toolLabel(part.toolName),
766
766
  ": ",
767
767
  rawSummary
768
768
  ] })
@@ -793,7 +793,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
793
793
  /* @__PURE__ */ jsxRuntime.jsx(
794
794
  "div",
795
795
  {
796
- className: chunkP6KM7RO5_js.cn(
796
+ className: chunkKTWK3D6O_js.cn(
797
797
  "mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",
798
798
  isUser ? "bg-secondary text-muted-foreground" : "bg-primary/15 text-primary"
799
799
  ),
@@ -840,7 +840,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
840
840
  }
841
841
  function AiProposalCard({ proposal, onAccept, onReject }) {
842
842
  const { t } = reactI18next.useTranslation();
843
- const lines = proposal.summary.map(chunkCIK6XUOH_js.humanizeDiffLine);
843
+ const lines = proposal.summary.map(chunkLBP6BUD4_js.humanizeDiffLine);
844
844
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-md border border-primary/40 bg-primary/5 p-2.5", children: [
845
845
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-primary", children: t("pptx.ai.proposedChange") }),
846
846
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[12px] font-medium text-foreground", children: proposal.label }),
Binary file
Binary file
@@ -1,7 +1,7 @@
1
- import { isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-QI2JCXTH.mjs';
2
- import { cn } from './chunk-Z4CS2ZYN.mjs';
3
- import './chunk-5YV26HMJ.mjs';
4
- import './chunk-MDFCBYEM.mjs';
1
+ import { isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-JHDAOYRQ.mjs';
2
+ import { cn } from './chunk-EBLFH3R2.mjs';
3
+ import './chunk-5IUEPQTK.mjs';
4
+ import './chunk-KMT3SLZC.mjs';
5
5
  import './chunk-XGB3TDIC.mjs';
6
6
  import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
7
7
  import { useTranslation } from 'react-i18next';
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import { mountModel3D } from './chunk-MDFCBYEM.mjs';
1
+ import { mountModel3D } from './chunk-KMT3SLZC.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 chunk4GX347MG_js = require('./chunk-4GX347MG.js');
3
+ var chunk2UVKMKRP_js = require('./chunk-2UVKMKRP.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 chunk4GX347MG_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
17
+ void chunk2UVKMKRP_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,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk4GX347MG_js = require('./chunk-4GX347MG.js');
3
+ var chunk2UVKMKRP_js = require('./chunk-2UVKMKRP.js');
4
4
  require('./chunk-4VNS5WPM.js');
5
5
  var react = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
@@ -25,7 +25,7 @@ function SurfaceChart3DScene({
25
25
  return;
26
26
  }
27
27
  let disposed = false;
28
- void chunk4GX347MG_js.mountSurfaceChart3D(container, {
28
+ void chunk2UVKMKRP_js.mountSurfaceChart3D(container, {
29
29
  cols,
30
30
  rows,
31
31
  heightMap,
@@ -1,4 +1,4 @@
1
- import { mountSurfaceChart3D } from './chunk-MDFCBYEM.mjs';
1
+ import { mountSurfaceChart3D } from './chunk-KMT3SLZC.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
3
3
  import { useRef, useEffect } from 'react';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -103,7 +103,7 @@ declare class Observable<N> {
103
103
  destroy(): void;
104
104
  }
105
105
  //#endregion
106
- //#region ../../node_modules/.bun/y-protocols@1.0.7+253afa400b9c0a30/node_modules/y-protocols/awareness.d.ts
106
+ //#region ../../node_modules/.bun/y-protocols@1.0.7+48ebd0cf55a3d4ab/node_modules/y-protocols/awareness.d.ts
107
107
  /**
108
108
  * @typedef {Object} MetaClientState
109
109
  * @property {number} MetaClientState.clock
@@ -383,4 +383,4 @@ interface UsePresenterWindowResult {
383
383
  declare function usePresenterWindow(input: UsePresenterWindowInput): UsePresenterWindowResult;
384
384
  //#endregion
385
385
  export { usePresenceTracking as C, ThemeSwitchingResult as D, useYjsProvider as E, UseThemeSwitchingInput as O, UsePresenceTrackingResult as S, UseYjsProviderResult as T, UseCollaborativeHistoryResult as _, UsePresenterWindowResult as a, useCollaborativeState as b, usePresenterWindow as c, useFollowMode as d, UseBroadcastFollowerInput as f, UseCollaborativeHistoryInput as g, useYjsDocumentSync as h, UsePresenterWindowInput as i, useThemeSwitching as k, UseFollowModeInput as l, UseYjsDocumentSyncInput as m, loadAudienceContent as n, isAudienceTab as o, useBroadcastFollower as p, storeAudienceContent as r, parseAudienceNonce as s, clearAudienceContent as t, UseFollowModeResult as u, useCollaborativeHistory as v, UseYjsProviderInput as w, UsePresenceTrackingInput as x, UseCollaborativeStateInput as y };
386
- //# sourceMappingURL=audience-content-store-DaABTAcQ.d.ts.map
386
+ //# sourceMappingURL=audience-content-store-BvqKy7Hf.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"audience-content-store-DaABTAcQ.d.ts","names":[],"sources":["../src/viewer/hooks/useThemeSwitching.ts","../../../node_modules/.bun/lib0@0.2.117/node_modules/lib0/observable.d.ts","../../../node_modules/.bun/y-protocols@1.0.7+253afa400b9c0a30/node_modules/y-protocols/awareness.d.ts","../src/viewer/hooks/collaboration/useYjsProvider.ts","../src/viewer/hooks/collaboration/usePresenceTracking.ts","../src/viewer/hooks/collaboration/useCollaborativeState.ts","../src/viewer/hooks/collaboration/useCollaborativeHistory.ts","../src/viewer/hooks/collaboration/useYjsDocumentSync.ts","../src/viewer/hooks/collaboration/useBroadcastFollower.ts","../src/viewer/hooks/collaboration/useFollowMode.ts","../src/viewer/hooks/presentation-mode/usePresenterWindow.ts"],"x_google_ignoreList":[1,2],"mappings":";;;;;;;UAqBiB;;EAEhB,YAAY,UAAU;;EAEtB,MAAM;;EAEN,eAAe,SAAS;;EAExB,kBAAkB,QAAQ;;UAGV;;EAEhB,kBAAkB;;;;;EAMlB,iBAAiB,QAAQ,oBAAoB;;;;;EAM7C,iBACC,aAAa,sBACb,aAAa,qBACb,uBACI;;;;;EAML,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiCA,kBAAkB,OAAO,yBAAyB;;;;;;;;;cCrCrD,WAAW;;;;;EAKpB,YAAY,IAAI;;;;;EAKhB,GAAG,MAAM,GAAG,GAAG;;;;;EAKf,KAAK,MAAM,GAAG,GAAG;;;;;EAKjB,IAAI,MAAM,GAAG,GAAG;;;;;;;;;;EAUhB,KAAK,MAAM,GAAG,MAAM;EACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;cC3DS,kBAAkB;;;;EAI3B,YAAY,KAAK,EAAE;EACnB,KAAK,EAAE;;;;EAIP;;;;;EAKA,QAAQ;KACH;;;;;EAKL,MAAM,YAAY;EAClB;;;;EAIA;KACK;;;;;EAKL,cAAc;KACT;;;;;;EAML,mBAAmB,eAAe;;;;EAIlC,aAAa;KACR;;;KASG;EACR;;;;EAIA;;;;UC9Ba;;;;;;EAMhB,SAAS;;UAGO;;EAEhB,QAAQ;;EAER,WAAW;;EAEX,KAAK;;EAEL;;;;;;;;;EASA;;EAEA;;;;;;;;;;;;;iBAkBe,iBAAiB,UAAU,sBAAsB;;;UChFhD;EAChB,WAAW;EACX;EACA;EACA;EACA;;EAEA;EACA;EACA;;UAGgB;;EAEhB,aAAa;;EAEb,oBAAoB,QAAQ,QAAQ,KAAK;;iBAO1B,sBACf,WACA,eACA,UACA,WACA,YACA,MACA,aACA,gBACE,2BAA2B;;;UC3Bb;;;;;;;EAOhB,SAAS;EACT;EACA;;iBAOe,wBACf,QACA,aACA,gBACE,6BAA6B;;;UCvBf;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;UAGgB;;EAEhB;;EAEA;;EAEA;;EAEA;;iBAOe,0BACf,eAAe,gBACf,YACA,YACA,SACA,WACE,+BAA+B;;;UC1BjB;;EAEhB,KAAK;;EAEL,QAAQ;;EAER,2BAA2B,eAAe;;EAE1C,WAAW,MAAM,SAAS,MAAM,eAAe;;EAE/C;;;;;;;EAOA;;EAEA,SAAS,KAAK;;;;;EAKd,uBAAuB;;;;;;;;EAQvB;;iBAGe,qBACf,KACA,QACA,2BACA,WACA,aACA,UACA,QACA,gBACA,eACE;;;UCtDc;;EAEhB,QAAQ;;EAER;;EAEA,sBAAsB;;EAEtB;;;;;EAKA;;iBAOe,uBACf,QACA,kBACA,qBACA,YACA,UACE;;;UCzBc;;EAEhB,QAAQ;;EAER;;EAEA,sBAAsB;;EAEtB;;UAGgB;;EAEhB;;EAEA,aAAa;;iBAOE,gBACf,QACA,kBACA,qBACA,cACE,qBAAqB;;;;;;;iBCgBR;;iBAkDA;UAQC;EAChB;EACA;;EAEA,UAAU,cAAc;EACxB,UAAU;;UAGM;EAChB;EACA;EACA;EACA,sBAAsB;EACtB,sBAAsB,UAAU;EAChC,oBAAoB;;iBAOL,mBAAmB,OAAO,0BAA0B"}
1
+ {"version":3,"file":"audience-content-store-BvqKy7Hf.d.ts","names":[],"sources":["../src/viewer/hooks/useThemeSwitching.ts","../../../node_modules/.bun/lib0@0.2.117/node_modules/lib0/observable.d.ts","../../../node_modules/.bun/y-protocols@1.0.7+48ebd0cf55a3d4ab/node_modules/y-protocols/awareness.d.ts","../src/viewer/hooks/collaboration/useYjsProvider.ts","../src/viewer/hooks/collaboration/usePresenceTracking.ts","../src/viewer/hooks/collaboration/useCollaborativeState.ts","../src/viewer/hooks/collaboration/useCollaborativeHistory.ts","../src/viewer/hooks/collaboration/useYjsDocumentSync.ts","../src/viewer/hooks/collaboration/useBroadcastFollower.ts","../src/viewer/hooks/collaboration/useFollowMode.ts","../src/viewer/hooks/presentation-mode/usePresenterWindow.ts"],"x_google_ignoreList":[1,2],"mappings":";;;;;;;UAqBiB;;EAEhB,YAAY,UAAU;;EAEtB,MAAM;;EAEN,eAAe,SAAS;;EAExB,kBAAkB,QAAQ;;UAGV;;EAEhB,kBAAkB;;;;;EAMlB,iBAAiB,QAAQ,oBAAoB;;;;;EAM7C,iBACC,aAAa,sBACb,aAAa,qBACb,uBACI;;;;;EAML,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiCA,kBAAkB,OAAO,yBAAyB;;;;;;;;;cCrCrD,WAAW;;;;;EAKpB,YAAY,IAAI;;;;;EAKhB,GAAG,MAAM,GAAG,GAAG;;;;;EAKf,KAAK,MAAM,GAAG,GAAG;;;;;EAKjB,IAAI,MAAM,GAAG,GAAG;;;;;;;;;;EAUhB,KAAK,MAAM,GAAG,MAAM;EACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;cC3DS,kBAAkB;;;;EAI3B,YAAY,KAAK,EAAE;EACnB,KAAK,EAAE;;;;EAIP;;;;;EAKA,QAAQ;KACH;;;;;EAKL,MAAM,YAAY;EAClB;;;;EAIA;KACK;;;;;EAKL,cAAc;KACT;;;;;;EAML,mBAAmB,eAAe;;;;EAIlC,aAAa;KACR;;;KASG;EACR;;;;EAIA;;;;UC9Ba;;;;;;EAMhB,SAAS;;UAGO;;EAEhB,QAAQ;;EAER,WAAW;;EAEX,KAAK;;EAEL;;;;;;;;;EASA;;EAEA;;;;;;;;;;;;;iBAkBe,iBAAiB,UAAU,sBAAsB;;;UChFhD;EAChB,WAAW;EACX;EACA;EACA;EACA;;EAEA;EACA;EACA;;UAGgB;;EAEhB,aAAa;;EAEb,oBAAoB,QAAQ,QAAQ,KAAK;;iBAO1B,sBACf,WACA,eACA,UACA,WACA,YACA,MACA,aACA,gBACE,2BAA2B;;;UC3Bb;;;;;;;EAOhB,SAAS;EACT;EACA;;iBAOe,wBACf,QACA,aACA,gBACE,6BAA6B;;;UCvBf;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;UAGgB;;EAEhB;;EAEA;;EAEA;;EAEA;;iBAOe,0BACf,eAAe,gBACf,YACA,YACA,SACA,WACE,+BAA+B;;;UC1BjB;;EAEhB,KAAK;;EAEL,QAAQ;;EAER,2BAA2B,eAAe;;EAE1C,WAAW,MAAM,SAAS,MAAM,eAAe;;EAE/C;;;;;;;EAOA;;EAEA,SAAS,KAAK;;;;;EAKd,uBAAuB;;;;;;;;EAQvB;;iBAGe,qBACf,KACA,QACA,2BACA,WACA,aACA,UACA,QACA,gBACA,eACE;;;UCtDc;;EAEhB,QAAQ;;EAER;;EAEA,sBAAsB;;EAEtB;;;;;EAKA;;iBAOe,uBACf,QACA,kBACA,qBACA,YACA,UACE;;;UCzBc;;EAEhB,QAAQ;;EAER;;EAEA,sBAAsB;;EAEtB;;UAGgB;;EAEhB;;EAEA,aAAa;;iBAOE,gBACf,QACA,kBACA,qBACA,cACE,qBAAqB;;;;;;;iBCgBR;;iBAkDA;UAQC;EAChB;EACA;;EAEA,UAAU,cAAc;EACxB,UAAU;;UAGM;EAChB;EACA;EACA;EACA,sBAAsB;EACtB,sBAAsB,UAAU;EAChC,oBAAoB;;iBAOL,mBAAmB,OAAO,0BAA0B"}
@@ -8520,20 +8520,18 @@ function createTableElement(input, options) {
8520
8520
  }
8521
8521
  const rows = input.rows.map((rowInput) => ({
8522
8522
  height: rowInput.height ?? rowHeight,
8523
- cells: rowInput.cells.map(
8524
- (cellInput) => ({
8525
- text: cellInput.text,
8526
- gridSpan: cellInput.gridSpan,
8527
- rowSpan: cellInput.rowSpan,
8528
- style: cellInput.style ? {
8529
- fontSize: cellInput.style.fontSize,
8530
- bold: cellInput.style.bold,
8531
- italic: cellInput.style.italic,
8532
- color: cellInput.style.color,
8533
- align: cellInput.style.alignment
8534
- } : void 0
8535
- })
8536
- )
8523
+ cells: rowInput.cells.map((cellInput) => ({
8524
+ text: cellInput.text,
8525
+ gridSpan: cellInput.gridSpan,
8526
+ rowSpan: cellInput.rowSpan,
8527
+ style: cellInput.style ? {
8528
+ fontSize: cellInput.style.fontSize,
8529
+ bold: cellInput.style.bold,
8530
+ italic: cellInput.style.italic,
8531
+ color: cellInput.style.color,
8532
+ align: cellInput.style.alignment
8533
+ } : void 0
8534
+ }))
8537
8535
  }));
8538
8536
  const tableData = {
8539
8537
  rows,
@@ -42502,17 +42500,13 @@ function remapCellStyleColors(style, remap) {
42502
42500
  function remapTableColors(tableData, remap) {
42503
42501
  return {
42504
42502
  ...tableData,
42505
- rows: tableData.rows.map(
42506
- (row) => ({
42507
- ...row,
42508
- cells: row.cells.map(
42509
- (cell) => ({
42510
- ...cell,
42511
- style: remapCellStyleColors(cell.style, remap)
42512
- })
42513
- )
42514
- })
42515
- )
42503
+ rows: tableData.rows.map((row) => ({
42504
+ ...row,
42505
+ cells: row.cells.map((cell) => ({
42506
+ ...cell,
42507
+ style: remapCellStyleColors(cell.style, remap)
42508
+ }))
42509
+ }))
42516
42510
  };
42517
42511
  }
42518
42512
  function remapSlideColors(slide, remap) {
@@ -42979,9 +42973,10 @@ function parseWhen(node) {
42979
42973
  } : void 0;
42980
42974
  }
42981
42975
  function parseSmartArtControlFlow(node, localName22) {
42982
- const forEach = children5(node, "forEach", localName22).map(
42983
- (entry2) => ({ ...parseIterator(entry2), rawXml: entry2 })
42984
- );
42976
+ const forEach = children5(node, "forEach", localName22).map((entry2) => ({
42977
+ ...parseIterator(entry2),
42978
+ rawXml: entry2
42979
+ }));
42985
42980
  const choose = children5(node, "choose", localName22).map((entry2) => {
42986
42981
  const otherwiseNode = children5(entry2, "else", localName22)[0];
42987
42982
  return {
@@ -102266,27 +102261,24 @@ function newTableElement(rows = 3, cols = 3, x = DEFAULT_X, y = TABLE_DEFAULT_Y)
102266
102261
  const columnWidths = Array.from({ length: cols }).fill(colWidth);
102267
102262
  const tableRows = Array.from({ length: rows }, (_, rowIdx) => {
102268
102263
  const isHeader = rowIdx === 0;
102269
- const cells = Array.from(
102270
- { length: cols },
102271
- (__, colIdx) => ({
102272
- text: isHeader ? `Header ${colIdx + 1}` : "",
102273
- style: {
102274
- borderTopWidth: 1,
102275
- borderBottomWidth: 1,
102276
- borderLeftWidth: 1,
102277
- borderRightWidth: 1,
102278
- borderTopColor: "#cccccc",
102279
- borderBottomColor: "#cccccc",
102280
- borderLeftColor: "#cccccc",
102281
- borderRightColor: "#cccccc",
102282
- ...isHeader ? {
102283
- bold: true,
102284
- backgroundColor: "#2563eb",
102285
- color: "#ffffff"
102286
- } : {}
102287
- }
102288
- })
102289
- );
102264
+ const cells = Array.from({ length: cols }, (__, colIdx) => ({
102265
+ text: isHeader ? `Header ${colIdx + 1}` : "",
102266
+ style: {
102267
+ borderTopWidth: 1,
102268
+ borderBottomWidth: 1,
102269
+ borderLeftWidth: 1,
102270
+ borderRightWidth: 1,
102271
+ borderTopColor: "#cccccc",
102272
+ borderBottomColor: "#cccccc",
102273
+ borderLeftColor: "#cccccc",
102274
+ borderRightColor: "#cccccc",
102275
+ ...isHeader ? {
102276
+ bold: true,
102277
+ backgroundColor: "#2563eb",
102278
+ color: "#ffffff"
102279
+ } : {}
102280
+ }
102281
+ }));
102290
102282
  return { cells, height: isHeader ? 40 : 36 };
102291
102283
  });
102292
102284
  return {
@@ -103825,6 +103817,7 @@ var translationsEn = {
103825
103817
  "pptx.inspector.lock": "Lock",
103826
103818
  "pptx.inspector.unlock": "Unlock",
103827
103819
  // Slide master / handout master / notes master
103820
+ "pptx.master.backgroundColorLabel": "Master background color",
103828
103821
  "pptx.master.collapseMasterPane": "Collapse pane",
103829
103822
  "pptx.master.handoutBackground": "Background",
103830
103823
  "pptx.master.handoutMasterTitle": "Handout Master",
Binary file
Binary file
@@ -1334,6 +1334,7 @@ var translationsEn = {
1334
1334
  "pptx.inspector.lock": "Lock",
1335
1335
  "pptx.inspector.unlock": "Unlock",
1336
1336
  // Slide master / handout master / notes master
1337
+ "pptx.master.backgroundColorLabel": "Master background color",
1337
1338
  "pptx.master.collapseMasterPane": "Collapse pane",
1338
1339
  "pptx.master.handoutBackground": "Background",
1339
1340
  "pptx.master.handoutMasterTitle": "Handout Master",
Binary file
Binary file
@@ -1336,6 +1336,7 @@ var translationsEn = {
1336
1336
  "pptx.inspector.lock": "Lock",
1337
1337
  "pptx.inspector.unlock": "Unlock",
1338
1338
  // Slide master / handout master / notes master
1339
+ "pptx.master.backgroundColorLabel": "Master background color",
1339
1340
  "pptx.master.collapseMasterPane": "Collapse pane",
1340
1341
  "pptx.master.handoutBackground": "Background",
1341
1342
  "pptx.master.handoutMasterTitle": "Handout Master",
Binary file
Binary file
@@ -2054,7 +2054,7 @@ var iteratorMap = (iterator, fmap) => createIterator(() => {
2054
2054
  return { done, value: done ? void 0 : fmap(value) };
2055
2055
  });
2056
2056
 
2057
- // ../../node_modules/.bun/yjs@13.6.31/node_modules/yjs/dist/yjs.mjs
2057
+ // ../../node_modules/.bun/yjs@13.6.32/node_modules/yjs/dist/yjs.mjs
2058
2058
  var AbstractConnector = class extends ObservableV2 {
2059
2059
  /**
2060
2060
  * @param {Doc} ydoc
@@ -4364,10 +4364,9 @@ var UndoManager = class extends ObservableV2 {
4364
4364
  this.emit("stack-item-updated", changeEvent);
4365
4365
  }
4366
4366
  };
4367
+ this.destroy = this.destroy.bind(this);
4367
4368
  this.doc.on("afterTransaction", this.afterTransactionHandler);
4368
- this.doc.on("destroy", () => {
4369
- this.destroy();
4370
- });
4369
+ this.doc.on("destroy", this.destroy);
4371
4370
  }
4372
4371
  /**
4373
4372
  * Extend the scope.
@@ -4484,6 +4483,7 @@ var UndoManager = class extends ObservableV2 {
4484
4483
  destroy() {
4485
4484
  this.trackedOrigins.delete(this);
4486
4485
  this.doc.off("afterTransaction", this.afterTransactionHandler);
4486
+ this.doc.off("destroy", this.destroy);
4487
4487
  super.destroy();
4488
4488
  }
4489
4489
  };
Binary file
@@ -1,5 +1,5 @@
1
- import { translationsEn } from './chunk-5YV26HMJ.mjs';
2
- import { SHAPE_PRESET_DEFS, computeValueRangeForChart, VIEWER_SHORTCUT_REFERENCE, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, isTemplateElement, getImageFitStyle, isImageLikeElement, runMediaCommand, findMediaElementByElementId, mediaPlaybackAttributes, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, getKinsokuLineBreakStyles, buildTextBody3DSceneStyle, resolveParagraphRtl, resolveParagraphAlign, resolveCssTextAlign, resolveParagraphStrutFontSize, colorWithOpacity, normalizeHexColor, build3DExtrusionData, isIdentityRectClip, getResolvedShapeClipPath, isStrokeOnlyPresetElement, normalizeStrokeDashType, buildCssGradientFromShapeStyle, buildShadowCssFromShapeStyle, buildInnerShadowCssFromShapeStyle, suppressesCssBorder, buildMultiLayerShadowCss, buildGlowBoxShadow, getCompoundLineBoxShadow, getSoftEdgeFilterId, getEffectDagFilter, buildPatternFillCss, buildReflectionCss, getCssBorderDashStyle, getCompoundLineBorderWidth, getSvgStrokeDasharray, buildSvgGradientDef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, DEFAULT_FONT_FAMILY, rectToCells, isCellInRect, buildChartViewModel, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, buildMotionPathPreview, getRoundRectRadiusPx2, mediaFallbackVisual, registerPersistentAudio, proportionalLineHeight, substituteFieldText, resolveUnderlineDecorationStyle, resolveAutoFitFontScale, getSubstituteFontFamily, parsePanoseString, hasDistinctScriptFonts, pieceLetterSpacing, resolveMetricTrackingPx, buildTextReflectionCss, getTextAlphaOpacity, buildTextRunFilterChain, buildTextShadowCss, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, sanitizeGradientStops, getGradientTileFlipCss, getGradientTileRectCss, apply3dEffects, clampUnitInterval, customGeometryPathsToSvgSubpaths, svgGradientFillRef, computeColumnBoundaries, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, getPatternSvg, ooxmlDashToCssBorderStyle, cell3DBevelCss, getChartStylePalette, chartAreaFill, computeLayout, valueToY, formatAxisValue, computeLayoutOptions, splitSeriesByAxis, computeValueRange, getSecondaryValueAxis, seriesColor, paletteColor, resolveRegionCode, normalizeValue, sequentialColorScale, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, buildTextFillCss, resolvePictureBullet, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, resolveFontRefIdx, tintColor2, shadeColor2, ooxmlGradientAngleToCssDegrees, generateLogTicks, formatAxisValueWithUnits, getDisplayUnitLabel, splitRunForMetrics, hexToRgbChannels, chartPartToAttrs, segmentByScript, resolveFontForScript } from './chunk-MDFCBYEM.mjs';
1
+ import { translationsEn } from './chunk-5IUEPQTK.mjs';
2
+ import { SHAPE_PRESET_DEFS, computeValueRangeForChart, VIEWER_SHORTCUT_REFERENCE, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, isTemplateElement, getImageFitStyle, isImageLikeElement, runMediaCommand, findMediaElementByElementId, mediaPlaybackAttributes, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, getKinsokuLineBreakStyles, buildTextBody3DSceneStyle, resolveParagraphRtl, resolveParagraphAlign, resolveCssTextAlign, resolveParagraphStrutFontSize, colorWithOpacity, normalizeHexColor, build3DExtrusionData, isIdentityRectClip, getResolvedShapeClipPath, isStrokeOnlyPresetElement, normalizeStrokeDashType, buildCssGradientFromShapeStyle, buildShadowCssFromShapeStyle, buildInnerShadowCssFromShapeStyle, suppressesCssBorder, buildMultiLayerShadowCss, buildGlowBoxShadow, getCompoundLineBoxShadow, getSoftEdgeFilterId, getEffectDagFilter, buildPatternFillCss, buildReflectionCss, getCssBorderDashStyle, getCompoundLineBorderWidth, getSvgStrokeDasharray, buildSvgGradientDef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, DEFAULT_FONT_FAMILY, rectToCells, isCellInRect, buildChartViewModel, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, buildMotionPathPreview, getRoundRectRadiusPx2, mediaFallbackVisual, registerPersistentAudio, proportionalLineHeight, substituteFieldText, resolveUnderlineDecorationStyle, resolveAutoFitFontScale, getSubstituteFontFamily, parsePanoseString, hasDistinctScriptFonts, pieceLetterSpacing, resolveMetricTrackingPx, buildTextReflectionCss, getTextAlphaOpacity, buildTextRunFilterChain, buildTextShadowCss, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, sanitizeGradientStops, getGradientTileFlipCss, getGradientTileRectCss, apply3dEffects, clampUnitInterval, customGeometryPathsToSvgSubpaths, svgGradientFillRef, computeColumnBoundaries, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, getPatternSvg, ooxmlDashToCssBorderStyle, cell3DBevelCss, getChartStylePalette, chartAreaFill, computeLayout, valueToY, formatAxisValue, computeLayoutOptions, splitSeriesByAxis, computeValueRange, getSecondaryValueAxis, seriesColor, paletteColor, resolveRegionCode, normalizeValue, sequentialColorScale, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, buildTextFillCss, resolvePictureBullet, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, resolveFontRefIdx, tintColor2, shadeColor2, ooxmlGradientAngleToCssDegrees, generateLogTicks, formatAxisValueWithUnits, getDisplayUnitLabel, splitRunForMetrics, hexToRgbChannels, chartPartToAttrs, segmentByScript, resolveFontForScript } from './chunk-KMT3SLZC.mjs';
3
3
  import { clsx } from 'clsx';
4
4
  import { twMerge } from 'tailwind-merge';
5
5
  import React6, { useState, useEffect, useMemo, Suspense, useRef, useCallback, useLayoutEffect } from 'react';
@@ -6181,7 +6181,7 @@ function FailedToLoad() {
6181
6181
  var LazySurfaceChart3DScene = React6.lazy(
6182
6182
  async () => {
6183
6183
  try {
6184
- return await import('./SurfaceChart3DScene-MODEHQ6G.mjs');
6184
+ return await import('./SurfaceChart3DScene-L7YPNZ7X.mjs');
6185
6185
  } catch {
6186
6186
  return { default: FailedToLoad };
6187
6187
  }
Binary file
Binary file