pptx-react-viewer 1.24.1 → 1.25.1

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 (112) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{Model3DScene-E7YIHJ2R.mjs → Model3DScene-2QZ7CADN.mjs} +2 -2
  3. package/dist/Model3DScene-2QZ7CADN.mjs.br +0 -0
  4. package/dist/Model3DScene-2QZ7CADN.mjs.gz +0 -0
  5. package/dist/{Model3DScene-RYR4SSOM.js → Model3DScene-AWSM6CYB.js} +3 -3
  6. package/dist/Model3DScene-AWSM6CYB.js.br +0 -0
  7. package/dist/Model3DScene-AWSM6CYB.js.gz +0 -0
  8. package/dist/PowerPointViewer-CnADroqZ.d.ts.map +1 -1
  9. package/dist/{SurfaceChart3DScene-ZM3J67VQ.mjs → SurfaceChart3DScene-IW4WGZHH.mjs} +2 -2
  10. package/dist/SurfaceChart3DScene-IW4WGZHH.mjs.br +0 -0
  11. package/dist/SurfaceChart3DScene-IW4WGZHH.mjs.gz +0 -0
  12. package/dist/{SurfaceChart3DScene-PBSZVNAM.js → SurfaceChart3DScene-PJ36HRGC.js} +3 -3
  13. package/dist/SurfaceChart3DScene-PJ36HRGC.js.br +0 -0
  14. package/dist/SurfaceChart3DScene-PJ36HRGC.js.gz +0 -0
  15. package/dist/{chunk-ZISXRMDJ.js → chunk-2EFVXYNA.js} +187 -1
  16. package/dist/chunk-2EFVXYNA.js.br +0 -0
  17. package/dist/{chunk-ZISXRMDJ.js.gz → chunk-2EFVXYNA.js.gz} +0 -0
  18. package/dist/{chunk-KVTSERRP.js → chunk-ASN2DZSP.js} +1743 -1105
  19. package/dist/chunk-ASN2DZSP.js.br +0 -0
  20. package/dist/chunk-ASN2DZSP.js.gz +0 -0
  21. package/dist/{chunk-KV3EOLP3.js → chunk-CYZLRYJV.js} +66 -8
  22. package/dist/chunk-CYZLRYJV.js.br +0 -0
  23. package/dist/{chunk-KV3EOLP3.js.gz → chunk-CYZLRYJV.js.gz} +0 -0
  24. package/dist/{chunk-E3KJKCSV.mjs → chunk-M3SIFXWD.mjs} +187 -1
  25. package/dist/chunk-M3SIFXWD.mjs.br +0 -0
  26. package/dist/{chunk-E3KJKCSV.mjs.gz → chunk-M3SIFXWD.mjs.gz} +0 -0
  27. package/dist/{chunk-LDZQNYWL.mjs → chunk-M7JHZV3P.mjs} +66 -8
  28. package/dist/chunk-M7JHZV3P.mjs.br +0 -0
  29. package/dist/{chunk-LDZQNYWL.mjs.gz → chunk-M7JHZV3P.mjs.gz} +0 -0
  30. package/dist/{chunk-275WERXZ.js → chunk-NIWO2WYI.js} +908 -43
  31. package/dist/chunk-NIWO2WYI.js.br +0 -0
  32. package/dist/chunk-NIWO2WYI.js.gz +0 -0
  33. package/dist/{chunk-DPTDFK2L.js → chunk-NT5FIWWU.js} +590 -511
  34. package/dist/chunk-NT5FIWWU.js.br +0 -0
  35. package/dist/chunk-NT5FIWWU.js.gz +0 -0
  36. package/dist/{chunk-MEVZNYJK.mjs → chunk-PMGLZ7N4.mjs} +860 -10
  37. package/dist/chunk-PMGLZ7N4.mjs.br +0 -0
  38. package/dist/chunk-PMGLZ7N4.mjs.gz +0 -0
  39. package/dist/{chunk-UCFXE6YS.mjs → chunk-QTIJWFJX.mjs} +117 -39
  40. package/dist/chunk-QTIJWFJX.mjs.br +0 -0
  41. package/dist/chunk-QTIJWFJX.mjs.gz +0 -0
  42. package/dist/{chunk-UDM2SYE3.mjs → chunk-RVKPHAK5.mjs} +966 -328
  43. package/dist/chunk-RVKPHAK5.mjs.br +0 -0
  44. package/dist/chunk-RVKPHAK5.mjs.gz +0 -0
  45. package/dist/{dist-XF3QJAEF.js → dist-AFRACFHO.js} +562 -562
  46. package/dist/dist-AFRACFHO.js.br +0 -0
  47. package/dist/dist-AFRACFHO.js.gz +0 -0
  48. package/dist/{dist-A3OATMOE.mjs → dist-RHAXXX2R.mjs} +1 -1
  49. package/dist/dist-RHAXXX2R.mjs.br +0 -0
  50. package/dist/dist-RHAXXX2R.mjs.gz +0 -0
  51. package/dist/hooks-unstable.d.ts +207 -2
  52. package/dist/hooks-unstable.d.ts.map +1 -1
  53. package/dist/hooks-unstable.js +82 -78
  54. package/dist/hooks-unstable.js.br +0 -0
  55. package/dist/hooks-unstable.js.gz +0 -0
  56. package/dist/hooks-unstable.mjs +4 -4
  57. package/dist/hooks-unstable.mjs.br +0 -0
  58. package/dist/hooks-unstable.mjs.gz +0 -0
  59. package/dist/i18n.js +4 -4
  60. package/dist/i18n.js.br +0 -0
  61. package/dist/i18n.js.gz +0 -0
  62. package/dist/i18n.mjs +1 -1
  63. package/dist/i18n.mjs.br +0 -0
  64. package/dist/i18n.mjs.gz +0 -0
  65. package/dist/{index-waNAYwmr.d.ts → index-DWvM1PBB.d.ts} +16 -1
  66. package/dist/index-DWvM1PBB.d.ts.map +1 -0
  67. package/dist/index.d.ts +146 -26
  68. package/dist/index.js +35 -35
  69. package/dist/index.js.br +0 -0
  70. package/dist/index.js.gz +0 -0
  71. package/dist/index.mjs +5 -5
  72. package/dist/index.mjs.br +0 -0
  73. package/dist/index.mjs.gz +0 -0
  74. package/dist/pptx-viewer.css +1 -1
  75. package/dist/pptx-viewer.css.br +0 -0
  76. package/dist/pptx-viewer.css.gz +0 -0
  77. package/dist/viewer/index.js +21 -21
  78. package/dist/viewer/index.js.br +0 -0
  79. package/dist/viewer/index.js.gz +0 -0
  80. package/dist/viewer/index.mjs +5 -5
  81. package/dist/viewer/index.mjs.br +0 -0
  82. package/dist/viewer/index.mjs.gz +0 -0
  83. package/package.json +1 -1
  84. package/dist/Model3DScene-E7YIHJ2R.mjs.br +0 -0
  85. package/dist/Model3DScene-E7YIHJ2R.mjs.gz +0 -0
  86. package/dist/Model3DScene-RYR4SSOM.js.br +0 -0
  87. package/dist/Model3DScene-RYR4SSOM.js.gz +0 -0
  88. package/dist/SurfaceChart3DScene-PBSZVNAM.js.br +0 -0
  89. package/dist/SurfaceChart3DScene-PBSZVNAM.js.gz +0 -0
  90. package/dist/SurfaceChart3DScene-ZM3J67VQ.mjs.br +0 -0
  91. package/dist/SurfaceChart3DScene-ZM3J67VQ.mjs.gz +0 -0
  92. package/dist/chunk-275WERXZ.js.br +0 -0
  93. package/dist/chunk-275WERXZ.js.gz +0 -0
  94. package/dist/chunk-DPTDFK2L.js.br +0 -0
  95. package/dist/chunk-DPTDFK2L.js.gz +0 -0
  96. package/dist/chunk-E3KJKCSV.mjs.br +0 -0
  97. package/dist/chunk-KV3EOLP3.js.br +0 -0
  98. package/dist/chunk-KVTSERRP.js.br +0 -0
  99. package/dist/chunk-KVTSERRP.js.gz +0 -0
  100. package/dist/chunk-LDZQNYWL.mjs.br +0 -0
  101. package/dist/chunk-MEVZNYJK.mjs.br +0 -0
  102. package/dist/chunk-MEVZNYJK.mjs.gz +0 -0
  103. package/dist/chunk-UCFXE6YS.mjs.br +0 -0
  104. package/dist/chunk-UCFXE6YS.mjs.gz +0 -0
  105. package/dist/chunk-UDM2SYE3.mjs.br +0 -0
  106. package/dist/chunk-UDM2SYE3.mjs.gz +0 -0
  107. package/dist/chunk-ZISXRMDJ.js.br +0 -0
  108. package/dist/dist-A3OATMOE.mjs.br +0 -0
  109. package/dist/dist-A3OATMOE.mjs.gz +0 -0
  110. package/dist/dist-XF3QJAEF.js.br +0 -0
  111. package/dist/dist-XF3QJAEF.js.gz +0 -0
  112. package/dist/index-waNAYwmr.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkKV3EOLP3_js = require('./chunk-KV3EOLP3.js');
3
+ var chunkCYZLRYJV_js = require('./chunk-CYZLRYJV.js');
4
4
  var DOMPurify = require('dompurify');
5
5
 
6
6
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -307,7 +307,7 @@ function buildInitialGuides(presentationGuides, firstSlideGuides) {
307
307
  guides.push({
308
308
  id: g.id,
309
309
  axis: g.orientation === "horz" ? "h" : "v",
310
- position: chunkKV3EOLP3_js.guideEmuToPx(g.positionEmu)
310
+ position: chunkCYZLRYJV_js.guideEmuToPx(g.positionEmu)
311
311
  });
312
312
  }
