pptx-react-viewer 3.16.6 → 3.16.7

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 (140) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{AiChatPanel-6IBPORZC.mjs → AiChatPanel-GLDW5OK4.mjs} +3 -3
  3. package/dist/AiChatPanel-GLDW5OK4.mjs.br +0 -0
  4. package/dist/AiChatPanel-GLDW5OK4.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-WDNBYHX7.js → AiChatPanel-N25STHYW.js} +24 -24
  6. package/dist/AiChatPanel-N25STHYW.js.br +0 -0
  7. package/dist/AiChatPanel-N25STHYW.js.gz +0 -0
  8. package/dist/{Area3DChartScene-MRPRTJWY.js → Area3DChartScene-5POI5LF7.js} +2 -2
  9. package/dist/Area3DChartScene-5POI5LF7.js.br +0 -0
  10. package/dist/Area3DChartScene-5POI5LF7.js.gz +0 -0
  11. package/dist/{Area3DChartScene-EMOWMHHK.mjs → Area3DChartScene-FCHO4SK6.mjs} +1 -1
  12. package/dist/Area3DChartScene-FCHO4SK6.mjs.br +0 -0
  13. package/dist/Area3DChartScene-FCHO4SK6.mjs.gz +0 -0
  14. package/dist/{Bar3DChartScene-THALZEYK.js → Bar3DChartScene-5CY5GRV5.js} +2 -2
  15. package/dist/Bar3DChartScene-5CY5GRV5.js.br +0 -0
  16. package/dist/Bar3DChartScene-5CY5GRV5.js.gz +0 -0
  17. package/dist/{Bar3DChartScene-J3GJEGDJ.mjs → Bar3DChartScene-M3LLHXAL.mjs} +1 -1
  18. package/dist/Bar3DChartScene-M3LLHXAL.mjs.br +0 -0
  19. package/dist/Bar3DChartScene-M3LLHXAL.mjs.gz +0 -0
  20. package/dist/{Line3DChartScene-B26WZNO3.js → Line3DChartScene-3TP7OUIP.js} +2 -2
  21. package/dist/Line3DChartScene-3TP7OUIP.js.br +0 -0
  22. package/dist/Line3DChartScene-3TP7OUIP.js.gz +0 -0
  23. package/dist/{Line3DChartScene-Y7MODOK2.mjs → Line3DChartScene-77TZRLJY.mjs} +1 -1
  24. package/dist/Line3DChartScene-77TZRLJY.mjs.br +0 -0
  25. package/dist/Line3DChartScene-77TZRLJY.mjs.gz +0 -0
  26. package/dist/{Model3DScene-27GN3D3U.js → Model3DScene-CBETCFMI.js} +2 -2
  27. package/dist/Model3DScene-CBETCFMI.js.br +0 -0
  28. package/dist/Model3DScene-CBETCFMI.js.gz +0 -0
  29. package/dist/{Model3DScene-XM3JN7M6.mjs → Model3DScene-QINKUHM2.mjs} +1 -1
  30. package/dist/Model3DScene-QINKUHM2.mjs.br +0 -0
  31. package/dist/Model3DScene-QINKUHM2.mjs.gz +0 -0
  32. package/dist/{PieChart3DScene-4GP2B3PY.mjs → PieChart3DScene-H2DJSHW7.mjs} +1 -1
  33. package/dist/PieChart3DScene-H2DJSHW7.mjs.br +0 -0
  34. package/dist/PieChart3DScene-H2DJSHW7.mjs.gz +0 -0
  35. package/dist/{PieChart3DScene-URSRUABE.js → PieChart3DScene-NFXFVG7R.js} +2 -2
  36. package/dist/PieChart3DScene-NFXFVG7R.js.br +0 -0
  37. package/dist/PieChart3DScene-NFXFVG7R.js.gz +0 -0
  38. package/dist/{SurfaceChart3DScene-4OQNB3JY.js → SurfaceChart3DScene-2IN5YKKE.js} +2 -2
  39. package/dist/SurfaceChart3DScene-2IN5YKKE.js.br +0 -0
  40. package/dist/SurfaceChart3DScene-2IN5YKKE.js.gz +0 -0
  41. package/dist/{SurfaceChart3DScene-YJ4EYMWQ.mjs → SurfaceChart3DScene-4AGI4O3L.mjs} +1 -1
  42. package/dist/SurfaceChart3DScene-4AGI4O3L.mjs.br +0 -0
  43. package/dist/SurfaceChart3DScene-4AGI4O3L.mjs.gz +0 -0
  44. package/dist/{chunk-VRMITIZZ.js → chunk-3FVOKV4E.js} +135 -42
  45. package/dist/chunk-3FVOKV4E.js.br +0 -0
  46. package/dist/chunk-3FVOKV4E.js.gz +0 -0
  47. package/dist/{chunk-QLZHTIH6.mjs → chunk-3PUFHKXW.mjs} +6 -3
  48. package/dist/chunk-3PUFHKXW.mjs.br +0 -0
  49. package/dist/chunk-3PUFHKXW.mjs.gz +0 -0
  50. package/dist/{chunk-BJL5MJ7A.js → chunk-4NSDMKFE.js} +169 -169
  51. package/dist/chunk-4NSDMKFE.js.br +0 -0
  52. package/dist/chunk-4NSDMKFE.js.gz +0 -0
  53. package/dist/{chunk-TTCWWF47.js → chunk-4Q6VIX6M.js} +455 -452
  54. package/dist/chunk-4Q6VIX6M.js.br +0 -0
  55. package/dist/chunk-4Q6VIX6M.js.gz +0 -0
  56. package/dist/{chunk-YUIXPWFT.mjs → chunk-7ELFYC6K.mjs} +1 -1
  57. package/dist/chunk-7ELFYC6K.mjs.br +0 -0
  58. package/dist/chunk-7ELFYC6K.mjs.gz +0 -0
  59. package/dist/{chunk-U2H7CQ34.mjs → chunk-B3YVURJB.mjs} +1 -1
  60. package/dist/chunk-B3YVURJB.mjs.br +0 -0
  61. package/dist/chunk-B3YVURJB.mjs.gz +0 -0
  62. package/dist/{chunk-RWVMSJ7C.mjs → chunk-I5YSAIL5.mjs} +12 -12
  63. package/dist/chunk-I5YSAIL5.mjs.br +0 -0
  64. package/dist/chunk-I5YSAIL5.mjs.gz +0 -0
  65. package/dist/{chunk-LTQRC4WB.js → chunk-SQNEE6AM.js} +1291 -1291
  66. package/dist/chunk-SQNEE6AM.js.br +0 -0
  67. package/dist/chunk-SQNEE6AM.js.gz +0 -0
  68. package/dist/{chunk-C7H7NM2W.js → chunk-TYVSLRC7.js} +5 -5
  69. package/dist/chunk-TYVSLRC7.js.br +0 -0
  70. package/dist/chunk-TYVSLRC7.js.gz +0 -0
  71. package/dist/{chunk-PO2PYVHF.mjs → chunk-XMD6ZWUO.mjs} +135 -42
  72. package/dist/chunk-XMD6ZWUO.mjs.br +0 -0
  73. package/dist/chunk-XMD6ZWUO.mjs.gz +0 -0
  74. package/dist/index.js +45 -45
  75. package/dist/index.js.br +0 -0
  76. package/dist/index.js.gz +0 -0
  77. package/dist/index.mjs +5 -5
  78. package/dist/index.mjs.br +0 -0
  79. package/dist/index.mjs.gz +0 -0
  80. package/dist/internals.js +78 -78
  81. package/dist/internals.js.br +0 -0
  82. package/dist/internals.js.gz +0 -0
  83. package/dist/internals.mjs +3 -3
  84. package/dist/internals.mjs.br +0 -0
  85. package/dist/internals.mjs.gz +0 -0
  86. package/dist/viewer/index.js +26 -26
  87. package/dist/viewer/index.js.br +0 -0
  88. package/dist/viewer/index.js.gz +0 -0
  89. package/dist/viewer/index.mjs +5 -5
  90. package/dist/viewer/index.mjs.br +0 -0
  91. package/dist/viewer/index.mjs.gz +0 -0
  92. package/package.json +1 -1
  93. package/dist/AiChatPanel-6IBPORZC.mjs.br +0 -0
  94. package/dist/AiChatPanel-6IBPORZC.mjs.gz +0 -0
  95. package/dist/AiChatPanel-WDNBYHX7.js.br +0 -0
  96. package/dist/AiChatPanel-WDNBYHX7.js.gz +0 -0
  97. package/dist/Area3DChartScene-EMOWMHHK.mjs.br +0 -0
  98. package/dist/Area3DChartScene-EMOWMHHK.mjs.gz +0 -0
  99. package/dist/Area3DChartScene-MRPRTJWY.js.br +0 -0
  100. package/dist/Area3DChartScene-MRPRTJWY.js.gz +0 -0
  101. package/dist/Bar3DChartScene-J3GJEGDJ.mjs.br +0 -0
  102. package/dist/Bar3DChartScene-J3GJEGDJ.mjs.gz +0 -0
  103. package/dist/Bar3DChartScene-THALZEYK.js.br +0 -0
  104. package/dist/Bar3DChartScene-THALZEYK.js.gz +0 -0
  105. package/dist/Line3DChartScene-B26WZNO3.js.br +0 -0
  106. package/dist/Line3DChartScene-B26WZNO3.js.gz +0 -0
  107. package/dist/Line3DChartScene-Y7MODOK2.mjs.br +0 -0
  108. package/dist/Line3DChartScene-Y7MODOK2.mjs.gz +0 -0
  109. package/dist/Model3DScene-27GN3D3U.js.br +0 -0
  110. package/dist/Model3DScene-27GN3D3U.js.gz +0 -0
  111. package/dist/Model3DScene-XM3JN7M6.mjs.br +0 -0
  112. package/dist/Model3DScene-XM3JN7M6.mjs.gz +0 -0
  113. package/dist/PieChart3DScene-4GP2B3PY.mjs.br +0 -0
  114. package/dist/PieChart3DScene-4GP2B3PY.mjs.gz +0 -0
  115. package/dist/PieChart3DScene-URSRUABE.js.br +0 -0
  116. package/dist/PieChart3DScene-URSRUABE.js.gz +0 -0
  117. package/dist/SurfaceChart3DScene-4OQNB3JY.js.br +0 -0
  118. package/dist/SurfaceChart3DScene-4OQNB3JY.js.gz +0 -0
  119. package/dist/SurfaceChart3DScene-YJ4EYMWQ.mjs.br +0 -0
  120. package/dist/SurfaceChart3DScene-YJ4EYMWQ.mjs.gz +0 -0
  121. package/dist/chunk-BJL5MJ7A.js.br +0 -0
  122. package/dist/chunk-BJL5MJ7A.js.gz +0 -0
  123. package/dist/chunk-C7H7NM2W.js.br +0 -0
  124. package/dist/chunk-C7H7NM2W.js.gz +0 -0
  125. package/dist/chunk-LTQRC4WB.js.br +0 -0
  126. package/dist/chunk-LTQRC4WB.js.gz +0 -0
  127. package/dist/chunk-PO2PYVHF.mjs.br +0 -0
  128. package/dist/chunk-PO2PYVHF.mjs.gz +0 -0
  129. package/dist/chunk-QLZHTIH6.mjs.br +0 -0
  130. package/dist/chunk-QLZHTIH6.mjs.gz +0 -0
  131. package/dist/chunk-RWVMSJ7C.mjs.br +0 -0
  132. package/dist/chunk-RWVMSJ7C.mjs.gz +0 -0
  133. package/dist/chunk-TTCWWF47.js.br +0 -0
  134. package/dist/chunk-TTCWWF47.js.gz +0 -0
  135. package/dist/chunk-U2H7CQ34.mjs.br +0 -0
  136. package/dist/chunk-U2H7CQ34.mjs.gz +0 -0
  137. package/dist/chunk-VRMITIZZ.js.br +0 -0
  138. package/dist/chunk-VRMITIZZ.js.gz +0 -0
  139. package/dist/chunk-YUIXPWFT.mjs.br +0 -0
  140. package/dist/chunk-YUIXPWFT.mjs.gz +0 -0
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkVRMITIZZ_js = require('./chunk-VRMITIZZ.js');
3
+ var chunk3FVOKV4E_js = require('./chunk-3FVOKV4E.js');
4
4
  var chunk4VNS5WPM_js = require('./chunk-4VNS5WPM.js');
