pptx-react-viewer 4.2.0 → 4.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.
Files changed (136) hide show
  1. package/CHANGELOG.md +138 -0
  2. package/dist/{AiChatPanel-SEIRQ3XP.mjs → AiChatPanel-QJHUDIWT.mjs} +4 -4
  3. package/dist/AiChatPanel-QJHUDIWT.mjs.br +0 -0
  4. package/dist/AiChatPanel-QJHUDIWT.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-VVTLQXQ5.js → AiChatPanel-UFMSTNCB.js} +28 -28
  6. package/dist/AiChatPanel-UFMSTNCB.js.br +0 -0
  7. package/dist/AiChatPanel-UFMSTNCB.js.gz +0 -0
  8. package/dist/{Model3DScene-DCTVSK2F.mjs → Model3DScene-3GOC5HUS.mjs} +1 -1
  9. package/dist/Model3DScene-3GOC5HUS.mjs.br +0 -0
  10. package/dist/Model3DScene-3GOC5HUS.mjs.gz +0 -0
  11. package/dist/{Model3DScene-SCWQXMEA.js → Model3DScene-KXNJBAQD.js} +2 -2
  12. package/dist/Model3DScene-KXNJBAQD.js.br +0 -0
  13. package/dist/Model3DScene-KXNJBAQD.js.gz +0 -0
  14. package/dist/{chunk-S65QSO6T.js → chunk-7WWINBGF.js} +17172 -8075
  15. package/dist/chunk-7WWINBGF.js.br +0 -0
  16. package/dist/chunk-7WWINBGF.js.gz +0 -0
  17. package/dist/{chunk-KTSDPBQZ.js → chunk-AI6K5EAE.js} +1270 -1079
  18. package/dist/chunk-AI6K5EAE.js.br +0 -0
  19. package/dist/chunk-AI6K5EAE.js.gz +0 -0
  20. package/dist/{chunk-3WYNGYB6.js → chunk-CSY422LU.js} +5 -5
  21. package/dist/chunk-CSY422LU.js.br +0 -0
  22. package/dist/chunk-CSY422LU.js.gz +0 -0
  23. package/dist/{chunk-VPJOJJ36.mjs → chunk-D3TZOCQP.mjs} +17139 -8067
  24. package/dist/chunk-D3TZOCQP.mjs.br +0 -0
  25. package/dist/chunk-D3TZOCQP.mjs.gz +0 -0
  26. package/dist/{chunk-NXGUR2DO.js → chunk-I4D6JQOI.js} +27 -2
  27. package/dist/chunk-I4D6JQOI.js.br +0 -0
  28. package/dist/chunk-I4D6JQOI.js.gz +0 -0
  29. package/dist/{chunk-PC7H3C5W.mjs → chunk-JQXN6PO7.mjs} +27 -2
  30. package/dist/chunk-JQXN6PO7.mjs.br +0 -0
  31. package/dist/chunk-JQXN6PO7.mjs.gz +0 -0
  32. package/dist/{chunk-ZYIJODUR.mjs → chunk-LUHUYBGW.mjs} +211 -20
  33. package/dist/chunk-LUHUYBGW.mjs.br +0 -0
  34. package/dist/chunk-LUHUYBGW.mjs.gz +0 -0
  35. package/dist/{chunk-5MRNT4V6.js → chunk-OWTHF5N4.js} +209 -187
  36. package/dist/chunk-OWTHF5N4.js.br +0 -0
  37. package/dist/chunk-OWTHF5N4.js.gz +0 -0
  38. package/dist/{chunk-4GTDG2FH.mjs → chunk-WCHKDZP6.mjs} +660 -197
  39. package/dist/chunk-WCHKDZP6.mjs.br +0 -0
  40. package/dist/chunk-WCHKDZP6.mjs.gz +0 -0
  41. package/dist/{chunk-B5YZABYX.mjs → chunk-WNFHFFYE.mjs} +32 -10
  42. package/dist/chunk-WNFHFFYE.mjs.br +0 -0
  43. package/dist/chunk-WNFHFFYE.mjs.gz +0 -0
  44. package/dist/{chunk-L4XBWL7J.mjs → chunk-XMKLY2SE.mjs} +1 -1
  45. package/dist/chunk-XMKLY2SE.mjs.br +0 -0
  46. package/dist/chunk-XMKLY2SE.mjs.gz +0 -0
  47. package/dist/{chunk-P2SBIMYF.js → chunk-YJKR7Z3X.js} +2161 -1698
  48. package/dist/chunk-YJKR7Z3X.js.br +0 -0
  49. package/dist/chunk-YJKR7Z3X.js.gz +0 -0
  50. package/dist/i18n/de.cjs +25 -2
  51. package/dist/i18n/de.cjs.br +0 -0
  52. package/dist/i18n/de.cjs.gz +0 -0
  53. package/dist/i18n/de.mjs +25 -2
  54. package/dist/i18n/de.mjs.br +0 -0
  55. package/dist/i18n/de.mjs.gz +0 -0
  56. package/dist/i18n/es.cjs +25 -2
  57. package/dist/i18n/es.cjs.br +0 -0
  58. package/dist/i18n/es.cjs.gz +0 -0
  59. package/dist/i18n/es.mjs +25 -2
  60. package/dist/i18n/es.mjs.br +0 -0
  61. package/dist/i18n/es.mjs.gz +0 -0
  62. package/dist/i18n/fr.cjs +25 -2
  63. package/dist/i18n/fr.cjs.br +0 -0
  64. package/dist/i18n/fr.cjs.gz +0 -0
  65. package/dist/i18n/fr.mjs +25 -2
  66. package/dist/i18n/fr.mjs.br +0 -0
  67. package/dist/i18n/fr.mjs.gz +0 -0
  68. package/dist/i18n/zh-CN.cjs +25 -2
  69. package/dist/i18n/zh-CN.cjs.br +0 -0
  70. package/dist/i18n/zh-CN.cjs.gz +0 -0
  71. package/dist/i18n/zh-CN.mjs +25 -2
  72. package/dist/i18n/zh-CN.mjs.br +0 -0
  73. package/dist/i18n/zh-CN.mjs.gz +0 -0
  74. package/dist/i18n.js +4 -4
  75. package/dist/i18n.js.br +0 -0
  76. package/dist/i18n.js.gz +0 -0
  77. package/dist/i18n.mjs +1 -1
  78. package/dist/i18n.mjs.br +0 -0
  79. package/dist/i18n.mjs.gz +0 -0
  80. package/dist/index.d.ts +311 -6
  81. package/dist/index.js +49 -49
  82. package/dist/index.js.br +0 -0
  83. package/dist/index.js.gz +0 -0
  84. package/dist/index.mjs +6 -6
  85. package/dist/index.mjs.br +0 -0
  86. package/dist/index.mjs.gz +0 -0
  87. package/dist/internals.d.ts +461 -42
  88. package/dist/internals.js +105 -105
  89. package/dist/internals.js.br +0 -0
  90. package/dist/internals.js.gz +0 -0
  91. package/dist/internals.mjs +4 -4
  92. package/dist/internals.mjs.br +0 -0
  93. package/dist/internals.mjs.gz +0 -0
  94. package/dist/pptx-viewer.css +1 -1
  95. package/dist/pptx-viewer.css.br +0 -0
  96. package/dist/pptx-viewer.css.gz +0 -0
  97. package/dist/viewer/index.d.ts +274 -4
  98. package/dist/viewer/index.js +27 -27
  99. package/dist/viewer/index.js.br +0 -0
  100. package/dist/viewer/index.js.gz +0 -0
  101. package/dist/viewer/index.mjs +6 -6
  102. package/dist/viewer/index.mjs.br +0 -0
  103. package/dist/viewer/index.mjs.gz +0 -0
  104. package/package.json +1 -1
  105. package/dist/AiChatPanel-SEIRQ3XP.mjs.br +0 -0
  106. package/dist/AiChatPanel-SEIRQ3XP.mjs.gz +0 -0
  107. package/dist/AiChatPanel-VVTLQXQ5.js.br +0 -0
  108. package/dist/AiChatPanel-VVTLQXQ5.js.gz +0 -0
  109. package/dist/Model3DScene-DCTVSK2F.mjs.br +0 -0
  110. package/dist/Model3DScene-DCTVSK2F.mjs.gz +0 -0
  111. package/dist/Model3DScene-SCWQXMEA.js.br +0 -0
  112. package/dist/Model3DScene-SCWQXMEA.js.gz +0 -0
  113. package/dist/chunk-3WYNGYB6.js.br +0 -0
  114. package/dist/chunk-3WYNGYB6.js.gz +0 -0
  115. package/dist/chunk-4GTDG2FH.mjs.br +0 -0
  116. package/dist/chunk-4GTDG2FH.mjs.gz +0 -0
  117. package/dist/chunk-5MRNT4V6.js.br +0 -0
  118. package/dist/chunk-5MRNT4V6.js.gz +0 -0
  119. package/dist/chunk-B5YZABYX.mjs.br +0 -0
  120. package/dist/chunk-B5YZABYX.mjs.gz +0 -0
  121. package/dist/chunk-KTSDPBQZ.js.br +0 -0
  122. package/dist/chunk-KTSDPBQZ.js.gz +0 -0
  123. package/dist/chunk-L4XBWL7J.mjs.br +0 -0
  124. package/dist/chunk-L4XBWL7J.mjs.gz +0 -0
  125. package/dist/chunk-NXGUR2DO.js.br +0 -0
  126. package/dist/chunk-NXGUR2DO.js.gz +0 -0
  127. package/dist/chunk-P2SBIMYF.js.br +0 -0
  128. package/dist/chunk-P2SBIMYF.js.gz +0 -0
  129. package/dist/chunk-PC7H3C5W.mjs.br +0 -0
  130. package/dist/chunk-PC7H3C5W.mjs.gz +0 -0
  131. package/dist/chunk-S65QSO6T.js.br +0 -0
  132. package/dist/chunk-S65QSO6T.js.gz +0 -0
  133. package/dist/chunk-VPJOJJ36.mjs.br +0 -0
  134. package/dist/chunk-VPJOJJ36.mjs.gz +0 -0
  135. package/dist/chunk-ZYIJODUR.mjs.br +0 -0
  136. package/dist/chunk-ZYIJODUR.mjs.gz +0 -0