313
313
  }
@@ -316,7 +316,7 @@ function buildInitialGuides(presentationGuides, firstSlideGuides) {
316
316
  guides.push({
317
317
  id: g.id,
318
318
  axis: g.orientation === "horz" ? "h" : "v",
319
- position: chunkKV3EOLP3_js.guideEmuToPx(g.positionEmu)
319
+ position: chunkCYZLRYJV_js.guideEmuToPx(g.positionEmu)
320
320
  });
321
321
  }
322
322
  }
@@ -329,23 +329,23 @@ function getResolvedShapeClipPathFor(shapeType, width, height, adjustments) {
329
329
  return void 0;
330
330
  }
331
331
  if (!Number.isFinite(width) || !Number.isFinite(height) || width <= 0 || height <= 0) {
332
- return chunkKV3EOLP3_js.getShapeClipPath(shapeType);
332
+ return chunkCYZLRYJV_js.getShapeClipPath(shapeType);
333
333
  }
334
334
  if (adjustments && Object.keys(adjustments).length > 0) {
335
- const adjusted = chunkKV3EOLP3_js.getAdjustmentAwareShapeClipPath(shapeType, width, height, adjustments);
335
+ const adjusted = chunkCYZLRYJV_js.getAdjustmentAwareShapeClipPath(shapeType, width, height, adjustments);
336
336
  if (adjusted !== void 0) {
337
337
  return adjusted;
338
338
  }
339
339
  }
340
- const fromPreset = chunkKV3EOLP3_js.getShapeClipPathFromPreset(shapeType, width, height, adjustments);
340
+ const fromPreset = chunkCYZLRYJV_js.getShapeClipPathFromPreset(shapeType, width, height, adjustments);
341
341
  if (fromPreset !== void 0) {
342
342
  return fromPreset;
343
343
  }
344
- const cloud = chunkKV3EOLP3_js.getCloudPathForRendering(shapeType, width, height);
344
+ const cloud = chunkCYZLRYJV_js.getCloudPathForRendering(shapeType, width, height);
345
345
  if (cloud !== void 0) {
346
346
  return cloud;
347
347
  }
348
- return chunkKV3EOLP3_js.getShapeClipPath(shapeType);
348
+ return chunkCYZLRYJV_js.getShapeClipPath(shapeType);
349
349
  }