5
5
  var mcp = require('pptx-viewer-mcp');
6
6
  var mcpSchemas = require('pptx-viewer-mcp/schemas');
@@ -19079,7 +19079,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
19079
19079
  };
19080
19080
  let markdown;
19081
19081
  try {
19082
- const converter = new chunkVRMITIZZ_js.PptxMarkdownConverter(
19082
+ const converter = new chunk3FVOKV4E_js.PptxMarkdownConverter(
19083
19083
  "",
19084
19084
  {
19085
19085
  sourceName: meta3.title ?? "deck.pptx",
@@ -19671,7 +19671,7 @@ var getTheme = (ctx) => {
19671
19671
  name: theme?.name,
19672
19672
  colorScheme: theme?.colorScheme,
19673
19673
  fontScheme: theme?.fontScheme,
19674
- availablePresets: Object.keys(chunkVRMITIZZ_js.ThemePresets)
19674
+ availablePresets: Object.keys(chunk3FVOKV4E_js.ThemePresets)
19675
19675
  };
19676
19676
  };
19677
19677
  var readExecutors = {
@@ -20769,7 +20769,7 @@ function applyElementUpdate(el, u) {
20769
20769
  applyShapeStyleUpdate(el, u);
20770
20770
  }
20771
20771
  function applyTextUpdate(el, u) {
20772
- if (!chunkVRMITIZZ_js.hasTextProperties(el)) {
20772
+ if (!chunk3FVOKV4E_js.hasTextProperties(el)) {
20773
20773
  return;
20774
20774
  }
20775
20775
  const textEl = el;
@@ -20818,7 +20818,7 @@ function applyShapeStyleUpdate(el, u) {
20818
20818
  if (u.fillColor === void 0 && u.strokeColor === void 0 && u.strokeWidth === void 0) {
20819
20819
  return;
20820
20820
  }
20821
- if (!chunkVRMITIZZ_js.hasShapeProperties(el)) {
20821
+ if (!chunk3FVOKV4E_js.hasShapeProperties(el)) {
20822
20822
  return;
20823
20823
  }
20824
20824
  const holder = el;
Binary file
Binary file
@@ -34232,10 +34232,10 @@ function clampByRules(value, rules, type) {
34232
34232
  }
34233
34233
  function ratioConstraint(constraints, types, fallback, rules) {
34234
34234
  for (const type of types) {
34235
- const matches = (constraints ?? []).filter((constraint) => constraint.type === type);
34235
+ const matches2 = (constraints ?? []).filter((constraint) => constraint.type === type);
34236
34236
  const ordered4 = [
34237
- ...matches.filter((constraint) => constraint.for === "ch"),
34238
- ...matches.filter((constraint) => constraint.for !== "ch")
34237
+ ...matches2.filter((constraint) => constraint.for === "ch"),
34238
+ ...matches2.filter((constraint) => constraint.for !== "ch")
34239
34239
  ];
34240
34240
  for (const constraint of ordered4) {
34241
34241
  const ratio = constraintRatio(constraint);
@@ -40437,14 +40437,14 @@ var init_smartart_hierarchy_composite_child = __esm({
40437
40437
  });
40438
40438
  function findByReference(constraints, type, referenceType, preferredName) {
40439
40439
  const list = constraints ?? [];
40440
- const matches = (c) => c.type === type && c.referenceType === referenceType && typeof c.factor === "number";
40440
+ const matches2 = (c) => c.type === type && c.referenceType === referenceType && typeof c.factor === "number";
40441
40441
  if (preferredName !== void 0) {
40442
- const named = list.find((c) => matches(c) && c.forName === preferredName);
40442
+ const named = list.find((c) => matches2(c) && c.forName === preferredName);
40443
40443
  if (named) {
40444
40444
  return named.factor;
40445
40445
  }
40446
40446
  }
40447
- return list.find(matches)?.factor;
40447
+ return list.find(matches2)?.factor;
40448
40448
  }
40449
40449
  function findDirectAspectRatio(constraints, preferredName) {
40450
40450
  const hRefW = findByReference(constraints, "h", "w", preferredName);
@@ -43112,14 +43112,14 @@ function findDrawingShapeIndex(shapes, nodes, nodeId) {
43112
43112
  const node = nodes.find((n) => n.id === nodeId);
43113
43113
  if (node?.text) {
43114
43114
  const text22 = node.text.trim();
43115
- const matches = [];
43115
+ const matches2 = [];
43116
43116
  for (let i2 = 0; i2 < shapes.length; i2++) {
43117
43117
  if (shapes[i2].text?.trim() === text22) {
43118
- matches.push(i2);
43118
+ matches2.push(i2);
43119
43119
  }
43120
43120
  }
43121
- if (matches.length === 1) {
43122
- return matches[0];
43121
+ if (matches2.length === 1) {
43122
+ return matches2[0];
43123
43123
  }
43124
43124
  }
43125
43125
  return -1;
@@ -43319,14 +43319,14 @@ function findShapeIndexForNode(shapes, nodes, nodeId) {
43319
43319
  const node = nodes.find((n) => n.id === nodeId);
43320
43320
  if (node?.text) {
43321
43321
  const text22 = node.text.trim();
43322
- const matches = [];
43322
+ const matches2 = [];
43323
43323
  for (let i2 = 0; i2 < shapes.length; i2++) {
43324
43324
  if (shapes[i2].text?.trim() === text22) {
43325
- matches.push(i2);
43325
+ matches2.push(i2);
43326
43326
  }
43327
43327
  }
43328
- if (matches.length === 1) {
43329
- return matches[0];
43328
+ if (matches2.length === 1) {
43329
+ return matches2[0];
43330
43330
  }
43331
43331
  }
43332
43332
  return -1;
@@ -92079,6 +92079,10 @@ function computeUniformSegmentOverrides(textStyle, textSegments) {
92079
92079
  if (nextValue === void 0) {
92080
92080
  return;
92081
92081
  }
92082
+ const baseline = textStyle?.inheritedRunStyle;
92083
+ if (baseline && nextValue === (textStyle?.authoredRunStyle?.[styleKey] ?? baseline[styleKey])) {
92084
+ return;
92085
+ }
92082
92086
  const firstValue = textSegments[0]?.style?.[styleKey];
92083
92087
  const isUniform = textSegments.every((segment) => segment.style?.[styleKey] === firstValue);
92084
92088
  if (isUniform) {
@@ -111189,13 +111193,13 @@ var init_PptxHandlerRuntimePlaceholderLookup = __esm({
111189
111193
  findPlaceholderInShapeTree(spTree, expected) {
111190
111194
  return this.scanPlaceholderBuckets(spTree, (info) => this.placeholderMatches(expected, info));
111191
111195
  }
111192
- scanPlaceholderBuckets(spTree, matches) {
111196
+ scanPlaceholderBuckets(spTree, matches2) {
111193
111197
  if (!spTree) {
111194
111198
  return void 0;
111195
111199
  }
111196
111200
  for (const { bucket, nvKey, contextKey } of PLACEHOLDER_BUCKETS) {
111197
111201
  for (const node of this.ensureArray(spTree[bucket])) {
111198
- if (matches(this.extractPlaceholderInfo(xmlPath(node, nvKey, "p:nvPr")))) {
111202
+ if (matches2(this.extractPlaceholderInfo(xmlPath(node, nvKey, "p:nvPr")))) {
111199
111203
  return { [contextKey]: node };
111200
111204
  }
111201
111205
  }
@@ -113050,7 +113054,7 @@ var init_PptxHandlerRuntimeShapeParagraphContentParsing = __esm({
113050
113054
  bulletText = "\u2022 ";
113051
113055
  }
113052
113056
  const bulletStyle = { ...mergedDefaultRunStyle };
113053
- if (paragraphBulletInfo.sizePercent === void 0 && paragraphBulletInfo.sizePts === void 0) {
113057
+ if (paragraphBulletInfo.sizePts === void 0) {
113054
113058
  const firstRunSize = this.resolveFirstRunFontSize(p, paraAlign, ctx);
113055
113059
  if (firstRunSize !== void 0) {
113056
113060
  bulletStyle.fontSize = firstRunSize;
@@ -113283,27 +113287,22 @@ var init_PptxHandlerRuntimeShapeParagraphContentParsing = __esm({
113283
113287
  }
113284
113288
  /**
113285
113289
  * Font size (px) of the first text run in a paragraph, or `undefined` when
113286
- * the paragraph has no run that declares one.
113290
+ * that first run inherits its size.
113287
113291
  *
113288
- * Used to size an unsized bullet the way PowerPoint does: `a:buChar` /
113289
- * `a:buAutoNum` with no `a:buSzPct`/`a:buSzPts` inherits the first run's
113290
- * size. Only `a:r` and `a:fld` carry renderable text; `a:br` does not.
113292
+ * Used as the base for unsized and percentage-sized bullets. Only `a:r`
113293
+ * and `a:fld` carry renderable text; `a:br` does not.
113291
113294
  */
113292
113295
  resolveFirstRunFontSize(p, paraAlign, ctx) {
113293
- for (const key2 of ["a:r", "a:fld"]) {
113294
- const node = p[key2];
113295
- if (!node) {
113296
+ for (const [tag, node] of paragraphContentEntries(p, PARAGRAPH_CONTENT_TAGS).entries) {
113297
+ if (tag !== "a:r" && tag !== "a:fld") {
113296
113298
  continue;
113297
113299
  }
113298
- const first = this.ensureArray(node)[0];
113299
- const runProps = first?.["a:rPr"];
113300
+ const runProps = node?.["a:rPr"];
113300
113301
  if (!runProps) {
113301
- continue;
113302
+ return void 0;
113302
113303
  }
113303
113304
  const style = this.extractTextRunStyle(runProps, paraAlign, ctx.slideRelationshipMap);
113304
- if (typeof style.fontSize === "number") {
113305
- return style.fontSize;
113306
- }
113305
+ return typeof style.fontSize === "number" ? style.fontSize : void 0;
113307
113306
  }
113308
113307
  return void 0;
113309
113308
  }
@@ -122571,6 +122570,7 @@ var init_core = __esm({
122571
122570
  init_types2();
122572
122571
  init_table_structural_ops();
122573
122572
  init_table_style_defaults();
122573
+ init_auto_number_sequence();
122574
122574
  init_table_style_editor();
122575
122575
  init_table_style_entry_parse();
122576
122576
  }
@@ -139426,8 +139426,8 @@ var TextSegmentRenderer = class {
139426
139426
  return defaultText;
139427
139427
  }
139428
139428
  wrapCode(text22) {
139429
- const matches = text22.match(/`+/g);
139430
- const maxTicks = matches && matches.length > 0 ? Math.max(...matches.map((entry2) => entry2.length)) : 0;
139429
+ const matches2 = text22.match(/`+/g);
139430
+ const maxTicks = matches2 && matches2.length > 0 ? Math.max(...matches2.map((entry2) => entry2.length)) : 0;
139431
139431
  const fence = "`".repeat(Math.max(1, maxTicks + 1));
139432
139432
  return `${fence}${text22}${fence}`;
139433
139433
  }
@@ -161481,9 +161481,9 @@ function resolveDrawingShapeNodeId(shape, shapeIndex, shapes, nodes) {
161481
161481
  }
161482
161482
  const text22 = shape.text?.trim();
161483
161483
  if (text22) {
161484
- const matches = nodes.filter((n) => n.text.trim() === text22);
161485
- if (matches.length === 1) {
161486
- return matches[0].id;
161484
+ const matches2 = nodes.filter((n) => n.text.trim() === text22);
161485
+ if (matches2.length === 1) {
161486
+ return matches2[0].id;
161487
161487
  }
161488
161488
  }
161489
161489
  return void 0;
@@ -176328,8 +176328,8 @@ function splitWordsForUnderline(text22) {
176328
176328
  return [];
176329
176329
  }
176330
176330
  const pieces = [];
176331
- const matches = text22.matchAll(/(\s+)|(\S+)/gu);
176332
- for (const match of matches) {
176331
+ const matches2 = text22.matchAll(/(\s+)|(\S+)/gu);
176332
+ for (const match of matches2) {
176333
176333
  if (match[1] !== void 0) {
176334
176334
  pieces.push({ text: match[1], underline: false });
176335
176335
  } else if (match[2] !== void 0) {
@@ -180621,6 +180621,35 @@ function hasCopyableFormat(element) {
180621
180621
  }
180622
180622
  return hasShapeProperties(element) || hasTextProperties(element);
180623
180623
  }
180624
+ function renumberRemappedParagraphs(segments) {
180625
+ const sequence = createAutoNumberSequence();
180626
+ let first = true;
180627
+ return segments.map((segment) => {
180628
+ const paragraphStart = first;
180629
+ first = isParagraphSeparatorSegment(segment);
180630
+ if (!paragraphStart) {
180631
+ return segment;
180632
+ }
180633
+ const info = segment.bulletInfo;
180634
+ const level = segment.paragraphLevel ?? 0;
180635
+ if (!info?.autoNumType || !resolveParagraphBullet(segment)?.isNumbered) {
180636
+ breakAutoNumberRun(sequence, level);
180637
+ return segment;
180638
+ }
180639
+ const ordinal = nextAutoNumber(sequence, level, info.autoNumType, info.autoNumStartAt ?? 1) - (info.autoNumStartAt ?? 1);
180640
+ if (info.paragraphIndex === void 0 || info.paragraphIndex === ordinal) {
180641
+ return segment;
180642
+ }
180643
+ const updated = { ...segment, bulletInfo: { ...info, paragraphIndex: ordinal } };
180644
+ if (isBulletMarkerSegment(segment)) {
180645
+ const resolved = resolveParagraphBullet(updated);
180646
+ if (resolved) {
180647
+ updated.text = resolved.marker + (segment.text.match(/\s+$/u)?.[0] ?? "");
180648
+ }
180649
+ }
180650
+ return updated;
180651
+ });
180652
+ }
180624
180653
  function withoutRenderedBulletPrefix(text22, originalSegments, dedicatedMarker) {
180625
180654
  if (!dedicatedMarker) {
180626
180655
  return text22;
@@ -180667,6 +180696,61 @@ function continueAutoNumberedParagraph(segments, donorSegments, offset) {
180667
180696
  }
180668
180697
  return [continued, ...rest];
180669
180698
  }
180699
+ function matches(text22, paragraph) {
180700
+ const first = paragraph.segments[0];
180701
+ const marker = first && isBulletMarkerSegment(first) && (!first.bulletInfo?.autoNumType || first.bulletInfo.paragraphIndex !== void 0) ? first : void 0;
180702
+ const body = paragraph.segments.slice(marker ? 1 : 0).map((segment) => segment.text).join("");
180703
+ return text22 === body || withoutRenderedBulletPrefix(text22, paragraph.segments, marker) === body;
180704
+ }
180705
+ function alignParagraphSources(texts, original) {
180706
+ const sources = Array.from({ length: texts.length });
180707
+ let prefix = 0;
180708
+ while (prefix < texts.length && prefix < original.length && matches(texts[prefix], original[prefix])) {
180709
+ sources[prefix] = prefix;
180710
+ prefix += 1;
180711
+ }
180712
+ let oldEnd = original.length;
180713
+ let newEnd = texts.length;
180714
+ while (oldEnd > prefix && newEnd > prefix && matches(texts[newEnd - 1], original[oldEnd - 1])) {
180715
+ sources[--newEnd] = --oldEnd;
180716
+ }
180717
+ const anchors = [];
180718
+ const oldCount = oldEnd - prefix;
180719
+ const newCount = newEnd - prefix;
180720
+ if (oldCount * newCount <= 1e4) {
180721
+ const lengths = Array.from({ length: oldCount + 1 }, () => new Uint16Array(newCount + 1));
180722
+ for (let old2 = oldCount - 1; old2 >= 0; old2--) {
180723
+ for (let next2 = newCount - 1; next2 >= 0; next2--) {
180724
+ lengths[old2][next2] = matches(texts[prefix + next2], original[prefix + old2]) ? lengths[old2 + 1][next2 + 1] + 1 : Math.max(lengths[old2 + 1][next2], lengths[old2][next2 + 1]);
180725
+ }
180726
+ }
180727
+ let old = 0;
180728
+ let next = 0;
180729
+ while (old < oldCount && next < newCount) {
180730
+ if (matches(texts[prefix + next], original[prefix + old])) {
180731
+ anchors.push([prefix + next++, prefix + old++]);
180732
+ } else if (lengths[old + 1][next] >= lengths[old][next + 1]) {
180733
+ old++;
180734
+ } else {
180735
+ next++;
180736
+ }
180737
+ }
180738
+ }
180739
+ anchors.push([newEnd, oldEnd]);
180740
+ let oldCursor = prefix;
180741
+ let newCursor = prefix;
180742
+ for (const [newAnchor, oldAnchor] of anchors) {
180743
+ while (oldCursor < oldAnchor && newCursor < newAnchor) {
180744
+ sources[newCursor++] = oldCursor++;
180745
+ }
180746
+ if (newAnchor < newEnd) {
180747
+ sources[newAnchor] = oldAnchor;
180748
+ }
180749
+ oldCursor = oldAnchor + 1;
180750
+ newCursor = newAnchor + 1;
180751
+ }
180752
+ return sources;
180753
+ }
180670
180754
  function isAtomicOriginalSegment(seg) {
180671
180755
  return seg.fieldType !== void 0 || seg.equationXml !== void 0;
180672
180756
  }
@@ -180728,6 +180812,7 @@ function remapTextToSegments(newText, originalSegments, elementTextStyle) {
180728
180812
  }
180729
180813
  }
180730
180814
  const newParagraphTexts = newText.split("\n");
180815
+ const paragraphSources = alignParagraphSources(newParagraphTexts, originalParagraphs);
180731
180816
  const firstContentSeg = originalParagraphs.flatMap((paragraph) => paragraph.segments).find((s) => s.text.trim().length > 0);
180732
180817
  const baseFallbackStyle = firstContentSeg?.style ? { ...firstContentSeg.style } : fallbackStyle;
180733
180818
  function remapParagraph(paraNewText, paraOrigSegments) {
@@ -180816,19 +180901,24 @@ function remapTextToSegments(newText, originalSegments, elementTextStyle) {
180816
180901
  }
180817
180902
  const output = [];
180818
180903
  const lastOrigPara = originalParagraphs[originalParagraphs.length - 1]?.segments;
180904
+ const lastSourceOffset = [...paragraphSources].reverse().findIndex((source) => source !== void 0);
180905
+ const appendStart = Math.max(
180906
+ originalParagraphs.length,
180907
+ lastSourceOffset < 0 ? 0 : paragraphSources.length - lastSourceOffset
180908
+ );
180819
180909
  for (let pi = 0; pi < newParagraphTexts.length; pi++) {
180820
180910
  if (pi > 0) {
180821
- const precedingOrigPara = originalParagraphs[pi - 1]?.segments ?? [];
180911
+ const precedingOrigPara = originalParagraphs[paragraphSources[pi - 1] ?? -1]?.segments ?? [];
180822
180912
  const breakStyle = precedingOrigPara[0]?.style ? { ...precedingOrigPara[0].style } : { ...baseFallbackStyle };
180823
180913
  output.push({ text: "\n", style: breakStyle, isParagraphBreak: true });
180824
180914
  }
180825
- const originalParagraph = originalParagraphs[pi];
180915
+ const originalParagraph = originalParagraphs[paragraphSources[pi] ?? -1];
180826
180916
  const origPara = originalParagraph?.segments ?? lastOrigPara ?? [];
180827
180917
  let paraSegments = restoreParagraphMetadata(
180828
180918
  originalParagraph?.segments[0] ?? originalParagraph?.terminator,
180829
180919
  remapParagraph(newParagraphTexts[pi], origPara)
180830
180920
  );
180831
- if (!originalParagraph) {
180921
+ if (!originalParagraph && pi >= appendStart) {
180832
180922
  paraSegments = continueAutoNumberedParagraph(
180833
180923
  paraSegments,
180834
180924
  lastOrigPara ?? [],
@@ -180837,6 +180927,9 @@ function remapTextToSegments(newText, originalSegments, elementTextStyle) {
180837
180927
  }
180838
180928
  output.push(...paraSegments);
180839
180929
  }
180930
+ if (paragraphSources.some((source, index) => source !== void 0 && source !== index)) {
180931
+ return renumberRemappedParagraphs(output);
180932
+ }
180840
180933
  return output.length > 0 ? output : [{ text: "", style: { ...baseFallbackStyle } }];
180841
180934
  }
180842
180935
  function mergeCoincidentHandles(handles) {
@@ -193599,8 +193692,8 @@ function applyFindReplacements(slides, toReplace, replacement) {
193599
193692
  }
193600
193693
  const nextSlides = slides.slice();
193601
193694
  let totalReplacements = 0;
193602
- for (const [, matches] of grouped) {
193603
- const sorted = matches.slice().sort((a, b) => b.startOffset - a.startOffset);
193695
+ for (const [, matches2] of grouped) {
193696
+ const sorted = matches2.slice().sort((a, b) => b.startOffset - a.startOffset);
193604
193697
  for (const match of sorted) {
193605
193698
  const slide = nextSlides[match.slideIndex];
193606
193699
  if (!slide) {
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkLTQRC4WB_js = require('./chunk-LTQRC4WB.js');
4
- require('./chunk-C7H7NM2W.js');
5
- var chunkTTCWWF47_js = require('./chunk-TTCWWF47.js');
6
- var chunkBJL5MJ7A_js = require('./chunk-BJL5MJ7A.js');
7
- var chunkVRMITIZZ_js = require('./chunk-VRMITIZZ.js');
3
+ var chunkSQNEE6AM_js = require('./chunk-SQNEE6AM.js');
4
+ require('./chunk-TYVSLRC7.js');
5
+ var chunk4Q6VIX6M_js = require('./chunk-4Q6VIX6M.js');
6
+ var chunk4NSDMKFE_js = require('./chunk-4NSDMKFE.js');
7
+ var chunk3FVOKV4E_js = require('./chunk-3FVOKV4E.js');
8
8
  var chunk3AJ54EAB_js = require('./chunk-3AJ54EAB.js');
9
9
  require('./chunk-4VNS5WPM.js');
10
10
 
@@ -12,163 +12,163 @@ require('./chunk-4VNS5WPM.js');
12
12
 
13
13
  Object.defineProperty(exports, "PowerPointViewer", {
14
14
  enumerable: true,
15
- get: function () { return chunkLTQRC4WB_js.PowerPointViewer; }
15
+ get: function () { return chunkSQNEE6AM_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkLTQRC4WB_js.SlideCanvas; }
19
+ get: function () { return chunkSQNEE6AM_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkLTQRC4WB_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkSQNEE6AM_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkLTQRC4WB_js.SlideTemplatePreview; }
27
+ get: function () { return chunkSQNEE6AM_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkLTQRC4WB_js.Toolbar; }
31
+ get: function () { return chunkSQNEE6AM_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkLTQRC4WB_js.ViewerThemeProvider; }
35
+ get: function () { return chunkSQNEE6AM_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkLTQRC4WB_js.useViewerTheme; }
39
+ get: function () { return chunkSQNEE6AM_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkTTCWWF47_js.renderToCanvas; }
43
+ get: function () { return chunk4Q6VIX6M_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkTTCWWF47_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunk4Q6VIX6M_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkBJL5MJ7A_js.getAnimationInitialStyle; }
51
+ get: function () { return chunk4NSDMKFE_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
54
54
  enumerable: true,
55
- get: function () { return chunkVRMITIZZ_js.AVATAR_COLOR_SWATCHES; }
55
+ get: function () { return chunk3FVOKV4E_js.AVATAR_COLOR_SWATCHES; }
56
56
  });
57
57
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
58
58
  enumerable: true,
59
- get: function () { return chunkVRMITIZZ_js.DEFAULT_VIEWER_PROFILE; }
59
+ get: function () { return chunk3FVOKV4E_js.DEFAULT_VIEWER_PROFILE; }
60
60
  });
61
61
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
62
62
  enumerable: true,
63
- get: function () { return chunkVRMITIZZ_js.PPTX_OPEN_ACCEPT; }
63
+ get: function () { return chunk3FVOKV4E_js.PPTX_OPEN_ACCEPT; }
64
64
  });
65
65
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
66
66
  enumerable: true,
67
- get: function () { return chunkVRMITIZZ_js.PRESENTATION_OPEN_EXTENSIONS; }
67
+ get: function () { return chunk3FVOKV4E_js.PRESENTATION_OPEN_EXTENSIONS; }
68
68
  });
69
69
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
70
70
  enumerable: true,
71
- get: function () { return chunkVRMITIZZ_js.SLIDE_TEMPLATES; }
71
+ get: function () { return chunk3FVOKV4E_js.SLIDE_TEMPLATES; }
72
72
  });
73
73
  Object.defineProperty(exports, "THEME_CATALOG", {
74
74
  enumerable: true,
75
- get: function () { return chunkVRMITIZZ_js.THEME_CATALOG; }
75
+ get: function () { return chunk3FVOKV4E_js.THEME_CATALOG; }
76
76
  });
77
77
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
78
78
  enumerable: true,
79
- get: function () { return chunkVRMITIZZ_js.VIEWER_PREFS_STORAGE_KEY; }
79
+ get: function () { return chunk3FVOKV4E_js.VIEWER_PREFS_STORAGE_KEY; }
80
80
  });
81
81
  Object.defineProperty(exports, "buildSlideTemplateContent", {
82
82
  enumerable: true,
83
- get: function () { return chunkVRMITIZZ_js.buildSlideTemplateContent; }
83
+ get: function () { return chunk3FVOKV4E_js.buildSlideTemplateContent; }
84
84
  });
85
85
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
86
86
  enumerable: true,
87
- get: function () { return chunkVRMITIZZ_js.buildSlideTemplateSlide; }
87
+ get: function () { return chunk3FVOKV4E_js.buildSlideTemplateSlide; }
88
88
  });
89
89
  Object.defineProperty(exports, "clearAllLocalViewerData", {
90
90
  enumerable: true,
91
- get: function () { return chunkVRMITIZZ_js.clearAllLocalViewerData; }
91
+ get: function () { return chunk3FVOKV4E_js.clearAllLocalViewerData; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
94
94
  enumerable: true,
95
- get: function () { return chunkVRMITIZZ_js.clearStoredViewerPrefs; }
95
+ get: function () { return chunk3FVOKV4E_js.clearStoredViewerPrefs; }
96
96
  });
97
97
  Object.defineProperty(exports, "defaultCssVars", {
98
98
  enumerable: true,
99
- get: function () { return chunkVRMITIZZ_js.defaultCssVars; }
99
+ get: function () { return chunk3FVOKV4E_js.defaultCssVars; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultRadius", {
102
102
  enumerable: true,
103
- get: function () { return chunkVRMITIZZ_js.defaultRadius; }
103
+ get: function () { return chunk3FVOKV4E_js.defaultRadius; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultThemeColors", {
106
106
  enumerable: true,
107
- get: function () { return chunkVRMITIZZ_js.defaultThemeColors; }
107
+ get: function () { return chunk3FVOKV4E_js.defaultThemeColors; }
108
108
  });
109
109
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
110
110
  enumerable: true,
111
- get: function () { return chunkVRMITIZZ_js.getLocalStorageUsageSummary; }
111
+ get: function () { return chunk3FVOKV4E_js.getLocalStorageUsageSummary; }
112
112
  });
113
113
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
114
114
  enumerable: true,
115
- get: function () { return chunkVRMITIZZ_js.isLegacyBinaryPresentation; }
115
+ get: function () { return chunk3FVOKV4E_js.isLegacyBinaryPresentation; }
116
116
  });
117
117
  Object.defineProperty(exports, "isSupportedPresentationFile", {
118
118
  enumerable: true,
119
- get: function () { return chunkVRMITIZZ_js.isSupportedPresentationFile; }
119
+ get: function () { return chunk3FVOKV4E_js.isSupportedPresentationFile; }
120
120
  });
121
121
  Object.defineProperty(exports, "presentationBaseName", {
122
122
  enumerable: true,
123
- get: function () { return chunkVRMITIZZ_js.presentationBaseName; }
123
+ get: function () { return chunk3FVOKV4E_js.presentationBaseName; }
124
124
  });
125
125
  Object.defineProperty(exports, "readStoredViewerPrefs", {
126
126
  enumerable: true,
127
- get: function () { return chunkVRMITIZZ_js.readStoredViewerPrefs; }
127
+ get: function () { return chunk3FVOKV4E_js.readStoredViewerPrefs; }
128
128
  });
129
129
  Object.defineProperty(exports, "resolveProfileInitial", {
130
130
  enumerable: true,
131
- get: function () { return chunkVRMITIZZ_js.resolveProfileInitial; }
131
+ get: function () { return chunk3FVOKV4E_js.resolveProfileInitial; }
132
132
  });
133
133
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
134
134
  enumerable: true,
135
- get: function () { return chunkVRMITIZZ_js.resolveThemeCatalogEntry; }
135
+ get: function () { return chunk3FVOKV4E_js.resolveThemeCatalogEntry; }
136
136
  });
137
137
  Object.defineProperty(exports, "saveViewerProfile", {
138
138
  enumerable: true,
139
- get: function () { return chunkVRMITIZZ_js.saveViewerProfile; }
139
+ get: function () { return chunk3FVOKV4E_js.saveViewerProfile; }
140
140
  });
141
141
  Object.defineProperty(exports, "savedPresentationFileName", {
142
142
  enumerable: true,
143
- get: function () { return chunkVRMITIZZ_js.savedPresentationFileName; }
143
+ get: function () { return chunk3FVOKV4E_js.savedPresentationFileName; }
144
144
  });
145
145
  Object.defineProperty(exports, "themeToCssVars", {
146
146
  enumerable: true,
147
- get: function () { return chunkVRMITIZZ_js.themeToCssVars; }
147
+ get: function () { return chunk3FVOKV4E_js.themeToCssVars; }
148
148
  });
149
149
  Object.defineProperty(exports, "vermilionDarkColors", {
150
150
  enumerable: true,
151
- get: function () { return chunkVRMITIZZ_js.vermilionDarkColors; }
151
+ get: function () { return chunk3FVOKV4E_js.vermilionDarkColors; }
152
152
  });
153
153
  Object.defineProperty(exports, "vermilionDarkTheme", {
154
154
  enumerable: true,
155
- get: function () { return chunkVRMITIZZ_js.vermilionDarkTheme; }
155
+ get: function () { return chunk3FVOKV4E_js.vermilionDarkTheme; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionLightColors", {
158
158
  enumerable: true,
159
- get: function () { return chunkVRMITIZZ_js.vermilionLightColors; }
159
+ get: function () { return chunk3FVOKV4E_js.vermilionLightColors; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionLightTheme", {
162
162
  enumerable: true,
163
- get: function () { return chunkVRMITIZZ_js.vermilionLightTheme; }
163
+ get: function () { return chunk3FVOKV4E_js.vermilionLightTheme; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionRadius", {
166
166
  enumerable: true,
167
- get: function () { return chunkVRMITIZZ_js.vermilionRadius; }
167
+ get: function () { return chunk3FVOKV4E_js.vermilionRadius; }
168
168
  });
169
169
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
170
170
  enumerable: true,
171
- get: function () { return chunkVRMITIZZ_js.writeStoredViewerPrefs; }
171
+ get: function () { return chunk3FVOKV4E_js.writeStoredViewerPrefs; }
172
172
  });
173
173
  Object.defineProperty(exports, "LOCALE_CATALOG", {
174
174
  enumerable: true,
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-RWVMSJ7C.mjs';
2
- import './chunk-YUIXPWFT.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-QLZHTIH6.mjs';
4
- export { getAnimationInitialStyle } from './chunk-U2H7CQ34.mjs';
5
- export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-PO2PYVHF.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-I5YSAIL5.mjs';
2
+ import './chunk-7ELFYC6K.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-3PUFHKXW.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-B3YVURJB.mjs';
5
+ export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-XMD6ZWUO.mjs';
6
6
  export { LOCALE_CATALOG } from './chunk-HMX3MQR7.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file