Binary file
Binary file
@@ -45,7 +45,7 @@ var animationPresetTranslationsEn = {
45
45
  "pptx.animation.catalogPreset.entr27": "Credits",
46
46
  "pptx.animation.catalogPreset.entr28": "Float Up",
47
47
  "pptx.animation.catalogPreset.entr29": "Pinwheel",
48
- "pptx.animation.catalogPreset.entr30": "Spinner",
48
+ "pptx.animation.catalogPreset.entr30": "Float In",
49
49
  "pptx.animation.catalogPreset.entr31": "Expand",
50
50
  "pptx.animation.catalogPreset.entr32": "Whip",
51
51
  "pptx.animation.catalogPreset.entr33": "Arrive",
@@ -114,7 +114,7 @@ var animationPresetTranslationsEn = {
114
114
  "pptx.animation.catalogPreset.exit27": "Credits",
115
115
  "pptx.animation.catalogPreset.exit28": "Float Down",
116
116
  "pptx.animation.catalogPreset.exit29": "Pinwheel",
117
- "pptx.animation.catalogPreset.exit30": "Spinner",
117
+ "pptx.animation.catalogPreset.exit30": "Float Out",
118
118
  "pptx.animation.catalogPreset.exit31": "Contract",
119
119
  "pptx.animation.catalogPreset.exit32": "Whip",
120
120
  "pptx.animation.catalogPreset.exit33": "Leave",
@@ -1212,6 +1212,7 @@ var translationsEn = {
1212
1212
  "pptx.media.startAutomatically": "Automatically",
1213
1213
  "pptx.media.playAcrossSlides": "Play across slides",
1214
1214
  "pptx.media.fullScreen": "Full screen",
1215
+ "pptx.media.onlineVideoTitle": "Online video",
1215
1216
  "pptx.media.hideWhenNotPlaying": "Hide when not playing",
1216
1217
  "pptx.media.bookmarks": "Bookmarks",
1217
1218
  "pptx.media.bookmark": "Bookmark",
@@ -1287,6 +1288,12 @@ var translationsEn = {
1287
1288
  "pptx.compare.noDifferences": "No differences",
1288
1289
  "pptx.compare.summary": "{{added}} added, {{removed}} removed, {{changed}} changed",
1289
1290
  "pptx.compare.title": "Compare",
1291
+ // Canvas context menu (empty slide right-click)
1292
+ "pptx.canvasContextMenu.formatBackground": "Format Background...",
1293
+ "pptx.canvasContextMenu.gridAndGuides": "Grid and Guides",
1294
+ "pptx.canvasContextMenu.layout": "Layout",
1295
+ "pptx.canvasContextMenu.resetSlide": "Reset Slide",
1296
+ "pptx.canvasContextMenu.ruler": "Ruler",
1290
1297
  // Context menu
1291
1298
  "pptx.contextMenu.addComment": "Add Comment",
1292
1299
  "pptx.contextMenu.bringForward": "Bring Forward",
@@ -1297,7 +1304,10 @@ var translationsEn = {
1297
1304
  "pptx.contextMenu.deleteColumn": "Delete Column",
1298
1305
  "pptx.contextMenu.deleteRow": "Delete Row",
1299
1306
  "pptx.contextMenu.duplicate": "Duplicate",
1307
+ "pptx.contextMenu.editAltText": "Edit Alt Text...",
1300
1308
  "pptx.contextMenu.editHyperlink": "Edit Hyperlink",
1309
+ "pptx.contextMenu.editText": "Edit Text",
1310
+ "pptx.contextMenu.formatShape": "Format Shape...",
1301
1311
  "pptx.contextMenu.group": "Group",
1302
1312
  "pptx.contextMenu.insertColumnLeft": "Insert Column Left",
1303
1313
  "pptx.contextMenu.insertColumnRight": "Insert Column Right",
@@ -1306,10 +1316,19 @@ var translationsEn = {
1306
1316
  "pptx.contextMenu.mergeCells": "Merge Right",
1307
1317
  "pptx.contextMenu.mergeSelectedCells": "Merge Selected Cells",
1308
1318
  "pptx.contextMenu.paste": "Paste",
1319
+ "pptx.contextMenu.saveAsPicture": "Save as Picture...",
1309
1320
  "pptx.contextMenu.sendBackward": "Send Backward",
1310
1321
  "pptx.contextMenu.sendToBack": "Send to Back",
1322
+ "pptx.contextMenu.sizeAndPosition": "Size and Position...",
1311
1323
  "pptx.contextMenu.splitCell": "Split Cell",
1312
1324
  "pptx.contextMenu.ungroup": "Ungroup",
1325
+ // Paste Special (Ctrl+Alt+V) and the post-paste Paste Options toolbar
1326
+ "pptx.pasteSpecial.dialogTitle": "Paste Special",
1327
+ "pptx.pasteSpecial.keepSourceFormatting": "Keep Source Formatting",
1328
+ "pptx.pasteSpecial.keepTextOnly": "Keep Text Only",
1329
+ "pptx.pasteSpecial.optionsLabel": "Paste Options",
1330
+ "pptx.pasteSpecial.picture": "Picture",
1331
+ "pptx.pasteSpecial.useDestinationTheme": "Use Destination Theme",
1313
1332
  // Digital signatures (additions)
1314
1333
  "pptx.digitalSignatures.badge": "Signed",
1315
1334
  "pptx.digitalSignatures.editWarning": "Editing this presentation will invalidate its digital signatures.",
@@ -1656,6 +1675,12 @@ var translationsEn = {
1656
1675
  "pptx.transition.morphOption.byObject": "By Object",
1657
1676
  "pptx.transition.morphOption.byWord": "By Word",
1658
1677
  "pptx.transition.morphOption.byChar": "By Character",
1678
+ "pptx.transition.pattern": "Pattern",
1679
+ "pptx.transition.pattern.diamond": "Diamond",
1680
+ "pptx.transition.pattern.hexagon": "Hexagon",
1681
+ "pptx.transition.pattern.strip": "Strips",
1682
+ "pptx.transition.pattern.rectangle": "Rectangles",
1683
+ "pptx.transition.thruBlk": "Through black",
1659
1684
  // Context menu / editor toolbar (Angular/Vue-specific additions)
1660
1685
  "pptx.contextMenu.ariaLabel": "Context menu",
1661
1686
  "pptx.editorToolbar.ariaLabel": "Editor toolbar",
Binary file
Binary file
@@ -43,7 +43,7 @@ var animationPresetTranslationsEn = {
43
43
  "pptx.animation.catalogPreset.entr27": "Credits",
44
44
  "pptx.animation.catalogPreset.entr28": "Float Up",
45
45
  "pptx.animation.catalogPreset.entr29": "Pinwheel",
46
- "pptx.animation.catalogPreset.entr30": "Spinner",
46
+ "pptx.animation.catalogPreset.entr30": "Float In",
47
47
  "pptx.animation.catalogPreset.entr31": "Expand",
48
48
  "pptx.animation.catalogPreset.entr32": "Whip",
49
49
  "pptx.animation.catalogPreset.entr33": "Arrive",
@@ -112,7 +112,7 @@ var animationPresetTranslationsEn = {
112
112
  "pptx.animation.catalogPreset.exit27": "Credits",
113
113
  "pptx.animation.catalogPreset.exit28": "Float Down",
114
114
  "pptx.animation.catalogPreset.exit29": "Pinwheel",
115
- "pptx.animation.catalogPreset.exit30": "Spinner",
115
+ "pptx.animation.catalogPreset.exit30": "Float Out",
116
116
  "pptx.animation.catalogPreset.exit31": "Contract",
117
117
  "pptx.animation.catalogPreset.exit32": "Whip",
118
118
  "pptx.animation.catalogPreset.exit33": "Leave",
@@ -1210,6 +1210,7 @@ var translationsEn = {
1210
1210
  "pptx.media.startAutomatically": "Automatically",
1211
1211
  "pptx.media.playAcrossSlides": "Play across slides",
1212
1212
  "pptx.media.fullScreen": "Full screen",
1213
+ "pptx.media.onlineVideoTitle": "Online video",
1213
1214
  "pptx.media.hideWhenNotPlaying": "Hide when not playing",
1214
1215
  "pptx.media.bookmarks": "Bookmarks",
1215
1216
  "pptx.media.bookmark": "Bookmark",
@@ -1285,6 +1286,12 @@ var translationsEn = {
1285
1286
  "pptx.compare.noDifferences": "No differences",
1286
1287
  "pptx.compare.summary": "{{added}} added, {{removed}} removed, {{changed}} changed",
1287
1288
  "pptx.compare.title": "Compare",
1289
+ // Canvas context menu (empty slide right-click)
1290
+ "pptx.canvasContextMenu.formatBackground": "Format Background...",
1291
+ "pptx.canvasContextMenu.gridAndGuides": "Grid and Guides",
1292
+ "pptx.canvasContextMenu.layout": "Layout",
1293
+ "pptx.canvasContextMenu.resetSlide": "Reset Slide",
1294
+ "pptx.canvasContextMenu.ruler": "Ruler",
1288
1295
  // Context menu
1289
1296
  "pptx.contextMenu.addComment": "Add Comment",
1290
1297
  "pptx.contextMenu.bringForward": "Bring Forward",
@@ -1295,7 +1302,10 @@ var translationsEn = {
1295
1302
  "pptx.contextMenu.deleteColumn": "Delete Column",
1296
1303
  "pptx.contextMenu.deleteRow": "Delete Row",
1297
1304
  "pptx.contextMenu.duplicate": "Duplicate",
1305
+ "pptx.contextMenu.editAltText": "Edit Alt Text...",
1298
1306
  "pptx.contextMenu.editHyperlink": "Edit Hyperlink",
1307
+ "pptx.contextMenu.editText": "Edit Text",
1308
+ "pptx.contextMenu.formatShape": "Format Shape...",
1299
1309
  "pptx.contextMenu.group": "Group",
1300
1310
  "pptx.contextMenu.insertColumnLeft": "Insert Column Left",
1301
1311
  "pptx.contextMenu.insertColumnRight": "Insert Column Right",
@@ -1304,10 +1314,19 @@ var translationsEn = {
1304
1314
  "pptx.contextMenu.mergeCells": "Merge Right",
1305
1315
  "pptx.contextMenu.mergeSelectedCells": "Merge Selected Cells",
1306
1316
  "pptx.contextMenu.paste": "Paste",
1317
+ "pptx.contextMenu.saveAsPicture": "Save as Picture...",
1307
1318
  "pptx.contextMenu.sendBackward": "Send Backward",
1308
1319
  "pptx.contextMenu.sendToBack": "Send to Back",
1320
+ "pptx.contextMenu.sizeAndPosition": "Size and Position...",
1309
1321
  "pptx.contextMenu.splitCell": "Split Cell",
1310
1322
  "pptx.contextMenu.ungroup": "Ungroup",
1323
+ // Paste Special (Ctrl+Alt+V) and the post-paste Paste Options toolbar
1324
+ "pptx.pasteSpecial.dialogTitle": "Paste Special",
1325
+ "pptx.pasteSpecial.keepSourceFormatting": "Keep Source Formatting",
1326
+ "pptx.pasteSpecial.keepTextOnly": "Keep Text Only",
1327
+ "pptx.pasteSpecial.optionsLabel": "Paste Options",
1328
+ "pptx.pasteSpecial.picture": "Picture",
1329
+ "pptx.pasteSpecial.useDestinationTheme": "Use Destination Theme",
1311
1330
  // Digital signatures (additions)
1312
1331
  "pptx.digitalSignatures.badge": "Signed",
1313
1332
  "pptx.digitalSignatures.editWarning": "Editing this presentation will invalidate its digital signatures.",
@@ -1654,6 +1673,12 @@ var translationsEn = {
1654
1673
  "pptx.transition.morphOption.byObject": "By Object",
1655
1674
  "pptx.transition.morphOption.byWord": "By Word",
1656
1675
  "pptx.transition.morphOption.byChar": "By Character",
1676
+ "pptx.transition.pattern": "Pattern",
1677
+ "pptx.transition.pattern.diamond": "Diamond",
1678
+ "pptx.transition.pattern.hexagon": "Hexagon",
1679
+ "pptx.transition.pattern.strip": "Strips",
1680
+ "pptx.transition.pattern.rectangle": "Rectangles",
1681
+ "pptx.transition.thruBlk": "Through black",
1657
1682
  // Context menu / editor toolbar (Angular/Vue-specific additions)
1658
1683
  "pptx.contextMenu.ariaLabel": "Context menu",
1659
1684
  "pptx.editorToolbar.ariaLabel": "Editor toolbar",
Binary file
Binary file
@@ -1,8 +1,8 @@
1
- import { computeFocusTargets, deckDataFieldChanged, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, collectStoredChats, exportAiChatLogs, applyElementUpdate } from './chunk-L4XBWL7J.mjs';
2
- import { useViewerOptions, useReadOnlyRecommendationState, useCompatibilityToastsState, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useViewPreferencesSync, useLayoutSwitching, ViewerOptionsContext, Rendering3DFlagsContext, CollaborationProvider, useCollaboration, useCollaborationDocumentSync, useFollowMode, useBroadcastFollower, SlideBackgroundImageLayer, StaticElementRenderer, safePrompt, scopeLayoutOptionsToActiveSlide, ChartPartSelectionProvider, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, PresentationTransitionOverlay, RemoteSelectionOverlay, CollaborationCursorOverlay, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, ElementRenderer, InlineCollaborationContext, SmartArtRenderer, playAnimationSound, ResizeHandles, renderStrokeView, useChartPartSelection, resolveSmartArtDataPalette } from './chunk-4GTDG2FH.mjs';
3
- import { SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, cn, SLIDE_NAV_THUMBNAIL_WIDTH, TOOLBAR_SECTIONS, DEFAULT_SECTION_GROUP_ID, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, isConnectorOrLineElement, GRID_SIZE, MIN_ELEMENT_SIZE, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, DEFAULT_FILL_COLOR, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, DEFAULT_STROKE_COLOR, STROKE_DASH_OPTIONS } from './chunk-B5YZABYX.mjs';
4
- import { SWITCHABLE_LAYOUT_TYPES, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, resolveAutosaveActivation, buildThemeColorMap, viewerOptionsToPreferences, applyPreferenceToOptions, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, resolve3DRenderingFlags, resolveSlideSizeSelection, RULER_THICKNESS, RULER_FONT_SIZE, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, normalizeHexColor, themeToCssVars, listAutosaveSnapshots, resolveExpiredAutosaveSnapshots, deleteAutosaveSnapshot, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, setMasterViewBackgroundColor, canUseClipboard, runProgramNoticeStackStyle, compatToastStackStyle, printPropertiesFrameSlides, printPropertiesSlidesPerPage, getDensePanelTouchTargetPx, shouldStickyActionRow, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, isHeaderFooterDateTextVisible, isHeaderFooterHeaderTextVisible, isHeaderFooterFooterTextVisible, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, getSlideBackgroundStyle, pushRecentColor, mruColorsPatch, shouldClearAutosaveCacheOnClose, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, resolveScreenTip, masterViewBackgroundColor, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, safeOpenUrl, resolvePresentationAction, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, buildContextMenuEntries, themeColorSchemesEqual, observeElementHeight, EXPANDED_MAX_HEIGHT, STATUS_BAR_CLASSES, buildBarActions, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent2, resolveDefaultPrintSettings, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, CUSTOM_FONT_ACCEPT, activateModalFocus, buildCollaborationShareUrl, buildActiveSessionUsers, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, BACKSTAGE_BACK_CLASSES, BACKSTAGE_NAV_CLASSES, hasTextProperties, COMMON_FONT_SIZES, textFontSizePtToPx, INSERT_CHART_TYPES, ACTION_BUTTON_PRESETS, CHARACTER_SPACING_OPTIONS, OFFICE_COLOR_SWATCHES, hasShapeProperties, shapeFillChange, shapeOutlineChange, readRibbonTransitionDraft, ribbonTransitionUpdates, playSlideTransitionPreview, RIBBON_TRANSITION_PRESETS, transitionSoundOptions, transitionSoundSelectedValue, DEFAULT_MOTION_PATH_PRESET_ID, SLIDE_SHOW_OPTIONS, slideShowOptionChange, readSlideShowOption, SLIDE_VIRTUALIZATION_THRESHOLD, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, buildStrokePathD, cursorForTool, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, PRESENTER_NAVIGATOR_LABEL_KEYS, PEN_COLORS, HIGHLIGHTER_COLORS, isBlackboardActive, scaleSlidesForSizeChange, slideSizeToCanvasPx, resolveSelectionPaneRename, PRESET_THEMES, resolveNotesSegments, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX, isUrlSafe, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, downloadBlob, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, PRESENTER_CONSOLE_CONTROLS, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, resolveDefaultFontFamily, textFontSizePxToPt, buildFontCatalog, getSelectionTextStyleFlags, getInlineEditorSelectionResult, selectedParagraphBulletKind, elementBulletKind, selectionBulletKind, TEXT_DECORATION_FLAGS, nextToggleValue, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, RIBBON_SHAPE_SWATCHES, canGroupSelection, canUngroupSelection, canSetStrokeWidth, strokeWidthOf, readSoundFileAsDataUrl, applyTransitionSoundFile, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SOUND_NONE_VALUE, clearTransitionSound, applyTransitionStockSound, transitionStockSoundId, getEffectSoundAsset, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, masterViewPseudoSlide, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptors, shouldShowElementHandles, hasMultipleSelectedTableCells, applyTableStyleDelete, applyTableStyleMapChange, themeColorLabel, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, COMMON_FONTS, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, isCurrentLayout, SLIDE_TEMPLATES, computeAnchoredPopupPosition, attachEditorImagePaste, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, resolveElementInteractivity, getElementTransformWithoutRotation, getElementTransform, buildChartQuickActionsDescriptor, applyChartElementToggle, CHART_QUICK_ACTION_BUTTON_SIZE, applyChartStylePreset, hideChartSeries, restoreFilteredSeries, getActiveXControlOverlayView, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, isElementLocked, isImageLikeElement, mergeSlideTransition, getElementLabel, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildLayoutPreviewGeometry, buildSlideTemplateContent, buildFreeformShapeElement, buildLiveInkStrokeView, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, elementLockTogglePatch, buildTableDataGrid, getDenseGridLayoutPlan, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setDataLabelsRangeCache, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, canInteractWithElement, buildOleObjectNamePatch, getOleObjectTypeLabel, sanitizeGradientStops, shouldShowAccessibilitySection, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, formatCommentTimestamp, commentMentionQuery, matchCommentMentionAuthors, buildAnimationTimelineRows, clearMotionPath, getEffectSoundState, setEffectSound, setEffectStockSound, setAfterAnimation, setAfterAnimationColor, DIRECTIONAL_PRESETS, buildAnimationTimelineBars, motionPathPresetIdForPath, EFFECT_SOUND_CATALOGUE, hasTiltData, normalizeTableStyleGuid, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, updateMergeAttrsInRawXml, resolveDisplayedChartType, CHART_TYPE_OPTIONS, BAR3D_SHAPE_OPTIONS, bar3DShapePatch, RADAR_STYLE_OPTIONS, radarStylePatch, SURFACE_WIREFRAME_OPTIONS, surfaceWireframePatch, isSeriesUsingSecondaryAxis, listChartUserShapeRows, withChartUserShapeAdded, createDefaultChartUserShape, withChartUserShapeRowRemoved, withChartUserShapeRowTextUpdated, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSmartArtNodeAsChild, setSmartArtNodeStyle, removeSmartArtNode, addSiblingAfter, removeEmptyNode, demote, promote, updateSmartArtNodeText, reorder, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimEndMsFromAbsoluteMs, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, applyOleSheetCellEdit, getOleSheetGrid, applyOleDocumentParagraphEdit, getOleDocumentParagraphs, applyOleNestedDeckElementTextEdit, getOleNestedDeckDetail, replaceOleFile, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, animationEffectLabel, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, switchSmartArtLayout, rebuildDrawingShapesIfCleared, mediaTrimEndMsFromSeconds, validateMediaTrimRange, SHAPE_QUICK_STYLES, quickStyleSwatchCss, PATTERN_PRESET_OPTIONS, getPatternSvg, COMPOUND_LINE_OPTIONS, LINE_JOIN_OPTIONS, LINE_CAP_OPTIONS, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-VPJOJJ36.mjs';
5
- import { LOCALE_CATALOG, ALIGNMENT_LABEL_KEYS } from './chunk-PC7H3C5W.mjs';
1
+ import { computeFocusTargets, deckDataFieldChanged, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, collectStoredChats, exportAiChatLogs, applyElementUpdate } from './chunk-XMKLY2SE.mjs';
2
+ import { useViewerOptions, useReadOnlyRecommendationState, useCompatibilityToastsState, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useViewPreferencesSync, useLayoutSwitching, ViewerOptionsContext, Rendering3DFlagsContext, CollaborationProvider, useCollaboration, useCollaborationDocumentSync, useFollowMode, useBroadcastFollower, SlideBackgroundImageLayer, StaticElementRenderer, safePrompt, scopeLayoutOptionsToActiveSlide, ChartPartSelectionProvider, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, PresentationTransitionOverlay, RemoteSelectionOverlay, CollaborationCursorOverlay, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, ElementRenderer, InlineCollaborationContext, SmartArtRenderer, playAnimationSound, ResizeHandles, renderStrokeView, useChartPartSelection, resolveSmartArtDataPalette } from './chunk-WCHKDZP6.mjs';
3
+ import { SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, cn, SLIDE_NAV_THUMBNAIL_WIDTH, TOOLBAR_SECTIONS, DEFAULT_SECTION_GROUP_ID, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, isConnectorOrLineElement, GRID_SIZE, MIN_ELEMENT_SIZE, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, DEFAULT_FILL_COLOR, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, DEFAULT_STROKE_COLOR, STROKE_DASH_OPTIONS } from './chunk-WNFHFFYE.mjs';
4
+ import { SWITCHABLE_LAYOUT_TYPES, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, resolveAutosaveActivation, buildThemeColorMap, viewerOptionsToPreferences, applyPreferenceToOptions, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, resolve3DRenderingFlags, resolveSlideSizeSelection, RULER_THICKNESS, RULER_FONT_SIZE, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, normalizeHexColor, themeToCssVars, listAutosaveSnapshots, resolveExpiredAutosaveSnapshots, deleteAutosaveSnapshot, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, setMasterViewBackgroundColor, canUseClipboard, runProgramNoticeStackStyle, compatToastStackStyle, printPropertiesFrameSlides, printPropertiesSlidesPerPage, PASTE_SPECIAL_OPTIONS, getDensePanelTouchTargetPx, shouldStickyActionRow, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, isHeaderFooterDateTextVisible, isHeaderFooterHeaderTextVisible, isHeaderFooterFooterTextVisible, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, getSlideBackgroundStyle, pushRecentColor, mruColorsPatch, shouldClearAutosaveCacheOnClose, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, resolveScreenTip, masterViewBackgroundColor, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, safeOpenUrl, resolvePresentationAction, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, buildContextMenuEntries, themeColorSchemesEqual, observeElementHeight, EXPANDED_MAX_HEIGHT, STATUS_BAR_CLASSES, buildBarActions, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent2, resolveDefaultPrintSettings, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, CUSTOM_FONT_ACCEPT, activateModalFocus, buildCollaborationShareUrl, buildActiveSessionUsers, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, BACKSTAGE_BACK_CLASSES, BACKSTAGE_NAV_CLASSES, hasTextProperties, COMMON_FONT_SIZES, textFontSizePtToPx, INSERT_CHART_TYPES, ACTION_BUTTON_PRESETS, CHARACTER_SPACING_OPTIONS, OFFICE_COLOR_SWATCHES, hasShapeProperties, shapeFillChange, shapeOutlineChange, readRibbonTransitionDraft, ribbonTransitionUpdates, playSlideTransitionPreview, RIBBON_TRANSITION_PRESETS, transitionSoundOptions, transitionSoundSelectedValue, DEFAULT_MOTION_PATH_PRESET_ID, SLIDE_SHOW_OPTIONS, slideShowOptionChange, readSlideShowOption, SLIDE_VIRTUALIZATION_THRESHOLD, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, buildStrokePathD, cursorForTool, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, PRESENTER_NAVIGATOR_LABEL_KEYS, PEN_COLORS, HIGHLIGHTER_COLORS, isBlackboardActive, scaleSlidesForSizeChange, slideSizeToCanvasPx, resolveSelectionPaneRename, PRESET_THEMES, resolveNotesSegments, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX, isUrlSafe, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, downloadBlob, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, PRESENTER_CONSOLE_CONTROLS, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, resolveDefaultFontFamily, textFontSizePxToPt, buildFontCatalog, getSelectionTextStyleFlags, getInlineEditorSelectionResult, selectedParagraphBulletKind, elementBulletKind, selectionBulletKind, TEXT_DECORATION_FLAGS, nextToggleValue, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, RIBBON_SHAPE_SWATCHES, canGroupSelection, canUngroupSelection, canSetStrokeWidth, strokeWidthOf, readSoundFileAsDataUrl, applyTransitionSoundFile, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SOUND_NONE_VALUE, clearTransitionSound, applyTransitionStockSound, transitionStockSoundId, getEffectSoundAsset, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, masterViewPseudoSlide, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptors, shouldShowElementHandles, hasMultipleSelectedTableCells, applyTableStyleDelete, applyTableStyleMapChange, themeColorLabel, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, COMMON_FONTS, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, isCurrentLayout, SLIDE_TEMPLATES, computeAnchoredPopupPosition, attachEditorImagePaste, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, resolveElementInteractivity, getElementTransformWithoutRotation, getElementTransform, buildChartQuickActionsDescriptor, applyChartElementToggle, CHART_QUICK_ACTION_BUTTON_SIZE, applyChartStylePreset, hideChartSeries, restoreFilteredSeries, getActiveXControlOverlayView, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, isElementLocked, isImageLikeElement, mergeSlideTransition, getElementLabel, TRIGGER_OPTIONS, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildLayoutPreviewGeometry, buildSlideTemplateContent, buildFreeformShapeElement, buildLiveInkStrokeView, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, elementLockTogglePatch, buildTableDataGrid, getDenseGridLayoutPlan, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setDataLabelsRangeCache, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, canInteractWithElement, buildOleObjectNamePatch, getOleObjectTypeLabel, sanitizeGradientStops, shouldShowAccessibilitySection, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_PATTERN_OPTIONS, TRANSITION_THRUBLK_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, formatCommentTimestamp, commentMentionQuery, matchCommentMentionAuthors, buildAnimationTimelineRows, clearMotionPath, getEffectSoundState, setEffectSound, setEffectStockSound, setAfterAnimation, setAfterAnimationColor, DIRECTIONAL_PRESETS, buildAnimationTimelineBars, motionPathPresetIdForPath, EFFECT_SOUND_CATALOGUE, hasTiltData, normalizeTableStyleGuid, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, updateMergeAttrsInRawXml, resolveDisplayedChartType, CHART_TYPE_OPTIONS, chartDataLabelsTogglePatch, BAR3D_SHAPE_OPTIONS, bar3DShapePatch, RADAR_STYLE_OPTIONS, radarStylePatch, SURFACE_WIREFRAME_OPTIONS, surfaceWireframePatch, isSeriesUsingSecondaryAxis, listChartUserShapeRows, withChartUserShapeAdded, createDefaultChartUserShape, withChartUserShapeRowRemoved, withChartUserShapeRowTextUpdated, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSmartArtNodeAsChild, setSmartArtNodeStyle, removeSmartArtNode, addSiblingAfter, removeEmptyNode, demote, promote, updateSmartArtNodeText, reorder, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimEndMsFromAbsoluteMs, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, applyOleSheetCellEdit, getOleSheetGrid, applyOleDocumentParagraphEdit, getOleDocumentParagraphs, applyOleNestedDeckElementTextEdit, getOleNestedDeckDetail, replaceOleFile, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, animationEffectLabel, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, switchSmartArtLayout, rebuildDrawingShapesIfCleared, mediaTrimEndMsFromSeconds, validateMediaTrimRange, SHAPE_QUICK_STYLES, quickStyleSwatchCss, PATTERN_PRESET_OPTIONS, getPatternSvg, COMPOUND_LINE_OPTIONS, LINE_JOIN_OPTIONS, LINE_CAP_OPTIONS, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-D3TZOCQP.mjs';
5
+ import { LOCALE_CATALOG, ALIGNMENT_LABEL_KEYS } from './chunk-JQXN6PO7.mjs';
6
6
  import React4, { createContext, lazy, forwardRef, useEffect, useState, useCallback, useMemo, useRef, useId, Fragment as Fragment$1, useDeferredValue, useLayoutEffect, Suspense, useContext, useSyncExternalStore } from 'react';
7
7
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
8
8
  import { useTranslation } from 'react-i18next';
@@ -1683,7 +1683,7 @@ function AccountPage() {
1683
1683
  return void 0;
1684
1684
  });
1685
1685
  };
1686
- const version = "4.1.6" ;
1686
+ const version = "4.3.0" ;
1687
1687
  return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
1688
1688
  /* @__PURE__ */ jsxs("section", { className: cardClass, children: [
1689
1689
  /* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
@@ -4471,6 +4471,7 @@ function ViewSection(p) {
4471
4471
  {
4472
4472
  label: t("pptx.view.normal"),
4473
4473
  icon: /* @__PURE__ */ jsx(LuPanelTop, {}),
4474
+ onClick: p.onGoToNormalView,
4474
4475
  title: t("pptx.statusBar.normalView")
4475
4476
  }
4476
4477
  ),
@@ -4981,6 +4982,7 @@ function MobileSectionBody({
4981
4982
  eyedropperActive: p.eyedropperActive,
4982
4983
  onToggleEyedropper: p.onToggleEyedropper,
4983
4984
  onToggleSlideSorter: p.onToggleSlideSorter,
4985
+ onGoToNormalView: p.onGoToNormalView,
4984
4986
  onOpenReadingView: p.onOpenReadingView
4985
4987
  }
4986
4988
  ) });
@@ -6372,6 +6374,7 @@ function Toolbar(p) {
6372
6374
  eyedropperActive: p.eyedropperActive,
6373
6375
  onToggleEyedropper: p.onToggleEyedropper,
6374
6376
  onToggleSlideSorter: p.onToggleSlideSorter,
6377
+ onGoToNormalView: p.onGoToNormalView,
6375
6378
  onOpenReadingView: p.onOpenReadingView,
6376
6379
  onOpenOutlineView: p.onOpenOutlineView,
6377
6380
  onZoomToFit: p.onZoomToFit
@@ -9309,6 +9312,11 @@ function contextMenuHandlers(props) {
9309
9312
  "table-split": andClose(props.onSplitCell),
9310
9313
  group: andClose(() => onAction("group")),
9311
9314
  ungroup: andClose(() => onAction("ungroup")),
9315
+ "edit-text": andClose(() => onAction("edit-text")),
9316
+ "save-as-picture": andClose(() => onAction("save-as-picture")),
9317
+ "edit-alt-text": andClose(() => onAction("edit-alt-text")),
9318
+ "size-and-position": andClose(() => onAction("size-and-position")),
9319
+ "format-shape": andClose(() => onAction("format-shape")),
9312
9320
  delete: andClose(() => onAction("delete"))
9313
9321
  };
9314
9322
  }
@@ -15896,13 +15904,6 @@ var EXIT_PRESETS = ANIMATION_PRESET_OPTIONS.filter(
15896
15904
  var EMPHASIS_PRESETS = ANIMATION_PRESET_OPTIONS.filter(
15897
15905
  (o) => o.value === "spin" || o.value === "pulse" || o.value === "colorWave" || o.value === "bounce" || o.value === "flash" || o.value === "growShrink" || o.value === "teeter"
15898
15906
  );
15899
- var TRIGGER_OPTIONS = [
15900
- { value: "onClick", labelKey: "pptx.animation.trigger.onClick" },
15901
- { value: "onShapeClick", labelKey: "pptx.animation.trigger.onShapeClick" },
15902
- { value: "onHover", labelKey: "pptx.animation.trigger.onHover" },
15903
- { value: "afterPrevious", labelKey: "pptx.animation.trigger.afterPrevious" },
15904
- { value: "withPrevious", labelKey: "pptx.animation.trigger.withPrevious" }
15905
- ];
15906
15907
  var TIMING_CURVE_OPTIONS = [
15907
15908
  { value: "ease", labelKey: "pptx.animation.timingCurve.ease" },
15908
15909
  { value: "ease-in", labelKey: "pptx.animation.timingCurve.easeIn" },
@@ -18074,9 +18075,7 @@ function ChartDisplayOptions({
18074
18075
  type: "checkbox",
18075
18076
  disabled: !canEdit,
18076
18077
  checked: style?.hasDataLabels ?? false,
18077
- onChange: (e) => onUpdateStyle({
18078
- hasDataLabels: e.target.checked
18079
- }),
18078
+ onChange: (e) => onUpdateStyle(chartDataLabelsTogglePatch(style, e.target.checked)),
18080
18079
  className: "accent-primary"
18081
18080
  }
18082
18081
  ),
@@ -21428,7 +21427,7 @@ function AccessibilityTextSection({
21428
21427
  if (!fields.showAltText && !fields.showTitle) {
21429
21428
  return null;
21430
21429
  }
21431
- return /* @__PURE__ */ jsxs("div", { className: CARD2, "data-pptx-accessibility-text": true, children: [
21430
+ return /* @__PURE__ */ jsxs("div", { className: CARD2, "data-pptx-accessibility-text": true, "data-pptx-inspector-section": "alt-text", children: [
21432
21431
  /* @__PURE__ */ jsx("div", { className: HEADING2, children: t("pptx.accessibility.heading", "Accessibility") }),
21433
21432
  fields.showAltText && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 text-[11px]", children: [
21434
21433
  /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.elementAccessibility.altText") }),
@@ -23582,7 +23581,7 @@ function ShapeTextPanels({
23582
23581
  }
23583
23582
  )
23584
23583
  ] }),
23585
- hasShapeProperties(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, "data-pptx-fill-stroke": true, children: [
23584
+ hasShapeProperties(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, "data-pptx-fill-stroke": true, "data-pptx-inspector-section": "fill-stroke", children: [
23586
23585
  /* @__PURE__ */ jsx("div", { className: HEADING2, children: t("pptx.shape.fillStroke", "Fill & Stroke") }),
23587
23586
  /* @__PURE__ */ jsx(
23588
23587
  FillStrokeProperties,
@@ -25545,7 +25544,7 @@ function ElementInspectorBody({
25545
25544
  onUpdateElement({ locks: elementLockTogglePatch(!isLocked) });
25546
25545
  };
25547
25546
  return /* @__PURE__ */ jsxs(Fragment, { children: [
25548
- /* @__PURE__ */ jsxs("div", { className: CARD2, children: [
25547
+ /* @__PURE__ */ jsxs("div", { className: CARD2, "data-pptx-inspector-section": "transform", children: [
25549
25548
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
25550
25549
  /* @__PURE__ */ jsx("div", { className: HEADING2, children: t("pptx.inspector.element") }),
25551
25550
  /* @__PURE__ */ jsx(
@@ -27034,6 +27033,8 @@ function SlideTransitionSection({
27034
27033
  const usesOrientation = TRANSITION_ORIENTATION_TYPES.has(transitionType);
27035
27034
  const isWheel = transitionType === "wheel";
27036
27035
  const isMorph = transitionType === "morph";
27036
+ const patternOptions = TRANSITION_PATTERN_OPTIONS[transitionType];
27037
+ const hasThruBlk = TRANSITION_THRUBLK_TYPES.has(transitionType);
27037
27038
  return /* @__PURE__ */ jsxs(
27038
27039
  "div",
27039
27040
  {
@@ -27085,6 +27086,32 @@ function SlideTransitionSection({
27085
27086
  o
27086
27087
  )) })
27087
27088
  ] }),
27089
+ patternOptions && /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
27090
+ /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.pattern") }),
27091
+ /* @__PURE__ */ jsx("div", { className: "flex gap-1", children: patternOptions.map((pattern) => /* @__PURE__ */ jsx(
27092
+ "button",
27093
+ {
27094
+ type: "button",
27095
+ disabled: !canEdit,
27096
+ onClick: () => onTransitionChange({ pattern }),
27097
+ className: `px-2 py-1 rounded text-xs border ${(activeSlide.transition?.pattern ?? patternOptions[0]) === pattern ? "bg-primary text-white border-primary" : "bg-muted border-border hover:bg-accent"}`,
27098
+ children: t(`pptx.transition.pattern.${pattern}`)
27099
+ },
27100
+ pattern
27101
+ )) })
27102
+ ] }),
27103
+ hasThruBlk && /* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground text-xs", children: [
27104
+ /* @__PURE__ */ jsx(
27105
+ WebCheckbox,
27106
+ {
27107
+ type: "checkbox",
27108
+ disabled: !canEdit,
27109
+ checked: activeSlide.transition?.thruBlk === true,
27110
+ onChange: (e) => onTransitionChange({ thruBlk: e.target.checked })
27111
+ }
27112
+ ),
27113
+ t("pptx.transition.thruBlk")
27114
+ ] }),
27088
27115
  isWheel && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
27089
27116
  /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.spokes") }),
27090
27117
  /* @__PURE__ */ jsx(
@@ -28456,6 +28483,143 @@ function KeepAnnotationsDialog({
28456
28483
  }
28457
28484
  );
28458
28485
  }
28486
+ function PasteSpecialDialog({
28487
+ isOpen,
28488
+ onCancel,
28489
+ onConfirm
28490
+ }) {
28491
+ const { t } = useTranslation();
28492
+ const [selected, setSelected] = useState("keep-source-formatting");
28493
+ if (!isOpen) {
28494
+ return null;
28495
+ }
28496
+ return /* @__PURE__ */ jsx(
28497
+ "div",
28498
+ {
28499
+ style: { zIndex: 1200 },
28500
+ className: "fixed inset-0 flex items-center justify-center bg-black/50",
28501
+ role: "presentation",
28502
+ onMouseDown: (e) => {
28503
+ if (e.target === e.currentTarget) {
28504
+ onCancel();
28505
+ }
28506
+ },
28507
+ children: /* @__PURE__ */ jsxs(
28508
+ "div",
28509
+ {
28510
+ role: "dialog",
28511
+ "aria-modal": "true",
28512
+ "aria-label": t("pptx.pasteSpecial.dialogTitle"),
28513
+ className: "bg-background border border-border rounded-lg shadow-xl w-[360px] max-w-[90vw] p-5",
28514
+ children: [
28515
+ /* @__PURE__ */ jsx("h2", { className: "text-base font-semibold text-foreground mb-3", children: t("pptx.pasteSpecial.dialogTitle") }),
28516
+ /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-1 mb-5", children: PASTE_SPECIAL_OPTIONS.map((option) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 px-2 py-1.5 rounded cursor-pointer hover:bg-accent text-sm text-foreground", children: [
28517
+ /* @__PURE__ */ jsx(
28518
+ "input",
28519
+ {
28520
+ type: "radio",
28521
+ name: "paste-special-format",
28522
+ value: option.id,
28523
+ checked: selected === option.id,
28524
+ onChange: () => setSelected(option.id)
28525
+ }
28526
+ ),
28527
+ t(option.labelKey)
28528
+ ] }) }, option.id)) }),
28529
+ /* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
28530
+ /* @__PURE__ */ jsx(
28531
+ "button",
28532
+ {
28533
+ type: "button",
28534
+ className: "px-4 py-2 text-sm font-medium rounded-md border border-border bg-background text-foreground hover:bg-accent transition-colors",
28535
+ onClick: onCancel,
28536
+ children: t("pptx.common.cancel")
28537
+ }
28538
+ ),
28539
+ /* @__PURE__ */ jsx(
28540
+ "button",
28541
+ {
28542
+ type: "button",
28543
+ className: "px-4 py-2 text-sm font-medium rounded-md bg-primary text-white hover:bg-primary/90 transition-colors",
28544
+ onClick: () => onConfirm(selected),
28545
+ children: t("pptx.common.ok")
28546
+ }
28547
+ )
28548
+ ] })
28549
+ ]
28550
+ }
28551
+ )
28552
+ }
28553
+ );
28554
+ }
28555
+ function findElementNode(elementId) {
28556
+ return document.querySelector(
28557
+ `[data-element-id="${elementId}"][data-pptx-element="true"]`
28558
+ );
28559
+ }
28560
+ function PasteOptionsToolbar({
28561
+ elementId,
28562
+ onChoose,
28563
+ onDismiss
28564
+ }) {
28565
+ const { t } = useTranslation();
28566
+ const [rect, setRect] = useState(null);
28567
+ useEffect(() => {
28568
+ if (!elementId) {
28569
+ setRect(null);
28570
+ return;
28571
+ }
28572
+ const node = findElementNode(elementId);
28573
+ if (!node) {
28574
+ setRect(null);
28575
+ return;
28576
+ }
28577
+ const box = node.getBoundingClientRect();
28578
+ setRect({ left: box.right, top: box.bottom });
28579
+ }, [elementId]);
28580
+ useEffect(() => {
28581
+ if (!elementId) {
28582
+ return;
28583
+ }
28584
+ const dismiss = () => onDismiss();
28585
+ const timer = window.setTimeout(() => {
28586
+ window.addEventListener("pointerdown", dismiss, true);
28587
+ window.addEventListener("keydown", dismiss, true);
28588
+ }, 0);
28589
+ return () => {
28590
+ window.clearTimeout(timer);
28591
+ window.removeEventListener("pointerdown", dismiss, true);
28592
+ window.removeEventListener("keydown", dismiss, true);
28593
+ };
28594
+ }, [elementId, onDismiss]);
28595
+ if (!elementId || !rect) {
28596
+ return null;
28597
+ }
28598
+ return /* @__PURE__ */ jsx(
28599
+ "div",
28600
+ {
28601
+ role: "toolbar",
28602
+ tabIndex: -1,
28603
+ "aria-label": t("pptx.pasteSpecial.optionsLabel"),
28604
+ "data-pptx-paste-options": true,
28605
+ style: { position: "fixed", left: rect.left + 4, top: rect.top + 4, zIndex: 1100 },
28606
+ className: "flex items-center gap-0.5 rounded border border-border bg-popover p-1 shadow-lg",
28607
+ onMouseDown: (e) => e.stopPropagation(),
28608
+ children: PASTE_SPECIAL_OPTIONS.map((option) => /* @__PURE__ */ jsx(
28609
+ "button",
28610
+ {
28611
+ type: "button",
28612
+ title: t(option.labelKey),
28613
+ "aria-label": t(option.labelKey),
28614
+ className: "px-2 py-1 text-[11px] rounded hover:bg-accent text-foreground whitespace-nowrap",
28615
+ onClick: () => onChoose(option.id),
28616
+ children: t(option.labelKey)
28617
+ },
28618
+ option.id
28619
+ ))
28620
+ }
28621
+ );
28622
+ }
28459
28623
  var PREVIEW_SCALE2 = 0.9;
28460
28624
  var NOTE_LINE_COUNT = 5;
28461
28625
  function NotesPagePreview({
@@ -31409,6 +31573,12 @@ function ViewerToolbarSection(props) {
31409
31573
  onOpenSettings,
31410
31574
  onRunAccessibilityCheck: dialogs.handleRunAccessibilityCheck,
31411
31575
  onToggleSlideSorter: () => s.setShowSlideSorter((p) => !p),
31576
+ onGoToNormalView: () => {
31577
+ s.setShowSlideSorter(false);
31578
+ s.setShowReadingView(false);
31579
+ s.setShowOutlineView(false);
31580
+ dialogs.handleCloseMasterView();
31581
+ },
31412
31582
  onOpenReadingView: () => s.setShowReadingView(true),
31413
31583
  onOpenOutlineView: () => s.setShowOutlineView(true),
31414
31584
  onUpdateTextStyle: ops.updateSelectedTextStyle,
@@ -32930,7 +33100,7 @@ function useTableStyleMapHandlers(input) {
32930
33100
  var AiChatPanel = lazy(async () => {
32931
33101
  const [{ useChat }, { default: Panel }] = await Promise.all([
32932
33102
  import('@ai-sdk/react'),
32933
- import('./AiChatPanel-SEIRQ3XP.mjs')
33103
+ import('./AiChatPanel-QJHUDIWT.mjs')
32934
33104
  ]);
32935
33105
  function BoundAiChatPanel(props) {
32936
33106
  return /* @__PURE__ */ jsx(Panel, { ...props, useChat });
@@ -37144,6 +37314,27 @@ var PowerPointViewer = forwardRef(
37144
37314
  onDiscardAnnotations: handleDiscardAnnotations
37145
37315
  }
37146
37316
  ),
37317
+ /* @__PURE__ */ jsx(
37318
+ PasteSpecialDialog,
37319
+ {
37320
+ isOpen: editorOps.pasteSpecial.isPasteSpecialDialogOpen,
37321
+ onCancel: editorOps.pasteSpecial.closePasteSpecialDialog,
37322
+ onConfirm: (format) => {
37323
+ void editorOps.pasteSpecial.pasteWithFormat(format);
37324
+ }
37325
+ }
37326
+ ),
37327
+ /* @__PURE__ */ jsx(
37328
+ PasteOptionsToolbar,
37329
+ {
37330
+ elementId: editorOps.pasteSpecial.pasteOptionsToolbar?.elementId ?? null,
37331
+ onChoose: (format) => {
37332
+ void editorOps.pasteSpecial.reformatPastedElement(format);
37333
+ editorOps.pasteSpecial.dismissPasteOptionsToolbar();
37334
+ },
37335
+ onDismiss: editorOps.pasteSpecial.dismissPasteOptionsToolbar
37336
+ }
37337
+ ),
37147
37338
  /* @__PURE__ */ jsx(
37148
37339
  AutosaveRecoveryDialog,
37149
37340
  {
Binary file
Binary file