350
350
  function getResolvedShapeClipPath(element, width, height) {
351
351
  const shapeType = element.shapeType;
@@ -1060,7 +1060,7 @@ var DEFAULT_SCHEME_COLOR_MAP = {
1060
1060
  phclr: "#4472C4"
1061
1061
  };
1062
1062
  function applyDrawingColorTransforms2(baseColor, colorNode) {
1063
- return chunkKV3EOLP3_js.applyDrawingColorTransforms(baseColor, colorNode);
1063
+ return chunkCYZLRYJV_js.applyDrawingColorTransforms(baseColor, colorNode);
1064
1064
  }
1065
1065
  function parseDrawingColorChoice(colorNode, schemeColorOverrides) {
1066
1066
  if (!colorNode) {
@@ -1112,7 +1112,7 @@ function parseDrawingColorChoice(colorNode, schemeColorOverrides) {
1112
1112
  const h = hueRaw / 6e4;
1113
1113
  const s = clampUnitInterval(satRaw / 1e5);
1114
1114
  const l = clampUnitInterval(lumRaw / 1e5);
1115
- const rgb = chunkKV3EOLP3_js.hslToRgb(h, s, l);
1115
+ const rgb = chunkCYZLRYJV_js.hslToRgb(h, s, l);
1116
1116
  const toHex = (value) => Math.min(255, Math.max(0, Math.round(value))).toString(16).padStart(2, "0").toUpperCase();
1117
1117
  const base = `#${toHex(rgb.r)}${toHex(rgb.g)}${toHex(rgb.b)}`;
1118
1118
  return applyDrawingColorTransforms2(base, hslNode);
@@ -1122,7 +1122,7 @@ function parseDrawingColorChoice(colorNode, schemeColorOverrides) {
1122
1122
  const preset = String(
1123
1123
  colorNode["a:prstClr"]?.["@_val"] || ""
1124
1124
  ).toLowerCase();
1125
- const mapped = chunkKV3EOLP3_js.PRESET_COLOR_MAP[preset];
1125
+ const mapped = chunkCYZLRYJV_js.PRESET_COLOR_MAP[preset];
1126
1126
  if (!mapped) {
1127
1127
  return void 0;
1128
1128
  }
@@ -1477,7 +1477,7 @@ function hexToRgbUnit2(hex) {
1477
1477
  };
1478
1478
  }
1479
1479
  function getEffects(element) {
1480
- if (!chunkKV3EOLP3_js.isImageLikeElement(element)) {
1480
+ if (!chunkCYZLRYJV_js.isImageLikeElement(element)) {
1481
1481
  return void 0;
1482
1482
  }
1483
1483
  return element.imageEffects;
@@ -1666,7 +1666,7 @@ function buildDuotoneFilterMarkup(color1, color2) {
1666
1666
  const c2 = hexToRgbUnit2(color2);
1667
1667
  return `<feColorMatrix type="matrix" values="${GRAYSCALE_LUMINANCE_MATRIX}"/><feComponentTransfer><feFuncR type="linear" slope="${c2.r - c1.r}" intercept="${c1.r}"/><feFuncG type="linear" slope="${c2.g - c1.g}" intercept="${c1.g}"/><feFuncB type="linear" slope="${c2.b - c1.b}" intercept="${c1.b}"/></feComponentTransfer>`;
1668
1668
  }
1669
- function getDuotoneImageFilter(element, elementId = chunkKV3EOLP3_js.isImageLikeElement(element) ? element.id : "") {
1669
+ function getDuotoneImageFilter(element, elementId = chunkCYZLRYJV_js.isImageLikeElement(element) ? element.id : "") {
1670
1670
  const effects = getEffects(element);
1671
1671
  if (!effects?.duotone) {
1672
1672
  return void 0;
@@ -1768,7 +1768,7 @@ function buildImageAlphaFilterMarkup(effects) {
1768
1768
  }
1769
1769
  return parts.length > 0 ? parts.join("") : void 0;
1770
1770
  }
1771
- function getImageAlphaFilter(element, elementId = chunkKV3EOLP3_js.isImageLikeElement(element) ? element.id : "") {
1771
+ function getImageAlphaFilter(element, elementId = chunkCYZLRYJV_js.isImageLikeElement(element) ? element.id : "") {
1772
1772
  const effects = getEffects(element);
1773
1773
  if (!effects || !hasAdvancedImageAlphaEffects(element)) {
1774
1774
  return void 0;
@@ -1858,7 +1858,7 @@ function buildArtisticFilterMarkup(effectName, radius) {
1858
1858
  return void 0;
1859
1859
  }
1860
1860
  }
1861
- function getArtisticImageFilter(element, elementId = chunkKV3EOLP3_js.isImageLikeElement(element) ? element.id : "") {
1861
+ function getArtisticImageFilter(element, elementId = chunkCYZLRYJV_js.isImageLikeElement(element) ? element.id : "") {
1862
1862
  const effects = getEffects(element);
1863
1863
  if (!effects?.artisticEffect || !needsSvgArtisticFilter(effects.artisticEffect)) {
1864
1864
  return void 0;
@@ -2817,7 +2817,7 @@ function convertChildren(node) {
2817
2817
  if (key.startsWith("@_")) {
2818
2818
  continue;
2819
2819
  }
2820
- const tag = chunkKV3EOLP3_js.stripXmlOrderSuffix(key);
2820
+ const tag = chunkCYZLRYJV_js.stripXmlOrderSuffix(key);
2821
2821
  if (tag === "m:oMathPara") {
2822
2822
  continue;
2823
2823
  }
@@ -2889,7 +2889,7 @@ function findOmathRoots(node) {
2889
2889
  }
2890
2890
  }
2891
2891
  const contentTags = /* @__PURE__ */ new Set(["m:r", "m:f", "m:rad", "m:sSup", "m:sSub", "m:box"]);
2892
- if (Object.keys(node).some((key) => contentTags.has(chunkKV3EOLP3_js.stripXmlOrderSuffix(key)))) {
2892
+ if (Object.keys(node).some((key) => contentTags.has(chunkCYZLRYJV_js.stripXmlOrderSuffix(key)))) {
2893
2893
  return [node];
2894
2894
  }
2895
2895
  return [];
@@ -3099,7 +3099,7 @@ function mergeSiblings(nodes) {
3099
3099
  }
3100
3100
  const ordered = {};
3101
3101
  for (const [position, [key, value]] of entries.entries()) {
3102
- ordered[(counts.get(key) ?? 0) > 1 ? chunkKV3EOLP3_js.orderedXmlKey(key, position) : key] = value;
3102
+ ordered[(counts.get(key) ?? 0) > 1 ? chunkCYZLRYJV_js.orderedXmlKey(key, position) : key] = value;
3103
3103
  }
3104
3104
  return ordered;
3105
3105
  }
@@ -3503,7 +3503,7 @@ function ommlChildrenToLatex(node) {
3503
3503
  if (key.startsWith("@_")) {
3504
3504
  continue;
3505
3505
  }
3506
- const tag = chunkKV3EOLP3_js.stripXmlOrderSuffix(key);
3506
+ const tag = chunkCYZLRYJV_js.stripXmlOrderSuffix(key);
3507
3507
  const items = ensureArr(node[key]);
3508
3508
  for (const item of items) {
3509
3509
  const result = ommlElementToLatex(tag, item);
@@ -12112,7 +12112,7 @@ function rotateDelta(dx, dy, rotationDeg) {
12112
12112
  }
12113
12113
  function applyResize(box, handle, dxScreen, dyScreen, zoom, opts = {}) {
12114
12114
  const scale = zoom || 1;
12115
- const minSize = opts.minSize ?? chunkKV3EOLP3_js.MIN_ELEMENT_SIZE;
12115
+ const minSize = opts.minSize ?? chunkCYZLRYJV_js.MIN_ELEMENT_SIZE;
12116
12116
  const rotation = rotationOf(box);
12117
12117
  const local = rotateDelta(dxScreen / scale, dyScreen / scale, rotation);
12118
12118
  const dx = local.x;
@@ -12139,7 +12139,7 @@ function applyResize(box, handle, dxScreen, dyScreen, zoom, opts = {}) {
12139
12139
  }
12140
12140
  return { x: newX, y: newY, width: newW, height: newH, rotation };
12141
12141
  }
12142
- function snapBoxToGrid(box, handle, gridSpacingPx, minSize = chunkKV3EOLP3_js.MIN_ELEMENT_SIZE) {
12142
+ function snapBoxToGrid(box, handle, gridSpacingPx, minSize = chunkCYZLRYJV_js.MIN_ELEMENT_SIZE) {
12143
12143
  if (handle === null || gridSpacingPx <= 0) {
12144
12144
  return box;
12145
12145
  }
@@ -12169,7 +12169,7 @@ function snapBoxToGrid(box, handle, gridSpacingPx, minSize = chunkKV3EOLP3_js.MI
12169
12169
  }
12170
12170
  return { x, y, width, height };
12171
12171
  }
12172
- function computeMarqueeHitIds(marquee, elements, minSize = chunkKV3EOLP3_js.MIN_ELEMENT_SIZE) {
12172
+ function computeMarqueeHitIds(marquee, elements, minSize = chunkCYZLRYJV_js.MIN_ELEMENT_SIZE) {
12173
12173
  const minX = Math.min(marquee.startX, marquee.currentX);
12174
12174
  const minY = Math.min(marquee.startY, marquee.currentY);
12175
12175
  const maxX = Math.max(marquee.startX, marquee.currentX);
@@ -13724,7 +13724,7 @@ var THEME_COLOR_LABELS = {
13724
13724
  };
13725
13725
  function buildThemeColorGrid(colorScheme) {
13726
13726
  return THEME_COLOR_TINT_ROWS.map(
13727
- (row) => chunkKV3EOLP3_js.THEME_COLOR_SCHEME_KEYS.map((key) => ({
13727
+ (row) => chunkCYZLRYJV_js.THEME_COLOR_SCHEME_KEYS.map((key) => ({
13728
13728
  hex: row.transform(colorScheme[key]),
13729
13729
  schemeKey: key,
13730
13730
  rowLabel: row.label,
@@ -14200,7 +14200,7 @@ function svgLineCap(lineCap) {
14200
14200
  }
14201
14201
  function copyFormatFromElement(element) {
14202
14202
  const result = {};
14203
- if (chunkKV3EOLP3_js.hasShapeProperties(element) && element.shapeStyle) {
14203
+ if (chunkCYZLRYJV_js.hasShapeProperties(element) && element.shapeStyle) {
14204
14204
  const s = element.shapeStyle;
14205
14205
  result.shapeStyle = {
14206
14206
  fillColor: s.fillColor,
@@ -14229,7 +14229,7 @@ function copyFormatFromElement(element) {
14229
14229
  softEdgeRadius: s.softEdgeRadius
14230
14230
  };
14231
14231
  }
14232
- if (chunkKV3EOLP3_js.hasTextProperties(element) && element.textStyle) {
14232
+ if (chunkCYZLRYJV_js.hasTextProperties(element) && element.textStyle) {
14233
14233
  const t = element.textStyle;
14234
14234
  result.textStyle = {
14235
14235
  fontFamily: t.fontFamily,
@@ -14260,7 +14260,7 @@ function definedEntries(obj) {
14260
14260
  }
14261
14261
  function applyFormatToElement(element, format) {
14262
14262
  let updated = { ...element };
14263
- if (format.shapeStyle && chunkKV3EOLP3_js.hasShapeProperties(updated)) {
14263
+ if (format.shapeStyle && chunkCYZLRYJV_js.hasShapeProperties(updated)) {
14264
14264
  updated = {
14265
14265
  ...updated,
14266
14266
  shapeStyle: {
@@ -14269,7 +14269,7 @@ function applyFormatToElement(element, format) {
14269
14269
  }
14270
14270
  };
14271
14271
  }
14272
- if (format.textStyle && chunkKV3EOLP3_js.hasTextProperties(updated)) {
14272
+ if (format.textStyle && chunkCYZLRYJV_js.hasTextProperties(updated)) {
14273
14273
  updated = {
14274
14274
  ...updated,
14275
14275
  textStyle: {
@@ -14284,7 +14284,7 @@ function hasCopyableFormat(element) {
14284
14284
  if (!element) {
14285
14285
  return false;
14286
14286
  }
14287
- return chunkKV3EOLP3_js.hasShapeProperties(element) || chunkKV3EOLP3_js.hasTextProperties(element);
14287
+ return chunkCYZLRYJV_js.hasShapeProperties(element) || chunkCYZLRYJV_js.hasTextProperties(element);
14288
14288
  }
14289
14289
  function copySegmentMetadata(from, to) {
14290
14290
  if (from.equationXml !== void 0) {
@@ -14421,7 +14421,7 @@ function getRoundRectRadiusPx(element) {
14421
14421
  return Math.min(Math.max(element.width, 1), Math.max(element.height, 1)) * 0.5 * normalizedAdjustment;
14422
14422
  }
14423
14423
  function getShapeAdjustmentHandleDescriptor(element) {
14424
- if (!chunkKV3EOLP3_js.hasShapeProperties(element)) {
14424
+ if (!chunkCYZLRYJV_js.hasShapeProperties(element)) {
14425
14425
  return null;
14426
14426
  }
14427
14427
  const normalizedShapeType = String(element.shapeType || "").toLowerCase();
@@ -15413,7 +15413,7 @@ function createSyncGate(onOpen, graceMs = INITIAL_SYNC_GRACE_MS) {
15413
15413
  var POSITION_THRESHOLD = 2;
15414
15414
  var SIZE_THRESHOLD = 2;
15415
15415
  function getElementText(element) {
15416
- if (!chunkKV3EOLP3_js.hasTextProperties(element)) {
15416
+ if (!chunkCYZLRYJV_js.hasTextProperties(element)) {
15417
15417
  return "";
15418
15418
  }
15419
15419
  if (element.textSegments && element.textSegments.length > 0) {
@@ -18987,7 +18987,7 @@ function getAriaRole(element) {
18987
18987
  case "model3d":
18988
18988
  return "img";
18989
18989
  case "shape": {
18990
- if (chunkKV3EOLP3_js.hasTextProperties(element) && element.text) {
18990
+ if (chunkCYZLRYJV_js.hasTextProperties(element) && element.text) {
18991
18991
  return "group";
18992
18992
  }
18993
18993
  return "img";
@@ -19000,7 +19000,7 @@ function getAriaLabel(element) {
19000
19000
  if ((element.type === "image" || element.type === "picture") && "altText" in element && typeof element.altText === "string" && element.altText.trim()) {
19001
19001
  return element.altText.trim();
19002
19002
  }
19003
- if (chunkKV3EOLP3_js.hasTextProperties(element) && element.text) {
19003
+ if (chunkCYZLRYJV_js.hasTextProperties(element) && element.text) {
19004
19004
  const text = element.text.trim();
19005
19005
  if (text) {
19006
19006
  return text.length > 120 ? `${text.slice(0, 117)}...` : text;
@@ -19407,7 +19407,7 @@ var DEFAULT_CHART_POSITION = { x: 120, y: 120, width: 480, height: 320 };
19407
19407
  var DEFAULT_CATEGORIES = ["Category 1", "Category 2", "Category 3"];
19408
19408
  var DEFAULT_SERIES_VALUES = [4, 3, 5];
19409
19409
  function createDefaultChartElement(chartType = DEFAULT_INSERT_CHART_TYPE, position) {
19410
- return chunkKV3EOLP3_js.createChartElement(
19410
+ return chunkCYZLRYJV_js.createChartElement(
19411
19411
  chartType,
19412
19412
  {
19413
19413
  categories: [...DEFAULT_CATEGORIES],
@@ -20427,7 +20427,7 @@ function computeVirtualRange(totalItems, itemHeight, scrollTop, viewportHeight,
20427
20427
  };
20428
20428
  }
20429
20429
  function collectFontsFromElement(element, fonts) {
20430
- if (chunkKV3EOLP3_js.hasTextProperties(element)) {
20430
+ if (chunkCYZLRYJV_js.hasTextProperties(element)) {
20431
20431
  if (element.textStyle?.fontFamily) {
20432
20432
  fonts.add(element.textStyle.fontFamily);
20433
20433
  }
@@ -20477,15 +20477,21 @@ async function scanAvailableFontFamilies(families, source = browserFontSource())
20477
20477
  return /* @__PURE__ */ new Set();
20478
20478
  }
20479
20479
  }
20480
- var VIEWER_PREFERENCE_TOGGLES = [
20481
- { key: "autoSave", labelKey: "pptx.settings.autoSave" },
20482
- { key: "spellCheck", labelKey: "pptx.settings.spellCheck" },
20483
- { key: "showGrid", labelKey: "pptx.settings.showGrid" },
20484
- { key: "showRulers", labelKey: "pptx.settings.showRulers" },
20485
- { key: "snapToGrid", labelKey: "pptx.settings.snapToGrid" },
20486
- { key: "reducedMotion", labelKey: "pptx.settings.reducedMotion" }
20480
+ var VIEWER_SHORTCUT_REFERENCE = [
20481
+ { actionKey: "pptx.toolbar.undo", shortcut: "Ctrl/Cmd+Z" },
20482
+ { actionKey: "pptx.toolbar.redo", shortcut: "Ctrl/Cmd+Shift+Z or Ctrl/Cmd+Y" },
20483
+ { actionKey: "pptx.shortcuts.action.copyElement", shortcut: "Ctrl/Cmd+C" },
20484
+ { actionKey: "pptx.shortcuts.action.cutElement", shortcut: "Ctrl/Cmd+X" },
20485
+ { actionKey: "pptx.shortcuts.action.pasteElement", shortcut: "Ctrl/Cmd+V" },
20486
+ { actionKey: "pptx.shortcuts.action.duplicateElement", shortcut: "Ctrl/Cmd+D" },
20487
+ { actionKey: "pptx.shortcuts.action.deleteElement", shortcut: "Delete / Backspace" },
20488
+ { actionKey: "pptx.shortcuts.action.nudgeElement", shortcut: "Arrow keys" },
20489
+ { actionKey: "pptx.shortcuts.action.nudgeElementLarge", shortcut: "Shift+Arrow keys" },
20490
+ { actionKey: "pptx.shortcuts.action.zoomCanvas", shortcut: "Ctrl/Cmd+Mouse wheel" },
20491
+ { actionKey: "pptx.shortcuts.action.commitTextEdit", shortcut: "Ctrl/Cmd+Enter" },
20492
+ { actionKey: "pptx.shortcuts.action.cancelTextEdit", shortcut: "Escape" }
20487
20493
  ];
20488
- var SETTING_TOGGLES = VIEWER_PREFERENCE_TOGGLES;
20494
+ var SHORTCUT_REFERENCE_ITEMS = VIEWER_SHORTCUT_REFERENCE;
20489
20495
  function shouldLoopContinuously(input) {
20490
20496
  return Boolean(input.loopContinuously) || input.showType === "kiosk";
20491
20497
  }
@@ -20605,6 +20611,850 @@ var TOOLBAR_TABS = [
20605
20611
  function isActionHidden(id, hiddenActions) {
20606
20612
  return hiddenActions !== void 0 && hiddenActions.includes(id);
20607
20613
  }
20614
+ var QUICK_ACCESS_COMMAND_CATALOG = [
20615
+ { id: "save", labelKey: "pptx.toolbar.save", icon: "save" },
20616
+ { id: "undo", labelKey: "pptx.toolbar.undo", icon: "undo" },
20617
+ { id: "redo", labelKey: "pptx.toolbar.redo", icon: "redo" },
20618
+ {
20619
+ id: "presentFromStart",
20620
+ labelKey: "pptx.options.quickAccess.command.presentFromStart",
20621
+ icon: "play"
20622
+ },
20623
+ { id: "print", labelKey: "pptx.options.quickAccess.command.print", icon: "printer" },
20624
+ { id: "exportPdf", labelKey: "pptx.options.quickAccess.command.exportPdf", icon: "fileDown" },
20625
+ { id: "newSlide", labelKey: "pptx.options.quickAccess.command.newSlide", icon: "plus" },
20626
+ { id: "spellCheck", labelKey: "pptx.settings.spellCheck", icon: "spellCheck" },
20627
+ { id: "zoomIn", labelKey: "pptx.options.quickAccess.command.zoomIn", icon: "zoomIn" },
20628
+ { id: "zoomOut", labelKey: "pptx.options.quickAccess.command.zoomOut", icon: "zoomOut" }
20629
+ ];
20630
+ var DEFAULT_QUICK_ACCESS_COMMAND_IDS = [
20631
+ "save",
20632
+ "undo",
20633
+ "redo",
20634
+ "presentFromStart"
20635
+ ];
20636
+ function getQuickAccessCommand(id) {
20637
+ return QUICK_ACCESS_COMMAND_CATALOG.find((entry) => entry.id === id);
20638
+ }
20639
+ function availableQuickAccessCommands(commandIds) {
20640
+ return QUICK_ACCESS_COMMAND_CATALOG.filter((entry) => !commandIds.includes(entry.id));
20641
+ }
20642
+ function addQuickAccessCommand(commandIds, id) {
20643
+ if (commandIds.includes(id) || !getQuickAccessCommand(id)) {
20644
+ return [...commandIds];
20645
+ }
20646
+ return [...commandIds, id];
20647
+ }
20648
+ function removeQuickAccessCommand(commandIds, id) {
20649
+ return commandIds.filter((entry) => entry !== id);
20650
+ }
20651
+ function moveQuickAccessCommand(commandIds, id, direction) {
20652
+ const index = commandIds.indexOf(id);
20653
+ const target = direction === "up" ? index - 1 : index + 1;
20654
+ if (index < 0 || target < 0 || target >= commandIds.length) {
20655
+ return [...commandIds];
20656
+ }
20657
+ const next = [...commandIds];
20658
+ const swapped = next[target];
20659
+ if (swapped === void 0) {
20660
+ return next;
20661
+ }
20662
+ next[target] = id;
20663
+ next[index] = swapped;
20664
+ return next;
20665
+ }
20666
+ var VIEWER_ADDIN_CATALOG = [
20667
+ {
20668
+ id: "smartArt3d",
20669
+ nameKey: "pptx.options.addIns.smartArt3d",
20670
+ descriptionKey: "pptx.options.addIns.smartArt3dDescription",
20671
+ type: "renderer",
20672
+ location: "pptx-viewer-shared/smartart-3d"
20673
+ },
20674
+ {
20675
+ id: "model3d",
20676
+ nameKey: "pptx.options.addIns.model3d",
20677
+ descriptionKey: "pptx.options.addIns.model3dDescription",
20678
+ type: "renderer",
20679
+ location: "pptx-viewer-shared (three)"
20680
+ },
20681
+ {
20682
+ id: "emfConverter",
20683
+ nameKey: "pptx.options.addIns.emfConverter",
20684
+ descriptionKey: "pptx.options.addIns.emfConverterDescription",
20685
+ type: "converter",
20686
+ location: "emf-converter"
20687
+ },
20688
+ {
20689
+ id: "mtxDecompressor",
20690
+ nameKey: "pptx.options.addIns.mtxDecompressor",
20691
+ descriptionKey: "pptx.options.addIns.mtxDecompressorDescription",
20692
+ type: "converter",
20693
+ location: "mtx-decompressor"
20694
+ },
20695
+ {
20696
+ id: "collaboration",
20697
+ nameKey: "pptx.options.addIns.collaboration",
20698
+ descriptionKey: "pptx.options.addIns.collaborationDescription",
20699
+ type: "collaboration",
20700
+ location: "pptx-viewer-shared (collaboration)"
20701
+ },
20702
+ {
20703
+ id: "locales",
20704
+ nameKey: "pptx.options.addIns.locales",
20705
+ descriptionKey: "pptx.options.addIns.localesDescription",
20706
+ type: "localization",
20707
+ location: "pptx-viewer-locales"
20708
+ }
20709
+ ];
20710
+ function resolveViewerAddinRows(status) {
20711
+ return VIEWER_ADDIN_CATALOG.map((definition) => ({
20712
+ ...definition,
20713
+ active: status?.[definition.id] ?? true
20714
+ }));
20715
+ }
20716
+ var DEFAULT_VIEWER_OPTIONS = {
20717
+ general: {
20718
+ displayOptimization: "appearance",
20719
+ showMiniToolbar: true,
20720
+ enableLivePreview: true,
20721
+ collapseRibbonAutomatically: false,
20722
+ collapseSearchByDefault: false,
20723
+ screenTipStyle: "descriptions",
20724
+ userName: "",
20725
+ userInitials: "",
20726
+ showStartScreen: true
20727
+ },
20728
+ proofing: {
20729
+ autoCorrectTwoInitialCapitals: true,
20730
+ autoCorrectCapitalizeFirstLetter: true,
20731
+ autoCorrectCapitalizeDayNames: true,
20732
+ autoCorrectSmartQuotes: true,
20733
+ autoCorrectHyphensToDash: true,
20734
+ autoCorrectFractions: true,
20735
+ autoCorrectOrdinals: true,
20736
+ ignoreUppercase: true,
20737
+ ignoreWordsWithNumbers: true,
20738
+ ignoreInternetAddresses: true,
20739
+ flagRepeatedWords: true,
20740
+ checkSpellingAsYouType: false,
20741
+ hideSpellingErrors: false
20742
+ },
20743
+ save: {
20744
+ autoSave: true,
20745
+ autoRecoverIntervalMinutes: 2,
20746
+ keepLastAutoRecoveredVersion: true,
20747
+ defaultExportFormat: "pptx",
20748
+ embedFonts: false,
20749
+ embedAllFontCharacters: false,
20750
+ cacheRetentionDays: 14,
20751
+ clearCacheOnClose: false
20752
+ },
20753
+ accessibility: {
20754
+ showAccessibilityStatus: true,
20755
+ feedbackWithSound: false,
20756
+ soundScheme: "modern",
20757
+ showShortcutKeysInScreenTips: true,
20758
+ reducedMotion: false
20759
+ },
20760
+ advanced: {
20761
+ autoSelectEntireWord: true,
20762
+ allowTextDragAndDrop: true,
20763
+ maximumUndoSteps: 100,
20764
+ useSmartCutAndPaste: true,
20765
+ showPasteOptionsButton: true,
20766
+ imageDefaultResolution: "highFidelity",
20767
+ doNotCompressImages: false,
20768
+ chartPropertiesFollowDataPoint: true,
20769
+ recentPresentationsCount: 50,
20770
+ showVerticalRuler: false,
20771
+ showGrid: false,
20772
+ snapToGrid: false,
20773
+ disableHardwareAcceleration: false,
20774
+ openDocumentsView: "savedView",
20775
+ slideShowShowMenuOnRightClick: true,
20776
+ slideShowShowPopupToolbar: true,
20777
+ slideShowPromptKeepInkAnnotations: true,
20778
+ slideShowEndWithBlackSlide: true,
20779
+ printInBackground: true,
20780
+ printHighQuality: false,
20781
+ printUseMostRecentSettings: true,
20782
+ printWhat: "slides",
20783
+ printColorMode: "color",
20784
+ printHiddenSlides: false,
20785
+ printScaleToFit: false,
20786
+ printFrameSlides: false
20787
+ },
20788
+ ribbon: { hiddenTabIds: [] },
20789
+ quickAccess: {
20790
+ visible: true,
20791
+ position: "above",
20792
+ showCommandLabels: false,
20793
+ commandIds: ["save", "undo", "redo", "presentFromStart"]
20794
+ },
20795
+ trust: {
20796
+ openInProtectedView: false,
20797
+ allowExternalContent: true,
20798
+ confirmExternalHyperlinks: true
20799
+ }
20800
+ };
20801
+ function cloneOptions(options) {
20802
+ return {
20803
+ general: { ...options.general },
20804
+ proofing: { ...options.proofing },
20805
+ save: { ...options.save },
20806
+ accessibility: { ...options.accessibility },
20807
+ advanced: { ...options.advanced },
20808
+ ribbon: { hiddenTabIds: [...options.ribbon.hiddenTabIds] },
20809
+ quickAccess: { ...options.quickAccess, commandIds: [...options.quickAccess.commandIds] },
20810
+ trust: { ...options.trust }
20811
+ };
20812
+ }
20813
+ function mergeViewerOptions(stored) {
20814
+ const merged = cloneOptions(DEFAULT_VIEWER_OPTIONS);
20815
+ if (!stored || typeof stored !== "object") {
20816
+ return merged;
20817
+ }
20818
+ for (const groupId of Object.keys(merged)) {
20819
+ const patch = stored[groupId];
20820
+ if (!patch || typeof patch !== "object") {
20821
+ continue;
20822
+ }
20823
+ const target = merged[groupId];
20824
+ const defaults = DEFAULT_VIEWER_OPTIONS[groupId];
20825
+ for (const [key, value] of Object.entries(patch)) {
20826
+ if (!(key in defaults) || value === void 0) {
20827
+ continue;
20828
+ }
20829
+ const defaultValue = defaults[key];
20830
+ if (Array.isArray(defaultValue)) {
20831
+ if (Array.isArray(value)) {
20832
+ target[key] = value.filter((entry) => typeof entry === "string");
20833
+ }
20834
+ } else if (typeof value === typeof defaultValue) {
20835
+ target[key] = value;
20836
+ }
20837
+ }
20838
+ }
20839
+ return merged;
20840
+ }
20841
+ function diffViewerOptions(options) {
20842
+ const diff = {};
20843
+ for (const groupId of Object.keys(DEFAULT_VIEWER_OPTIONS)) {
20844
+ const defaults = DEFAULT_VIEWER_OPTIONS[groupId];
20845
+ const current = options[groupId];
20846
+ let groupDiff;
20847
+ for (const key of Object.keys(defaults)) {
20848
+ const defaultValue = defaults[key];
20849
+ const value = current[key];
20850
+ const changed = Array.isArray(defaultValue) ? JSON.stringify(defaultValue) !== JSON.stringify(value) : defaultValue !== value;
20851
+ if (changed) {
20852
+ groupDiff ??= {};
20853
+ groupDiff[key] = value;
20854
+ }
20855
+ }
20856
+ if (groupDiff) {
20857
+ diff[groupId] = groupDiff;
20858
+ }
20859
+ }
20860
+ return diff;
20861
+ }
20862
+ function viewerOptionsToPreferences(options) {
20863
+ return {
20864
+ autoSave: options.save.autoSave,
20865
+ spellCheck: options.proofing.checkSpellingAsYouType,
20866
+ showGrid: options.advanced.showGrid,
20867
+ showRulers: options.advanced.showVerticalRuler,
20868
+ snapToGrid: options.advanced.snapToGrid,
20869
+ reducedMotion: options.accessibility.reducedMotion
20870
+ };
20871
+ }
20872
+ function applyPreferenceToOptions(options, key, value) {
20873
+ const next = cloneOptions(options);
20874
+ switch (key) {
20875
+ case "autoSave":
20876
+ next.save.autoSave = value;
20877
+ break;
20878
+ case "spellCheck":
20879
+ next.proofing.checkSpellingAsYouType = value;
20880
+ break;
20881
+ case "showGrid":
20882
+ next.advanced.showGrid = value;
20883
+ break;
20884
+ case "showRulers":
20885
+ next.advanced.showVerticalRuler = value;
20886
+ break;
20887
+ case "snapToGrid":
20888
+ next.advanced.snapToGrid = value;
20889
+ break;
20890
+ case "reducedMotion":
20891
+ next.accessibility.reducedMotion = value;
20892
+ break;
20893
+ }
20894
+ return next;
20895
+ }
20896
+ function shouldConfirmExternalHyperlink(options, href) {
20897
+ if (!options.trust.confirmExternalHyperlinks) {
20898
+ return false;
20899
+ }
20900
+ return /^https?:/i.test(href);
20901
+ }
20902
+ function toggle(group, key, labelKey, extra) {
20903
+ return { kind: "toggle", group, key, labelKey, ...extra };
20904
+ }
20905
+ function select(group, key, labelKey, choiceList) {
20906
+ return { kind: "select", group, key, labelKey, choices: choiceList };
20907
+ }
20908
+ function numberControl(group, key, labelKey, min, max, unitKey) {
20909
+ return { kind: "number", group, key, labelKey, min, max, unitKey };
20910
+ }
20911
+ function textControl(group, key, labelKey) {
20912
+ return { kind: "text", group, key, labelKey, maxLength: 64 };
20913
+ }
20914
+ function choices(prefix, values) {
20915
+ return values.map((value) => ({ value, labelKey: `${prefix}.${value}` }));
20916
+ }
20917
+ var SCREEN_TIP_CHOICES = choices("pptx.options.screenTipStyle", [
20918
+ "descriptions",
20919
+ "plain",
20920
+ "off"
20921
+ ]);
20922
+ var ADVANCED_TAB = {
20923
+ id: "advanced",
20924
+ labelKey: "pptx.options.advanced.label",
20925
+ descriptionKey: "pptx.options.advanced.description",
20926
+ sections: [
20927
+ {
20928
+ id: "editing",
20929
+ titleKey: "pptx.options.advanced.editing",
20930
+ controls: [
20931
+ toggle("advanced", "autoSelectEntireWord", "pptx.options.advanced.autoSelectWord"),
20932
+ toggle("advanced", "allowTextDragAndDrop", "pptx.options.advanced.textDragAndDrop"),
20933
+ numberControl(
20934
+ "advanced",
20935
+ "maximumUndoSteps",
20936
+ "pptx.options.advanced.maximumUndoSteps",
20937
+ 3,
20938
+ 150
20939
+ )
20940
+ ]
20941
+ },
20942
+ {
20943
+ id: "cutCopyPaste",
20944
+ titleKey: "pptx.options.advanced.cutCopyPaste",
20945
+ controls: [
20946
+ toggle("advanced", "useSmartCutAndPaste", "pptx.options.advanced.smartCutAndPaste"),
20947
+ toggle("advanced", "showPasteOptionsButton", "pptx.options.advanced.showPasteOptions")
20948
+ ]
20949
+ },
20950
+ {
20951
+ id: "imageQuality",
20952
+ titleKey: "pptx.options.advanced.imageQuality",
20953
+ controls: [
20954
+ toggle("advanced", "doNotCompressImages", "pptx.options.advanced.doNotCompressImages"),
20955
+ select(
20956
+ "advanced",
20957
+ "imageDefaultResolution",
20958
+ "pptx.options.advanced.defaultResolution",
20959
+ choices("pptx.options.resolution", [
20960
+ "highFidelity",
20961
+ "ppi330",
20962
+ "ppi220",
20963
+ "ppi150",
20964
+ "ppi96"
20965
+ ])
20966
+ )
20967
+ ]
20968
+ },
20969
+ {
20970
+ id: "chart",
20971
+ titleKey: "pptx.options.advanced.chart",
20972
+ controls: [
20973
+ toggle(
20974
+ "advanced",
20975
+ "chartPropertiesFollowDataPoint",
20976
+ "pptx.options.advanced.chartFollowDataPoint"
20977
+ )
20978
+ ]
20979
+ },
20980
+ {
20981
+ id: "display",
20982
+ titleKey: "pptx.options.advanced.display",
20983
+ controls: [
20984
+ numberControl(
20985
+ "advanced",
20986
+ "recentPresentationsCount",
20987
+ "pptx.options.advanced.recentCount",
20988
+ 0,
20989
+ 50
20990
+ ),
20991
+ toggle("advanced", "showVerticalRuler", "pptx.settings.showRulers"),
20992
+ toggle("advanced", "showGrid", "pptx.settings.showGrid"),
20993
+ toggle("advanced", "snapToGrid", "pptx.settings.snapToGrid"),
20994
+ toggle(
20995
+ "advanced",
20996
+ "disableHardwareAcceleration",
20997
+ "pptx.options.advanced.disableHardwareAcceleration"
20998
+ ),
20999
+ select(
21000
+ "advanced",
21001
+ "openDocumentsView",
21002
+ "pptx.options.advanced.openDocumentsView",
21003
+ choices("pptx.options.openView", [
21004
+ "savedView",
21005
+ "normal",
21006
+ "outline",
21007
+ "slideSorter",
21008
+ "notes"
21009
+ ])
21010
+ )
21011
+ ]
21012
+ },
21013
+ {
21014
+ id: "slideShow",
21015
+ titleKey: "pptx.options.advanced.slideShow",
21016
+ controls: [
21017
+ toggle(
21018
+ "advanced",
21019
+ "slideShowShowMenuOnRightClick",
21020
+ "pptx.options.advanced.showMenuOnRightClick"
21021
+ ),
21022
+ toggle("advanced", "slideShowShowPopupToolbar", "pptx.options.advanced.showPopupToolbar"),
21023
+ toggle(
21024
+ "advanced",
21025
+ "slideShowPromptKeepInkAnnotations",
21026
+ "pptx.options.advanced.promptKeepInk"
21027
+ ),
21028
+ toggle("advanced", "slideShowEndWithBlackSlide", "pptx.options.advanced.endWithBlackSlide")
21029
+ ]
21030
+ },
21031
+ {
21032
+ id: "print",
21033
+ titleKey: "pptx.options.advanced.print",
21034
+ controls: [
21035
+ toggle("advanced", "printInBackground", "pptx.options.advanced.printInBackground"),
21036
+ toggle("advanced", "printHighQuality", "pptx.options.advanced.printHighQuality"),
21037
+ toggle(
21038
+ "advanced",
21039
+ "printUseMostRecentSettings",
21040
+ "pptx.options.advanced.printUseMostRecent"
21041
+ ),
21042
+ select(
21043
+ "advanced",
21044
+ "printWhat",
21045
+ "pptx.options.advanced.printWhat",
21046
+ choices("pptx.options.printWhat", ["slides", "handouts", "notes", "outline"])
21047
+ ),
21048
+ select(
21049
+ "advanced",
21050
+ "printColorMode",
21051
+ "pptx.options.advanced.printColorMode",
21052
+ choices("pptx.options.printColorMode", ["color", "grayscale", "blackAndWhite"])
21053
+ ),
21054
+ toggle("advanced", "printHiddenSlides", "pptx.options.advanced.printHiddenSlides", {
21055
+ indent: true
21056
+ }),
21057
+ toggle("advanced", "printScaleToFit", "pptx.options.advanced.printScaleToFit", {
21058
+ indent: true
21059
+ }),
21060
+ toggle("advanced", "printFrameSlides", "pptx.options.advanced.printFrameSlides", {
21061
+ indent: true
21062
+ })
21063
+ ]
21064
+ }
21065
+ ]
21066
+ };
21067
+ var RIBBON_TAB = {
21068
+ id: "ribbon",
21069
+ labelKey: "pptx.options.ribbon.label",
21070
+ descriptionKey: "pptx.options.ribbon.description",
21071
+ custom: "ribbon",
21072
+ sections: [
21073
+ {
21074
+ id: "shortcutReference",
21075
+ titleKey: "pptx.settings.keyboardShortcuts",
21076
+ special: "shortcutReference",
21077
+ controls: []
21078
+ }
21079
+ ]
21080
+ };
21081
+ var QUICK_ACCESS_TAB = {
21082
+ id: "quickAccess",
21083
+ labelKey: "pptx.options.quickAccess.label",
21084
+ descriptionKey: "pptx.options.quickAccess.description",
21085
+ custom: "quickAccess",
21086
+ sections: [
21087
+ {
21088
+ id: "quickAccessOptions",
21089
+ titleKey: "pptx.options.quickAccess.optionsTitle",
21090
+ controls: [
21091
+ toggle("quickAccess", "visible", "pptx.options.quickAccess.show"),
21092
+ select(
21093
+ "quickAccess",
21094
+ "position",
21095
+ "pptx.options.quickAccess.position",
21096
+ choices("pptx.options.quickAccessPosition", ["above", "below"])
21097
+ ),
21098
+ toggle("quickAccess", "showCommandLabels", "pptx.options.quickAccess.showLabels")
21099
+ ]
21100
+ }
21101
+ ]
21102
+ };
21103
+ var ADD_INS_TAB = {
21104
+ id: "addIns",
21105
+ labelKey: "pptx.options.addIns.label",
21106
+ descriptionKey: "pptx.options.addIns.description",
21107
+ custom: "addIns",
21108
+ sections: []
21109
+ };
21110
+ var TRUST_TAB = {
21111
+ id: "trust",
21112
+ labelKey: "pptx.options.trust.label",
21113
+ descriptionKey: "pptx.options.trust.description",
21114
+ sections: [
21115
+ {
21116
+ id: "trustSettings",
21117
+ titleKey: "pptx.options.trust.settingsTitle",
21118
+ descriptionKey: "pptx.options.trust.settingsDescription",
21119
+ controls: [
21120
+ toggle("trust", "openInProtectedView", "pptx.options.trust.protectedView", {
21121
+ infoKey: "pptx.options.trust.protectedViewInfo"
21122
+ }),
21123
+ toggle("trust", "allowExternalContent", "pptx.options.trust.allowExternalContent", {
21124
+ infoKey: "pptx.options.trust.allowExternalContentInfo"
21125
+ }),
21126
+ toggle("trust", "confirmExternalHyperlinks", "pptx.options.trust.confirmHyperlinks")
21127
+ ]
21128
+ }
21129
+ ]
21130
+ };
21131
+ var GENERAL_TAB = {
21132
+ id: "general",
21133
+ labelKey: "pptx.settings.general",
21134
+ descriptionKey: "pptx.options.general.description",
21135
+ sections: [
21136
+ {
21137
+ id: "userInterface",
21138
+ titleKey: "pptx.options.general.userInterface",
21139
+ controls: [
21140
+ select(
21141
+ "general",
21142
+ "displayOptimization",
21143
+ "pptx.options.general.displayOptimization",
21144
+ choices("pptx.options.displayOptimization", ["appearance", "compatibility"])
21145
+ ),
21146
+ toggle("general", "showMiniToolbar", "pptx.options.general.showMiniToolbar", {
21147
+ infoKey: "pptx.options.general.showMiniToolbarInfo"
21148
+ }),
21149
+ toggle("general", "enableLivePreview", "pptx.options.general.enableLivePreview", {
21150
+ infoKey: "pptx.options.general.enableLivePreviewInfo"
21151
+ }),
21152
+ toggle("general", "collapseRibbonAutomatically", "pptx.options.general.collapseRibbon"),
21153
+ toggle("general", "collapseSearchByDefault", "pptx.options.general.collapseSearch"),
21154
+ select(
21155
+ "general",
21156
+ "screenTipStyle",
21157
+ "pptx.options.general.screenTipStyle",
21158
+ SCREEN_TIP_CHOICES
21159
+ )
21160
+ ]
21161
+ },
21162
+ {
21163
+ id: "personalize",
21164
+ titleKey: "pptx.options.general.personalize",
21165
+ controls: [
21166
+ textControl("general", "userName", "pptx.options.general.userName"),
21167
+ textControl("general", "userInitials", "pptx.options.general.userInitials")
21168
+ ]
21169
+ },
21170
+ {
21171
+ id: "appearance",
21172
+ titleKey: "pptx.options.general.appearance",
21173
+ special: "themePicker",
21174
+ controls: []
21175
+ },
21176
+ {
21177
+ id: "startup",
21178
+ titleKey: "pptx.options.general.startup",
21179
+ controls: [toggle("general", "showStartScreen", "pptx.options.general.showStartScreen")]
21180
+ }
21181
+ ]
21182
+ };
21183
+ var PROOFING_TAB = {
21184
+ id: "proofing",
21185
+ labelKey: "pptx.options.proofing.label",
21186
+ descriptionKey: "pptx.options.proofing.description",
21187
+ sections: [
21188
+ {
21189
+ id: "autoCorrect",
21190
+ titleKey: "pptx.options.proofing.autoCorrect",
21191
+ descriptionKey: "pptx.options.proofing.autoCorrectDescription",
21192
+ controls: [
21193
+ toggle(
21194
+ "proofing",
21195
+ "autoCorrectTwoInitialCapitals",
21196
+ "pptx.options.proofing.twoInitialCapitals"
21197
+ ),
21198
+ toggle(
21199
+ "proofing",
21200
+ "autoCorrectCapitalizeFirstLetter",
21201
+ "pptx.options.proofing.capitalizeFirstLetter"
21202
+ ),
21203
+ toggle(
21204
+ "proofing",
21205
+ "autoCorrectCapitalizeDayNames",
21206
+ "pptx.options.proofing.capitalizeDayNames"
21207
+ ),
21208
+ toggle("proofing", "autoCorrectSmartQuotes", "pptx.options.proofing.smartQuotes"),
21209
+ toggle("proofing", "autoCorrectHyphensToDash", "pptx.options.proofing.hyphensToDash"),
21210
+ toggle("proofing", "autoCorrectFractions", "pptx.options.proofing.fractions"),
21211
+ toggle("proofing", "autoCorrectOrdinals", "pptx.options.proofing.ordinals")
21212
+ ]
21213
+ },
21214
+ {
21215
+ id: "spellingOffice",
21216
+ titleKey: "pptx.options.proofing.spellingOffice",
21217
+ controls: [
21218
+ toggle("proofing", "ignoreUppercase", "pptx.options.proofing.ignoreUppercase"),
21219
+ toggle(
21220
+ "proofing",
21221
+ "ignoreWordsWithNumbers",
21222
+ "pptx.options.proofing.ignoreWordsWithNumbers"
21223
+ ),
21224
+ toggle(
21225
+ "proofing",
21226
+ "ignoreInternetAddresses",
21227
+ "pptx.options.proofing.ignoreInternetAddresses"
21228
+ ),
21229
+ toggle("proofing", "flagRepeatedWords", "pptx.options.proofing.flagRepeatedWords")
21230
+ ]
21231
+ },
21232
+ {
21233
+ id: "spellingViewer",
21234
+ titleKey: "pptx.options.proofing.spellingViewer",
21235
+ controls: [
21236
+ toggle(
21237
+ "proofing",
21238
+ "checkSpellingAsYouType",
21239
+ "pptx.options.proofing.checkSpellingAsYouType"
21240
+ ),
21241
+ toggle("proofing", "hideSpellingErrors", "pptx.options.proofing.hideSpellingErrors", {
21242
+ indent: true
21243
+ })
21244
+ ]
21245
+ }
21246
+ ]
21247
+ };
21248
+ var SAVE_TAB = {
21249
+ id: "save",
21250
+ labelKey: "pptx.options.save.label",
21251
+ descriptionKey: "pptx.options.save.description",
21252
+ sections: [
21253
+ {
21254
+ id: "savePresentations",
21255
+ titleKey: "pptx.options.save.savePresentations",
21256
+ controls: [
21257
+ toggle("save", "autoSave", "pptx.options.save.autoSave", {
21258
+ infoKey: "pptx.options.save.autoSaveInfo"
21259
+ }),
21260
+ select(
21261
+ "save",
21262
+ "defaultExportFormat",
21263
+ "pptx.options.save.defaultFormat",
21264
+ choices("pptx.options.saveFormat", ["pptx", "pdf", "png"])
21265
+ ),
21266
+ numberControl(
21267
+ "save",
21268
+ "autoRecoverIntervalMinutes",
21269
+ "pptx.options.save.autoRecoverInterval",
21270
+ 1,
21271
+ 120,
21272
+ "pptx.options.save.minutes"
21273
+ ),
21274
+ toggle("save", "keepLastAutoRecoveredVersion", "pptx.options.save.keepLastAutoRecovered", {
21275
+ indent: true
21276
+ })
21277
+ ]
21278
+ },
21279
+ {
21280
+ id: "fidelity",
21281
+ titleKey: "pptx.options.save.fidelity",
21282
+ controls: [
21283
+ toggle("save", "embedFonts", "pptx.options.save.embedFonts", {
21284
+ infoKey: "pptx.options.save.embedFontsInfo"
21285
+ }),
21286
+ toggle("save", "embedAllFontCharacters", "pptx.options.save.embedAllCharacters", {
21287
+ indent: true
21288
+ })
21289
+ ]
21290
+ },
21291
+ {
21292
+ id: "cache",
21293
+ titleKey: "pptx.options.save.cache",
21294
+ special: "clearCache",
21295
+ controls: [
21296
+ numberControl(
21297
+ "save",
21298
+ "cacheRetentionDays",
21299
+ "pptx.options.save.cacheRetentionDays",
21300
+ 1,
21301
+ 90,
21302
+ "pptx.options.save.days"
21303
+ ),
21304
+ toggle("save", "clearCacheOnClose", "pptx.options.save.clearCacheOnClose")
21305
+ ]
21306
+ }
21307
+ ]
21308
+ };
21309
+ var LANGUAGE_TAB = {
21310
+ id: "language",
21311
+ labelKey: "pptx.settings.language",
21312
+ descriptionKey: "pptx.options.language.description",
21313
+ custom: "language",
21314
+ sections: []
21315
+ };
21316
+ var ACCESSIBILITY_TAB = {
21317
+ id: "accessibility",
21318
+ labelKey: "pptx.options.accessibility.label",
21319
+ descriptionKey: "pptx.options.accessibility.description",
21320
+ sections: [
21321
+ {
21322
+ id: "assistant",
21323
+ titleKey: "pptx.options.accessibility.assistant",
21324
+ controls: [
21325
+ toggle("accessibility", "showAccessibilityStatus", "pptx.options.accessibility.showStatus")
21326
+ ]
21327
+ },
21328
+ {
21329
+ id: "feedback",
21330
+ titleKey: "pptx.options.accessibility.feedback",
21331
+ controls: [
21332
+ toggle(
21333
+ "accessibility",
21334
+ "feedbackWithSound",
21335
+ "pptx.options.accessibility.feedbackWithSound"
21336
+ ),
21337
+ select(
21338
+ "accessibility",
21339
+ "soundScheme",
21340
+ "pptx.options.accessibility.soundScheme",
21341
+ choices("pptx.options.soundScheme", ["modern", "classic"])
21342
+ )
21343
+ ]
21344
+ },
21345
+ {
21346
+ id: "display",
21347
+ titleKey: "pptx.options.accessibility.display",
21348
+ controls: [
21349
+ select(
21350
+ "general",
21351
+ "screenTipStyle",
21352
+ "pptx.options.general.screenTipStyle",
21353
+ SCREEN_TIP_CHOICES
21354
+ ),
21355
+ toggle(
21356
+ "accessibility",
21357
+ "showShortcutKeysInScreenTips",
21358
+ "pptx.options.accessibility.showShortcutKeys"
21359
+ ),
21360
+ toggle("accessibility", "reducedMotion", "pptx.settings.reducedMotion")
21361
+ ]
21362
+ }
21363
+ ]
21364
+ };
21365
+ var VIEWER_OPTIONS_TABS = [
21366
+ GENERAL_TAB,
21367
+ PROOFING_TAB,
21368
+ SAVE_TAB,
21369
+ LANGUAGE_TAB,
21370
+ ACCESSIBILITY_TAB,
21371
+ ADVANCED_TAB,
21372
+ RIBBON_TAB,
21373
+ QUICK_ACCESS_TAB,
21374
+ ADD_INS_TAB,
21375
+ TRUST_TAB
21376
+ ];
21377
+ function createViewerOptionsStore(init) {
21378
+ const persist = init?.persist !== false;
21379
+ const seeded = mergeViewerOptions(init?.initial);
21380
+ let options = persist ? overlayStored(seeded, readStoredViewerPrefs().options) : seeded;
21381
+ const listeners = /* @__PURE__ */ new Set();
21382
+ function commit(next) {
21383
+ options = next;
21384
+ if (persist) {
21385
+ writeStoredViewerPrefs({ options: diffViewerOptions(next) });
21386
+ }
21387
+ for (const listener of listeners) {
21388
+ listener(options);
21389
+ }
21390
+ }
21391
+ return {
21392
+ getOptions: () => options,
21393
+ setOptions: (next) => commit(cloneOptions(next)),
21394
+ setValue: (group, key, value) => {
21395
+ const defaults = DEFAULT_VIEWER_OPTIONS[group];
21396
+ if (!(key in defaults) || typeof defaults[key] !== typeof value) {
21397
+ return;
21398
+ }
21399
+ const next = cloneOptions(options);
21400
+ next[group][key] = value;
21401
+ commit(next);
21402
+ },
21403
+ getValue: (group, key) => {
21404
+ const record = options[group];
21405
+ const value = record[key];
21406
+ return typeof value === "boolean" || typeof value === "number" || typeof value === "string" ? value : void 0;
21407
+ },
21408
+ setRibbonTabHidden: (tabId, hidden) => {
21409
+ if (tabId === "file") {
21410
+ return;
21411
+ }
21412
+ const current = options.ribbon.hiddenTabIds;
21413
+ const has = current.includes(tabId);
21414
+ if (hidden === has) {
21415
+ return;
21416
+ }
21417
+ const next = cloneOptions(options);
21418
+ next.ribbon.hiddenTabIds = hidden ? [...current, tabId] : current.filter((id) => id !== tabId);
21419
+ commit(next);
21420
+ },
21421
+ setQuickAccessCommands: (commandIds) => {
21422
+ const next = cloneOptions(options);
21423
+ next.quickAccess.commandIds = [...commandIds];
21424
+ commit(next);
21425
+ },
21426
+ reset: (group) => {
21427
+ if (!group) {
21428
+ commit(cloneOptions(DEFAULT_VIEWER_OPTIONS));
21429
+ return;
21430
+ }
21431
+ const next = cloneOptions(options);
21432
+ const defaults = cloneOptions(DEFAULT_VIEWER_OPTIONS);
21433
+ next[group] = defaults[group];
21434
+ commit(next);
21435
+ },
21436
+ subscribe: (listener) => {
21437
+ listeners.add(listener);
21438
+ return () => listeners.delete(listener);
21439
+ }
21440
+ };
21441
+ }
21442
+ function overlayStored(base, stored) {
21443
+ if (!stored) {
21444
+ return base;
21445
+ }
21446
+ const fromStored = mergeViewerOptions(stored);
21447
+ const merged = cloneOptions(base);
21448
+ const diff = diffViewerOptions(fromStored);
21449
+ for (const groupId of Object.keys(diff)) {
21450
+ const patch = diff[groupId];
21451
+ if (!patch) {
21452
+ continue;
21453
+ }
21454
+ Object.assign(merged[groupId], patch);
21455
+ }
21456
+ return merged;
21457
+ }
20608
21458
  var FALLBACK_DOWNLOAD_NAME = "presentation.pptx";
20609
21459
  var REVOKE_DELAY_MS = 200;
20610
21460
  var OPEN_REVOKE_DELAY_MS = 6e4;
@@ -22244,7 +23094,9 @@ exports.CONNECTION_TIMEOUT_MS = CONNECTION_TIMEOUT_MS;
22244
23094
  exports.DEFAULT_BROADCAST_SERVER_URL = DEFAULT_BROADCAST_SERVER_URL;
22245
23095
  exports.DEFAULT_COLOR_CHANGE_TOLERANCE = DEFAULT_COLOR_CHANGE_TOLERANCE;
22246
23096
  exports.DEFAULT_INSERT_CHART_TYPE = DEFAULT_INSERT_CHART_TYPE;
23097
+ exports.DEFAULT_QUICK_ACCESS_COMMAND_IDS = DEFAULT_QUICK_ACCESS_COMMAND_IDS;
22247
23098
  exports.DEFAULT_ROW_HEIGHT = DEFAULT_ROW_HEIGHT;
23099
+ exports.DEFAULT_VIEWER_OPTIONS = DEFAULT_VIEWER_OPTIONS;
22248
23100
  exports.DEFAULT_VIEWER_PROFILE = DEFAULT_VIEWER_PROFILE;
22249
23101
  exports.DEFAULT_VIRTUAL_OVERSCAN = DEFAULT_VIRTUAL_OVERSCAN;
22250
23102
  exports.DIRECTIONAL_PRESETS = DIRECTIONAL_PRESETS;
@@ -22271,12 +23123,13 @@ exports.PRESENTATION_HASH = PRESENTATION_HASH;
22271
23123
  exports.PRESENTATION_MESSAGE_ORIGIN = PRESENTATION_MESSAGE_ORIGIN;
22272
23124
  exports.PRESENTATION_NONCE_KEY = PRESENTATION_NONCE_KEY;
22273
23125
  exports.PRESETS = PRESETS;
23126
+ exports.QUICK_ACCESS_COMMAND_CATALOG = QUICK_ACCESS_COMMAND_CATALOG;
22274
23127
  exports.RULER_FONT_SIZE = RULER_FONT_SIZE;
22275
23128
  exports.RULER_THICKNESS = RULER_THICKNESS;
22276
23129
  exports.SECTION_HEADING = SECTION_HEADING;
22277
23130
  exports.SEL = SEL;
22278
- exports.SETTING_TOGGLES = SETTING_TOGGLES;
22279
23131
  exports.SHAPE_PRESET_DEFS = SHAPE_PRESET_DEFS;
23132
+ exports.SHORTCUT_REFERENCE_ITEMS = SHORTCUT_REFERENCE_ITEMS;
22280
23133
  exports.SLIDE_TRANSITION_KEYFRAMES = SLIDE_TRANSITION_KEYFRAMES;
22281
23134
  exports.SLIDE_VIRTUALIZATION_THRESHOLD = SLIDE_VIRTUALIZATION_THRESHOLD;
22282
23135
  exports.TABLET_BREAKPOINT = TABLET_BREAKPOINT;
@@ -22289,9 +23142,11 @@ exports.TITLE_BAR_CLASSES = TITLE_BAR_CLASSES;
22289
23142
  exports.TITLE_BAR_DEFAULT_FILE_KEY = TITLE_BAR_DEFAULT_FILE_KEY;
22290
23143
  exports.TOOLBAR_TABS = TOOLBAR_TABS;
22291
23144
  exports.TimelineEngine = TimelineEngine;
23145
+ exports.VIEWER_OPTIONS_TABS = VIEWER_OPTIONS_TABS;
22292
23146
  exports.VIEWER_PREFS_STORAGE_KEY = VIEWER_PREFS_STORAGE_KEY;
22293
23147
  exports.WEBM_MIME_CANDIDATES = WEBM_MIME_CANDIDATES;
22294
23148
  exports.activateModalFocus = activateModalFocus;
23149
+ exports.addQuickAccessCommand = addQuickAccessCommand;
22295
23150
  exports.addSection = addSection;
22296
23151
  exports.alignElements = alignElements;
22297
23152
  exports.appendPresentationInkPoint = appendPresentationInkPoint;
@@ -22302,10 +23157,12 @@ exports.applyCaseTransformToSegments = applyCaseTransformToSegments;
22302
23157
  exports.applyColorChange = applyColorChange;
22303
23158
  exports.applyDuotone = applyDuotone;
22304
23159
  exports.applyFormatToElement = applyFormatToElement;
23160
+ exports.applyPreferenceToOptions = applyPreferenceToOptions;
22305
23161
  exports.applyRehearsalTimings = applyRehearsalTimings;
22306
23162
  exports.applyReroutedConnectors = applyReroutedConnectors;
22307
23163
  exports.applyResize = applyResize;
22308
23164
  exports.applyStyleToSelectedSegments = applyStyleToSelectedSegments;
23165
+ exports.availableQuickAccessCommands = availableQuickAccessCommands;
22309
23166
  exports.bringForward = bringForward;
22310
23167
  exports.bringToFront = bringToFront;
22311
23168
  exports.build3DExtrusionData = build3DExtrusionData;
@@ -22399,9 +23256,11 @@ exports.createPresentationSessionId = createPresentationSessionId;
22399
23256
  exports.createPresenterTimer = createPresenterTimer;
22400
23257
  exports.createSyncGate = createSyncGate;
22401
23258
  exports.createTouchGestureRecognizer = createTouchGestureRecognizer;
23259
+ exports.createViewerOptionsStore = createViewerOptionsStore;
22402
23260
  exports.defaultCssVars = defaultCssVars;
22403
23261
  exports.defaultRadius = defaultRadius;
22404
23262
  exports.defaultThemeColors = defaultThemeColors;
23263
+ exports.deleteAutosaveSnapshot = deleteAutosaveSnapshot;
22405
23264
  exports.deleteSection = deleteSection;
22406
23265
  exports.deleteTableColumn = deleteTableColumn;
22407
23266
  exports.deleteTableRow = deleteTableRow;
@@ -22508,6 +23367,7 @@ exports.isPresentationSessionMessage = isPresentationSessionMessage;
22508
23367
  exports.isTemplateElement = isTemplateElement;
22509
23368
  exports.isTemplateElementId = isTemplateElementId;
22510
23369
  exports.isUrlSafe = isUrlSafe;
23370
+ exports.listAutosaveSnapshots = listAutosaveSnapshots;
22511
23371
  exports.listBackstageRecentFiles = listBackstageRecentFiles;
22512
23372
  exports.loadPresentationDeck = loadPresentationDeck;
22513
23373
  exports.makeCloneId = makeCloneId;
@@ -22520,6 +23380,7 @@ exports.mobileSlideCounter = mobileSlideCounter;
22520
23380
  exports.mountModel3D = mountModel3D;
22521
23381
  exports.mountSurfaceChart3D = mountSurfaceChart3D;
22522
23382
  exports.movePresenterPointer = movePresenterPointer;
23383
+ exports.moveQuickAccessCommand = moveQuickAccessCommand;
22523
23384
  exports.moveSectionDown = moveSectionDown;
22524
23385
  exports.moveSectionUp = moveSectionUp;
22525
23386
  exports.moveSlidesToSection = moveSlidesToSection;
@@ -22552,6 +23413,7 @@ exports.reconcileSlidesInYDoc = reconcileSlidesInYDoc;
22552
23413
  exports.recordProgressPercent = recordProgressPercent;
22553
23414
  exports.rectToCells = rectToCells;
22554
23415
  exports.remapTextToSegments = remapTextToSegments;
23416
+ exports.removeQuickAccessCommand = removeQuickAccessCommand;
22555
23417
  exports.renameSection = renameSection;
22556
23418
  exports.rerouteConnectorsForMovedElements = rerouteConnectorsForMovedElements;
22557
23419
  exports.resetPresenterTimer = resetPresenterTimer;
@@ -22574,6 +23436,7 @@ exports.resolveTitleBarStatusKey = resolveTitleBarStatusKey;
22574
23436
  exports.resolveTransitionDurationMs = resolveTransitionDurationMs;
22575
23437
  exports.resolveTransportForServerUrl = resolveTransportForServerUrl;
22576
23438
  exports.resolveUnderlineDecorationStyle = resolveUnderlineDecorationStyle;
23439
+ exports.resolveViewerAddinRows = resolveViewerAddinRows;
22577
23440
  exports.restoreSegmentSelection = restoreSegmentSelection;
22578
23441
  exports.safeOpenUrl = safeOpenUrl;
22579
23442
  exports.sanitizeColor = sanitizeColor;
@@ -22593,6 +23456,7 @@ exports.setDuotoneCachedResult = setDuotoneCachedResult;
22593
23456
  exports.setPendingSelectionRestore = setPendingSelectionRestore;
22594
23457
  exports.shadeColor2 = shadeColor2;
22595
23458
  exports.shouldCommitSmartArtNodeText = shouldCommitSmartArtNodeText;
23459
+ exports.shouldConfirmExternalHyperlink = shouldConfirmExternalHyperlink;
22596
23460
  exports.shouldLoopContinuously = shouldLoopContinuously;
22597
23461
  exports.shouldUseSvgWarp = shouldUseSvgWarp;
22598
23462
  exports.slideProgressPercent = slideProgressPercent;
@@ -22619,6 +23483,7 @@ exports.vermilionDarkTheme = vermilionDarkTheme;
22619
23483
  exports.vermilionLightColors = vermilionLightColors;
22620
23484
  exports.vermilionLightTheme = vermilionLightTheme;
22621
23485
  exports.vermilionRadius = vermilionRadius;
23486
+ exports.viewerOptionsToPreferences = viewerOptionsToPreferences;
22622
23487
  exports.withChartPointValue = withChartPointValue;
22623
23488
  exports.withChartTitle = withChartTitle;
22624
23489
  exports.writeStoredViewerPrefs = writeStoredViewerPrefs;