ooxml-core 1.42.0 → 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/{PptxHandler-A2J4PCOB.mjs → PptxHandler-3VAVJDFB.mjs} +2 -2
  2. package/dist/{PptxHandler-73QIJ6SD.cjs → PptxHandler-V23RDNEX.cjs} +2 -2
  3. package/dist/{PptxHandler-OGLVLX2T.mjs → PptxHandler-WB3KL2WH.mjs} +1 -1
  4. package/dist/{PresentationBuilder-APJKCMVS.mjs → PresentationBuilder-7LJMTRJ6.mjs} +2 -2
  5. package/dist/{PresentationBuilder-6S5PJXXF.cjs → PresentationBuilder-KHL6GONR.cjs} +4 -4
  6. package/dist/{PresentationBuilder-F3BWDERK.mjs → PresentationBuilder-PY2GB4IG.mjs} +1 -1
  7. package/dist/automation/index.cjs +4 -2
  8. package/dist/automation/index.mjs +4 -2
  9. package/dist/chart/index.cjs +7 -4
  10. package/dist/chart/index.mjs +7 -4
  11. package/dist/{chunk-ZUEN4RQG.mjs → chunk-243ZYX2B.mjs} +1 -1
  12. package/dist/{chunk-VV724DWE.mjs → chunk-4LEVL6ZW.mjs} +12 -7
  13. package/dist/{chunk-XVB3CBNM.mjs → chunk-HLYOHD2Z.mjs} +11 -6
  14. package/dist/{chunk-MXA67O7R.mjs → chunk-JHYU7HGG.mjs} +1 -1
  15. package/dist/{chunk-N6X5CJZP.mjs → chunk-KCDLTVUI.mjs} +1 -1
  16. package/dist/{chunk-YNQRXFTC.cjs → chunk-RNZQ2OU4.cjs} +11 -6
  17. package/dist/{chunk-CPSTCCRD.mjs → chunk-WEAWSXUX.mjs} +4 -4
  18. package/dist/docx/index.cjs +7 -4
  19. package/dist/docx/index.mjs +7 -4
  20. package/dist/docx/layout/index.cjs +139 -4
  21. package/dist/docx/layout/index.d.ts +1 -0
  22. package/dist/docx/layout/index.d.ts.map +1 -1
  23. package/dist/docx/layout/index.mjs +139 -5
  24. package/dist/docx/layout/webfont-runs.d.ts +5 -0
  25. package/dist/docx/layout/webfont-runs.d.ts.map +1 -0
  26. package/dist/docx/ui/index.cjs +7 -4
  27. package/dist/docx/ui/index.mjs +7 -4
  28. package/dist/index.cjs +2403 -72
  29. package/dist/index.mjs +2404 -73
  30. package/dist/opc/declared-fonts.d.ts +9 -0
  31. package/dist/opc/declared-fonts.d.ts.map +1 -0
  32. package/dist/opc/index.cjs +84 -0
  33. package/dist/opc/index.d.ts +1 -0
  34. package/dist/opc/index.d.ts.map +1 -1
  35. package/dist/opc/index.mjs +85 -2
  36. package/dist/pptx/automation/index.cjs +11 -6
  37. package/dist/pptx/automation/index.d.ts +3 -3
  38. package/dist/pptx/automation/index.mjs +5 -5
  39. package/dist/pptx/chunks/{index-BJuR8GLL.d.ts → index-Bj-hur0D.d.ts} +2 -2
  40. package/dist/pptx/chunks/{index-BJuR8GLL.d.ts.map → index-Bj-hur0D.d.ts.map} +1 -1
  41. package/dist/pptx/chunks/{index-Rbvl2WaM.d.ts → index-CCJiD-Bm.d.ts} +3 -3
  42. package/dist/pptx/chunks/{index-Rbvl2WaM.d.ts.map → index-CCJiD-Bm.d.ts.map} +1 -1
  43. package/dist/pptx/chunks/{index-xoJGYTgQ.d.ts → index-CGNb1TV9.d.ts} +18 -2
  44. package/dist/pptx/chunks/index-CGNb1TV9.d.ts.map +1 -0
  45. package/dist/pptx/cli/index.cjs +11 -6
  46. package/dist/pptx/cli/index.mjs +4 -4
  47. package/dist/pptx/converter/index.d.ts +1 -1
  48. package/dist/pptx/converter/index.mjs +2 -2
  49. package/dist/pptx/editor/render/find-replace.d.ts +1 -1
  50. package/dist/pptx/editor/render/slide-operations.cjs +1 -1
  51. package/dist/pptx/editor/render/slide-operations.mjs +1 -1
  52. package/dist/pptx/index.cjs +11 -6
  53. package/dist/pptx/index.d.ts +3 -3
  54. package/dist/pptx/index.mjs +5 -5
  55. package/dist/pptx/node/index.d.ts +1 -1
  56. package/dist/text/css-font-family.d.ts.map +1 -1
  57. package/dist/text/index.cjs +2244 -0
  58. package/dist/text/index.d.ts +1 -0
  59. package/dist/text/index.d.ts.map +1 -1
  60. package/dist/text/index.mjs +2223 -1
  61. package/dist/text/metric-font-family.d.ts.map +1 -1
  62. package/dist/text/webfonts/font-weight-names.d.ts +66 -0
  63. package/dist/text/webfonts/font-weight-names.d.ts.map +1 -0
  64. package/dist/text/webfonts/google-fonts-catalogue.d.ts +14 -0
  65. package/dist/text/webfonts/google-fonts-catalogue.d.ts.map +1 -0
  66. package/dist/text/webfonts/google-fonts-lookup.d.ts +7 -0
  67. package/dist/text/webfonts/google-fonts-lookup.d.ts.map +1 -0
  68. package/dist/text/webfonts/google-fonts-request.d.ts +57 -0
  69. package/dist/text/webfonts/google-fonts-request.d.ts.map +1 -0
  70. package/dist/text/webfonts/index.d.ts +12 -0
  71. package/dist/text/webfonts/index.d.ts.map +1 -0
  72. package/dist/text/webfonts/metric-clones.d.ts +17 -0
  73. package/dist/text/webfonts/metric-clones.d.ts.map +1 -0
  74. package/dist/text/webfonts/webfont-faces.d.ts +24 -0
  75. package/dist/text/webfonts/webfont-faces.d.ts.map +1 -0
  76. package/dist/visio/index.cjs +56 -0
  77. package/dist/visio/index.d.ts +1 -0
  78. package/dist/visio/index.d.ts.map +1 -1
  79. package/dist/visio/index.mjs +56 -1
  80. package/dist/visio/webfont-runs.d.ts +27 -0
  81. package/dist/visio/webfont-runs.d.ts.map +1 -0
  82. package/dist/xlsx/index.cjs +2137 -10
  83. package/dist/xlsx/index.mjs +2133 -11
  84. package/dist/xlsx/layout/font-stack.d.ts +8 -0
  85. package/dist/xlsx/layout/font-stack.d.ts.map +1 -0
  86. package/dist/xlsx/layout/index.d.ts +3 -1
  87. package/dist/xlsx/layout/index.d.ts.map +1 -1
  88. package/dist/xlsx/layout/shape-view.d.ts.map +1 -1
  89. package/dist/xlsx/layout/style-view.d.ts +2 -0
  90. package/dist/xlsx/layout/style-view.d.ts.map +1 -1
  91. package/dist/xlsx/layout/webfont-runs.d.ts +11 -0
  92. package/dist/xlsx/layout/webfont-runs.d.ts.map +1 -0
  93. package/dist/xlsx/ui/commands/util.d.ts.map +1 -1
  94. package/dist/xlsx/ui/context.d.ts +5 -0
  95. package/dist/xlsx/ui/context.d.ts.map +1 -1
  96. package/dist/xlsx/ui/grid/cell-paint.d.ts +3 -2
  97. package/dist/xlsx/ui/grid/cell-paint.d.ts.map +1 -1
  98. package/dist/xlsx/ui/index.cjs +2061 -13
  99. package/dist/xlsx/ui/index.mjs +2061 -14
  100. package/dist/xlsx/ui/locales/de/options.d.ts.map +1 -1
  101. package/dist/xlsx/ui/locales/en/options.d.ts.map +1 -1
  102. package/dist/xlsx/ui/locales/es/options.d.ts.map +1 -1
  103. package/dist/xlsx/ui/locales/fr/options.d.ts.map +1 -1
  104. package/dist/xlsx/ui/locales/zh-CN/options.d.ts.map +1 -1
  105. package/package.json +1 -1
  106. package/dist/pptx/chunks/index-xoJGYTgQ.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
- export { PptxHandler } from './chunk-VV724DWE.mjs';
2
- import './chunk-N6X5CJZP.mjs';
1
+ export { PptxHandler } from './chunk-4LEVL6ZW.mjs';
2
+ import './chunk-KCDLTVUI.mjs';
3
3
  import './chunk-EYCM7RVL.mjs';
4
4
  import './chunk-2N7RZQLC.mjs';
5
5
  import './chunk-VDUNZTJC.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkYNQRXFTC_cjs = require('./chunk-YNQRXFTC.cjs');
3
+ var chunkRNZQ2OU4_cjs = require('./chunk-RNZQ2OU4.cjs');
4
4
  require('./chunk-3J6VIKLP.cjs');
5
5
  require('./chunk-QZPOPUI5.cjs');
6
6
  require('./chunk-XZPZHXV4.cjs');
@@ -10,5 +10,5 @@ require('./chunk-5W2QL4SB.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "PptxHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkYNQRXFTC_cjs.PptxHandler; }
13
+ get: function () { return chunkRNZQ2OU4_cjs.PptxHandler; }
14
14
  });
@@ -1,4 +1,4 @@
1
- export { PptxHandler } from './chunk-XVB3CBNM.mjs';
1
+ export { PptxHandler } from './chunk-HLYOHD2Z.mjs';
2
2
  import './chunk-VKFKEVHK.mjs';
3
3
  import './chunk-IPV3J3I5.mjs';
4
4
  import './chunk-GXHKNSZX.mjs';
@@ -1,5 +1,5 @@
1
- export { PresentationBuilder, STANDARD_LAYOUTS, buildBlankPresentationArchive } from './chunk-VV724DWE.mjs';
2
- import './chunk-N6X5CJZP.mjs';
1
+ export { PresentationBuilder, STANDARD_LAYOUTS, buildBlankPresentationArchive } from './chunk-4LEVL6ZW.mjs';
2
+ import './chunk-KCDLTVUI.mjs';
3
3
  import './chunk-EYCM7RVL.mjs';
4
4
  import './chunk-2N7RZQLC.mjs';
5
5
  import './chunk-VDUNZTJC.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkYNQRXFTC_cjs = require('./chunk-YNQRXFTC.cjs');
3
+ var chunkRNZQ2OU4_cjs = require('./chunk-RNZQ2OU4.cjs');
4
4
  require('./chunk-3J6VIKLP.cjs');
5
5
  require('./chunk-QZPOPUI5.cjs');
6
6
  require('./chunk-XZPZHXV4.cjs');
@@ -10,13 +10,13 @@ require('./chunk-5W2QL4SB.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "PresentationBuilder", {
12
12
  enumerable: true,
13
- get: function () { return chunkYNQRXFTC_cjs.PresentationBuilder; }
13
+ get: function () { return chunkRNZQ2OU4_cjs.PresentationBuilder; }
14
14
  });
15
15
  Object.defineProperty(exports, "STANDARD_LAYOUTS", {
16
16
  enumerable: true,
17
- get: function () { return chunkYNQRXFTC_cjs.STANDARD_LAYOUTS; }
17
+ get: function () { return chunkRNZQ2OU4_cjs.STANDARD_LAYOUTS; }
18
18
  });
19
19
  Object.defineProperty(exports, "buildBlankPresentationArchive", {
20
20
  enumerable: true,
21
- get: function () { return chunkYNQRXFTC_cjs.buildBlankPresentationArchive; }
21
+ get: function () { return chunkRNZQ2OU4_cjs.buildBlankPresentationArchive; }
22
22
  });
@@ -1,4 +1,4 @@
1
- export { PresentationBuilder, STANDARD_LAYOUTS, buildBlankPresentationArchive } from './chunk-XVB3CBNM.mjs';
1
+ export { PresentationBuilder, STANDARD_LAYOUTS, buildBlankPresentationArchive } from './chunk-HLYOHD2Z.mjs';
2
2
  import './chunk-VKFKEVHK.mjs';
3
3
  import './chunk-IPV3J3I5.mjs';
4
4
  import './chunk-GXHKNSZX.mjs';
@@ -74646,10 +74646,12 @@ function cellFont(font, defaultFont) {
74646
74646
  if (!out.size && defaultFont.size) out.size = defaultFont.size;
74647
74647
  return out;
74648
74648
  }
74649
+ function fontFamilyName(font, theme3) {
74650
+ return font.scheme === "major" ? theme3.majorFont || font.name || "Calibri Light" : font.scheme === "minor" ? theme3.minorFont || font.name || "Calibri" : font.name || theme3.minorFont || "Calibri";
74651
+ }
74649
74652
  function fontView(font, theme3) {
74650
- const family = font.scheme === "major" ? theme3.majorFont || font.name || "Calibri Light" : font.scheme === "minor" ? theme3.minorFont || font.name || "Calibri" : font.name || theme3.minorFont || "Calibri";
74651
74653
  const view = {
74652
- family,
74654
+ family: fontFamilyName(font, theme3),
74653
74655
  sizePx: (font.size && font.size > 0 ? font.size : 11) * PX_PER_PT6,
74654
74656
  bold: font.bold === true,
74655
74657
  italic: font.italic === true,
@@ -74621,10 +74621,12 @@ function cellFont(font, defaultFont) {
74621
74621
  if (!out.size && defaultFont.size) out.size = defaultFont.size;
74622
74622
  return out;
74623
74623
  }
74624
+ function fontFamilyName(font, theme3) {
74625
+ return font.scheme === "major" ? theme3.majorFont || font.name || "Calibri Light" : font.scheme === "minor" ? theme3.minorFont || font.name || "Calibri" : font.name || theme3.minorFont || "Calibri";
74626
+ }
74624
74627
  function fontView(font, theme3) {
74625
- const family = font.scheme === "major" ? theme3.majorFont || font.name || "Calibri Light" : font.scheme === "minor" ? theme3.minorFont || font.name || "Calibri" : font.name || theme3.minorFont || "Calibri";
74626
74628
  const view = {
74627
- family,
74629
+ family: fontFamilyName(font, theme3),
74628
74630
  sizePx: (font.size && font.size > 0 ? font.size : 11) * PX_PER_PT6,
74629
74631
  bold: font.bold === true,
74630
74632
  italic: font.italic === true,
@@ -9877,10 +9877,13 @@ var FALLBACKS = {
9877
9877
  calibri: '"Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
9878
9878
  "calibri light": '"Calibri Light", "Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
9879
9879
  cambria: '"Cambria", "Caladea", Georgia, serif',
9880
- arial: 'Arial, "Liberation Sans", Helvetica, sans-serif',
9881
- "times new roman": '"Times New Roman", "Liberation Serif", Times, serif',
9882
- "courier new": '"Courier New", "Liberation Mono", monospace',
9883
- aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
9880
+ arial: 'Arial, "Arimo", "Liberation Sans", Helvetica, sans-serif',
9881
+ "times new roman": '"Times New Roman", "Tinos", "Liberation Serif", Times, serif',
9882
+ "courier new": '"Courier New", "Cousine", "Liberation Mono", monospace',
9883
+ georgia: '"Georgia", "Gelasio", serif',
9884
+ aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
9885
+ "aptos narrow": '"Aptos Narrow", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
9886
+ "aptos display": '"Aptos Display", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
9884
9887
  };
9885
9888
  function cssFontFamily(name) {
9886
9889
  const known = FALLBACKS[name.toLowerCase()];
@@ -9871,10 +9871,13 @@ var FALLBACKS = {
9871
9871
  calibri: '"Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
9872
9872
  "calibri light": '"Calibri Light", "Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
9873
9873
  cambria: '"Cambria", "Caladea", Georgia, serif',
9874
- arial: 'Arial, "Liberation Sans", Helvetica, sans-serif',
9875
- "times new roman": '"Times New Roman", "Liberation Serif", Times, serif',
9876
- "courier new": '"Courier New", "Liberation Mono", monospace',
9877
- aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
9874
+ arial: 'Arial, "Arimo", "Liberation Sans", Helvetica, sans-serif',
9875
+ "times new roman": '"Times New Roman", "Tinos", "Liberation Serif", Times, serif',
9876
+ "courier new": '"Courier New", "Cousine", "Liberation Mono", monospace',
9877
+ georgia: '"Georgia", "Gelasio", serif',
9878
+ aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
9879
+ "aptos narrow": '"Aptos Narrow", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
9880
+ "aptos display": '"Aptos Display", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
9878
9881
  };
9879
9882
  function cssFontFamily(name) {
9880
9883
  const known = FALLBACKS[name.toLowerCase()];
@@ -1,4 +1,4 @@
1
- import { hasTextProperties } from './chunk-N6X5CJZP.mjs';
1
+ import { hasTextProperties } from './chunk-KCDLTVUI.mjs';
2
2
  import { cloneSlide } from './chunk-VDUNZTJC.mjs';
3
3
 
4
4
  // pptx/core/builders/sdk/merge-operations.ts
@@ -1,4 +1,4 @@
1
- import { NS, RELATIONSHIP_TYPES, SMART_ART_DEFINITION_PARTS, VML_SHAPE_TAGS, isAlternateContentChoiceXmlSupported, parseVmlElement, unwrapAlternateContent, xmlChild, xmlAttr, parseDrawingMediaReference, cropShapeForPresetGeometry, isHeaderFooterPlaceholder, xmlPath, inheritedPlaceholderFieldType, parseParagraphLevel, xmlHasChild, parseParagraphExtraAttributes, parseParagraphMargins, parseAlignmentAttr, parseParagraphRtl, parseTabStops, resolveParagraphAlignment, xmlText, parseBodyPrBooleanAttrs, selectAlternateContentBranch, parseBulletSizePercent, extractColorChoiceXml, formatAutoNumberMarker, readText3DValues, readScene3DValues, parseParagraphSpacingPx, createBuiltinVariables, resolveCoordinate, readPathListCommandOrder, parseStructuredCustomGeometry, parseAdjustmentValues, parseGuideDefinitions, evaluateGuides, evaluateGeometryPaths, inheritCustomGeometryCommandOrder, parseInkMlContent, parseModel3DScene, nextRelationshipId, remapElementShapeIds, normalizeCustomShowIds, mapCustomShowActions, parseShapeId, isTemplateElementId, remapShapeIdReferences, reapplyAlternateContentToTree, buildOle2, SHAPE_TREE_ELEMENT_TAGS, MAX_SHAPE_ID, parseRelationships, resolvePartPath, orderedXmlKey, safeResolveZipPath, parseDataUrlToBytes, base64Decode, EMU_PER_PX, reorderObjectKeys, encodeCompressedPng, zlibStore, hash, concatArrays, encodePasswordUtf16LE, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, uint32LE, LN_CHILD_ORDER, pptxActionToElementAction, buildClrMapOverrideXml, applyActiveXControlsToSlide, BLIP_FILL_ORDER, SP_PR_ORDER, hasShapeProperties, ensureXmlChild, hasTextProperties, inkElementToStrokes, buildInkMlContent, ensureXmlChildOrCreate, isXmlNode, applyChartLayouts, stripXmlOrderSuffix, serializeTabStop, readCommentMentions, rebaseCommentMentions, applyCommentMentions, colorsEqual, generateFontGuid, applyBubbleChartOptions, applyChartUpDownBars, applyDataLabelsRangeToDLbls, applyChartAxisScaling, applyChartAxisLabelFormatting, upsertChartAxisChild, applyChartDateAxisUnits, applyChartAxisDisplayUnitsToXml, writeChartShapeProps, resolveTxPrDefRPr, buildDefRPrTextProperties, buildChartGradFillXml, applySeriesMarkerToXml, applySeriesDataPointsToXml, chartColorHex, drawingLineXml, parseDrawingTextBody, parseXml, parseDrawingFill, parseDrawingLine, first, buildXml, setDrawingFillXml, fillElementOf, patchDrawingLine, elements, drawingFillXml, applyChartManualLayout, chartTrendlineType, buildTrendlineLabel, serializeColorChoice, replaceOleEmbedding, findKey, collectAllText, buildNodeGuidMap, buildPresentationGuidMap, regenerateSmartArtDrawingShapes, buildFabricatedDrawingXml, buildFabricatedDiagramDataXml, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, drawingColorXml, applyDiagramRelationshipIds, buildSaveTimeCustomGeometryXml, applyCustomGeometryGuideOverrides, avLstForPreset, filterValidShapeAdjustmentEntries, applyDrawingMediaReference, DIAGRAM_XML_PROLOG, DIAGRAM_DATA_XMLNS, escapeDiagramXml, writeBodyPrBooleanAttrs, applyTextBodySp3d, writeShapeEffects, SHAPE_STYLE_ORDER, CAMERA_PRESETS, LIGHT_RIGS, LIGHT_DIRECTIONS, roundCoordinate, scaleVectorToIntegers, EMU_PER_PIXEL, P14_GUIDE_URI, P15_GUIDE_URI, buildGuideListExtension, resetSpPrFormattingForStyleMatrix, fillIsPurelyStyleMatrix, serializeColorChoiceWithRef, createLineStyleGate, applyDrawingLineDash, reorderObjectKeysByLocalName, getSignaturePathsToStrip, mergeSmartArtPointXml, mergeSmartArtConnectionXml, withDiagramPictureSources, diagramPictureRelationships, obfuscateFont, containsConvertibleStrictNamespaceAttribute, convertXmlToStrict, applySeriesPictureOptionsToXml, findChartExtByUri, findChildByLocalName, regenerateClonedUniqueId, buildChartUniqueIdExtLst, createOfficeGuid, isContentPoint, newSmartArtGuid, parseDiagramDataModel, DEFAULT_GENERATED_DIAGRAM_SCHEME, previewDiagramLayout, parseDiagramColors, resolveDrawingColor, children, parseDrawingRichTextBody, writeGeneratedDiagramDrawing, descendants, GENERATED_DIAGRAM_CACHE_NS, generatedDrawingDigest, parseChartUserShapesDrawing, xmlChildren, applyChartGradientToSpPr, setAutoTitleDeleted, insertAt, replaceFirstText, shouldRebuildFromParagraphs, buildPointFromParagraphs, shouldRebuildFromRuns, buildPointFromRuns, buildPointText, resolveThemeFillStyle, resolveThemeLineStyle, resolveThemeEffectStyle, relAttr, ensureXmlChildren, TC_PR_BORDERS_ORDER, writeChartColorChoice, relationshipsPartFor, stripParentDirSegments, parseChartUniqueId, buildChartMarkerXml, chartGradientsEqual, chartColorChoiceValue, parseChartFormulaRange, expandRangeAddresses, applyCellWritesToWorksheet, formatCellAddress, childrenNamed, childNamed, parseCellAddress, attr, parseDrawingEffects, drawingEffectsXml, readChartManualLayoutValues, worksheetData, buildEffectDagTreeFromXml, appendInSchemaOrder, RUN_PROPERTIES_ORDER, syncPictureShapeTypeWithCropShape, buildSrgbColorChoice, picturePercentage, ARTISTIC_PRIMARY_ATTRIBUTE, fetchUrlToBytes, parseChartWideTextStyle, hasLocalName, parseDefRPrTextStyle, parseChartDataLabelOptions, shadowOffsetToDistanceAndDirection, positiveFixedAngleAttribute, xmlAttrNumber, parseCustomShows, parseShapeProps, parseActiveXControlsFromSlide, convertMetafileToDataUrl, blobUrlToDataUrl, readPictureEffect, ooxmlGradientAngleToCssDegrees, isAlternateContentChoiceSupported, SvgExporter, detectStrictConformance, normalizeStrictXml, normalizeStShapeType, applyCustomShows, applySections, PRESENTATION_CHILD_ORDER, applyKinsokuToXml, normalizeNamespaceUri, backgroundStyleRefIsCurrent, backgroundRefNode, captureStyleBaseline, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, STYLE_MATRIX_EFFECT_KEYS, xmlAttrBool, detectOleObjectType, inferOleExtensionFromTarget, deriveSlideTitles, parseSlideDrawingGuides, slideBackgroundStyleRefFromNode, parseP14DirectChild, parseP14FromExtLst, P14_TRANSITION_TYPES, decodeXmlEntities, preservesXmlWhitespace, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, encodeXmlAttributeValue, encodeXmlTextValue, stripXmlOrderMarkers, CHART_ERROR_VALUE_TYPES, CHART_ERROR_BAR_TYPES, CHART_ERROR_BAR_DIRECTIONS, patchDrawingColorIn, MIN_ELEMENT_SIZE, createDrawingObjectId, DEFAULT_TEXT_FONT_SIZE, EncryptedFileError, decodePptxJsonText, parsePptxJson, pptxDataFromJsonDocument, applyImportedPptxData, DEFAULT_CHART_GRADIENT_ANGLE, supportsChartGradientFill, svgToCustomGeometryPaths, escAttr, buildRelationshipsXml, MIN_TABLE_DIMENSION, MAX_TABLE_DIMENSION, SYSTEM_COLOR_MAP, PRESET_COLOR_MAP, effectChild, mergeEffectNode, mergeAttributeEffectNode, estimateMediaDurationMs, parseVmlElements, prismFamilyFlags, prismFamilyTypeOfNode, prismFamilyTypeForFlags, P14_DIR_IS_ORIENTATION_TYPE, IncorrectPasswordError, applyThemeToData, detectFileFormat, parseOle2, decryptPptx, encryptPptx, escText, parseDrawingLineDash, parseLineSpacingMultiplier, parseLineSpacingExactPt, parseEncryptionInfo, RC4_ALG_ID, isOle2CompoundFile, ENTRY_TYPE_ROOT, PML_XMLNS, solidFill, esc, OOXML_PERCENT_UNITS, backgroundStylePreset, isDarkColorMap, backgroundStyleColorMap, reResolveElementsForColorMapChange, findThemeEffectScheme, wrapFormatSchemeXml, effectIsPurelyStyleMatrix, emu, formatSchemeKey, gradFill, loadThemeVariants, parsePresentationDrawingGuides, parsePresentationSmartTags, resolveLayoutDisplayName, detectDigitalSignatures, unwrapOleEmbedding, mimeTypeForOleFile, oleBytesToDataUrl, parseKinsoku, deobfuscateFont, detectFontFormat, parseDataTable, parseChartAxes, parseBubbleChartOptions, extractGuidFromPartName, parseChartLayouts, parseCxChartSeries, parseChartDataPointPictureBlipRel, extractCxSeriesColor, parseCxDataLabels, parseCxRegionMapOptions, parseCxAxes, parseSeriesDataLabels, parseChartDataPointPicture, parseImplicitBlipPictureFill, parseEmbeddedXlsx, EMU_PER_POINT, chartTrendlineKind, parseChartManualLayout, parseDiagramRelationshipIds, parseSmartArtTextParagraphs, firstParagraphRuns, smartArtParagraphsText, decodeBase64, parseSmartArtPresLayoutVars, parseDrawingColorIn, parseSmartArtConnection, connectionLabel, projectSmartArtNodeText, resolveSmartArtNodeStyleRoles, resolveSmartArtNodeCoherent3DOff, captureDiagramPictures, parseDiagramDrawing, parseSmartArtDefinitionMetadata, parseSmartArtColorStyleLabels, buildSmartArtColorLists, buildSmartArtColorRoleMap, collectTransitionText, parseSmartArtQuickStyleLabels, parseDiagramQuickStyle, parseDiagramLayoutSummary, resolveSmartArtEffectIntensity, parseSmartArtStyleLabelRefs, extractStyleReferenceColorXml, withThemePlaceholderColor, getElementOrientationMatrix, isTextOrientationMatrix, TEXT_ORIENTATION_IDENTITY, multiplyTextOrientationMatrices } from './chunk-N6X5CJZP.mjs';
1
+ import { NS, RELATIONSHIP_TYPES, SMART_ART_DEFINITION_PARTS, VML_SHAPE_TAGS, isAlternateContentChoiceXmlSupported, parseVmlElement, unwrapAlternateContent, xmlChild, xmlAttr, parseDrawingMediaReference, cropShapeForPresetGeometry, isHeaderFooterPlaceholder, xmlPath, inheritedPlaceholderFieldType, parseParagraphLevel, xmlHasChild, parseParagraphExtraAttributes, parseParagraphMargins, parseAlignmentAttr, parseParagraphRtl, parseTabStops, resolveParagraphAlignment, xmlText, parseBodyPrBooleanAttrs, selectAlternateContentBranch, parseBulletSizePercent, extractColorChoiceXml, formatAutoNumberMarker, readText3DValues, readScene3DValues, parseParagraphSpacingPx, createBuiltinVariables, resolveCoordinate, readPathListCommandOrder, parseStructuredCustomGeometry, parseAdjustmentValues, parseGuideDefinitions, evaluateGuides, evaluateGeometryPaths, inheritCustomGeometryCommandOrder, parseInkMlContent, parseModel3DScene, nextRelationshipId, remapElementShapeIds, normalizeCustomShowIds, mapCustomShowActions, parseShapeId, isTemplateElementId, remapShapeIdReferences, reapplyAlternateContentToTree, buildOle2, SHAPE_TREE_ELEMENT_TAGS, MAX_SHAPE_ID, parseRelationships, resolvePartPath, orderedXmlKey, safeResolveZipPath, parseDataUrlToBytes, base64Decode, EMU_PER_PX, reorderObjectKeys, encodeCompressedPng, zlibStore, hash, concatArrays, encodePasswordUtf16LE, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, uint32LE, LN_CHILD_ORDER, pptxActionToElementAction, buildClrMapOverrideXml, applyActiveXControlsToSlide, BLIP_FILL_ORDER, SP_PR_ORDER, hasShapeProperties, ensureXmlChild, hasTextProperties, inkElementToStrokes, buildInkMlContent, ensureXmlChildOrCreate, isXmlNode, applyChartLayouts, stripXmlOrderSuffix, serializeTabStop, readCommentMentions, rebaseCommentMentions, applyCommentMentions, colorsEqual, generateFontGuid, applyBubbleChartOptions, applyChartUpDownBars, applyDataLabelsRangeToDLbls, applyChartAxisScaling, applyChartAxisLabelFormatting, upsertChartAxisChild, applyChartDateAxisUnits, applyChartAxisDisplayUnitsToXml, writeChartShapeProps, resolveTxPrDefRPr, buildDefRPrTextProperties, buildChartGradFillXml, applySeriesMarkerToXml, applySeriesDataPointsToXml, chartColorHex, drawingLineXml, parseDrawingTextBody, parseXml, parseDrawingFill, parseDrawingLine, first, buildXml, setDrawingFillXml, fillElementOf, patchDrawingLine, elements, drawingFillXml, applyChartManualLayout, chartTrendlineType, buildTrendlineLabel, serializeColorChoice, replaceOleEmbedding, findKey, collectAllText, buildNodeGuidMap, buildPresentationGuidMap, regenerateSmartArtDrawingShapes, buildFabricatedDrawingXml, buildFabricatedDiagramDataXml, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, drawingColorXml, applyDiagramRelationshipIds, buildSaveTimeCustomGeometryXml, applyCustomGeometryGuideOverrides, avLstForPreset, filterValidShapeAdjustmentEntries, applyDrawingMediaReference, DIAGRAM_XML_PROLOG, DIAGRAM_DATA_XMLNS, escapeDiagramXml, writeBodyPrBooleanAttrs, applyTextBodySp3d, writeShapeEffects, SHAPE_STYLE_ORDER, CAMERA_PRESETS, LIGHT_RIGS, LIGHT_DIRECTIONS, roundCoordinate, scaleVectorToIntegers, EMU_PER_PIXEL, P14_GUIDE_URI, P15_GUIDE_URI, buildGuideListExtension, resetSpPrFormattingForStyleMatrix, fillIsPurelyStyleMatrix, serializeColorChoiceWithRef, createLineStyleGate, applyDrawingLineDash, reorderObjectKeysByLocalName, getSignaturePathsToStrip, mergeSmartArtPointXml, mergeSmartArtConnectionXml, withDiagramPictureSources, diagramPictureRelationships, obfuscateFont, containsConvertibleStrictNamespaceAttribute, convertXmlToStrict, applySeriesPictureOptionsToXml, findChartExtByUri, findChildByLocalName, regenerateClonedUniqueId, buildChartUniqueIdExtLst, createOfficeGuid, isContentPoint, newSmartArtGuid, parseDiagramDataModel, DEFAULT_GENERATED_DIAGRAM_SCHEME, previewDiagramLayout, parseDiagramColors, resolveDrawingColor, children, parseDrawingRichTextBody, writeGeneratedDiagramDrawing, descendants, GENERATED_DIAGRAM_CACHE_NS, generatedDrawingDigest, parseChartUserShapesDrawing, xmlChildren, applyChartGradientToSpPr, setAutoTitleDeleted, insertAt, replaceFirstText, shouldRebuildFromParagraphs, buildPointFromParagraphs, shouldRebuildFromRuns, buildPointFromRuns, buildPointText, resolveThemeFillStyle, resolveThemeLineStyle, resolveThemeEffectStyle, relAttr, ensureXmlChildren, TC_PR_BORDERS_ORDER, writeChartColorChoice, relationshipsPartFor, stripParentDirSegments, parseChartUniqueId, buildChartMarkerXml, chartGradientsEqual, chartColorChoiceValue, parseChartFormulaRange, expandRangeAddresses, applyCellWritesToWorksheet, formatCellAddress, childrenNamed, childNamed, parseCellAddress, attr, parseDrawingEffects, drawingEffectsXml, readChartManualLayoutValues, worksheetData, buildEffectDagTreeFromXml, appendInSchemaOrder, RUN_PROPERTIES_ORDER, syncPictureShapeTypeWithCropShape, buildSrgbColorChoice, picturePercentage, ARTISTIC_PRIMARY_ATTRIBUTE, fetchUrlToBytes, parseChartWideTextStyle, hasLocalName, parseDefRPrTextStyle, parseChartDataLabelOptions, shadowOffsetToDistanceAndDirection, positiveFixedAngleAttribute, xmlAttrNumber, parseCustomShows, parseShapeProps, parseActiveXControlsFromSlide, convertMetafileToDataUrl, blobUrlToDataUrl, readPictureEffect, ooxmlGradientAngleToCssDegrees, isAlternateContentChoiceSupported, SvgExporter, detectStrictConformance, normalizeStrictXml, normalizeStShapeType, applyCustomShows, applySections, PRESENTATION_CHILD_ORDER, applyKinsokuToXml, normalizeNamespaceUri, backgroundStyleRefIsCurrent, backgroundRefNode, captureStyleBaseline, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, STYLE_MATRIX_EFFECT_KEYS, xmlAttrBool, detectOleObjectType, inferOleExtensionFromTarget, deriveSlideTitles, parseSlideDrawingGuides, slideBackgroundStyleRefFromNode, parseP14DirectChild, parseP14FromExtLst, P14_TRANSITION_TYPES, decodeXmlEntities, preservesXmlWhitespace, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, encodeXmlAttributeValue, encodeXmlTextValue, stripXmlOrderMarkers, CHART_ERROR_VALUE_TYPES, CHART_ERROR_BAR_TYPES, CHART_ERROR_BAR_DIRECTIONS, patchDrawingColorIn, MIN_ELEMENT_SIZE, createDrawingObjectId, DEFAULT_TEXT_FONT_SIZE, EncryptedFileError, decodePptxJsonText, parsePptxJson, pptxDataFromJsonDocument, applyImportedPptxData, DEFAULT_CHART_GRADIENT_ANGLE, supportsChartGradientFill, svgToCustomGeometryPaths, escAttr, buildRelationshipsXml, MIN_TABLE_DIMENSION, MAX_TABLE_DIMENSION, SYSTEM_COLOR_MAP, PRESET_COLOR_MAP, effectChild, mergeEffectNode, mergeAttributeEffectNode, estimateMediaDurationMs, parseVmlElements, prismFamilyFlags, prismFamilyTypeOfNode, prismFamilyTypeForFlags, P14_DIR_IS_ORIENTATION_TYPE, IncorrectPasswordError, applyThemeToData, detectFileFormat, parseOle2, decryptPptx, encryptPptx, escText, parseDrawingLineDash, parseLineSpacingMultiplier, parseLineSpacingExactPt, parseEncryptionInfo, RC4_ALG_ID, isOle2CompoundFile, ENTRY_TYPE_ROOT, PML_XMLNS, solidFill, esc, OOXML_PERCENT_UNITS, backgroundStylePreset, isDarkColorMap, backgroundStyleColorMap, reResolveElementsForColorMapChange, findThemeEffectScheme, wrapFormatSchemeXml, effectIsPurelyStyleMatrix, emu, formatSchemeKey, gradFill, loadThemeVariants, parsePresentationDrawingGuides, parsePresentationSmartTags, resolveLayoutDisplayName, detectDigitalSignatures, unwrapOleEmbedding, mimeTypeForOleFile, oleBytesToDataUrl, parseKinsoku, deobfuscateFont, detectFontFormat, parseDataTable, parseChartAxes, parseBubbleChartOptions, extractGuidFromPartName, parseChartLayouts, parseCxChartSeries, parseChartDataPointPictureBlipRel, extractCxSeriesColor, parseCxDataLabels, parseCxRegionMapOptions, parseCxAxes, parseSeriesDataLabels, parseChartDataPointPicture, parseImplicitBlipPictureFill, parseEmbeddedXlsx, EMU_PER_POINT, chartTrendlineKind, parseChartManualLayout, parseDiagramRelationshipIds, parseSmartArtTextParagraphs, firstParagraphRuns, smartArtParagraphsText, decodeBase64, parseSmartArtPresLayoutVars, parseDrawingColorIn, parseSmartArtConnection, connectionLabel, projectSmartArtNodeText, resolveSmartArtNodeStyleRoles, resolveSmartArtNodeCoherent3DOff, captureDiagramPictures, parseDiagramDrawing, parseSmartArtDefinitionMetadata, parseSmartArtColorStyleLabels, buildSmartArtColorLists, buildSmartArtColorRoleMap, collectTransitionText, parseSmartArtQuickStyleLabels, parseDiagramQuickStyle, parseDiagramLayoutSummary, resolveSmartArtEffectIntensity, parseSmartArtStyleLabelRefs, extractStyleReferenceColorXml, withThemePlaceholderColor, getElementOrientationMatrix, isTextOrientationMatrix, TEXT_ORIENTATION_IDENTITY, multiplyTextOrientationMatrices } from './chunk-KCDLTVUI.mjs';
2
2
  import { openPptxZip, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, openZip, MAX_ZIP_ENTRY_COUNT, DEFAULT_MAX_UNCOMPRESSED_BYTES, guardZip, ZipBombError } from './chunk-EYCM7RVL.mjs';
3
3
  import { resolveSmartArtLayoutCategory } from './chunk-2N7RZQLC.mjs';
4
4
  import { cloneXmlObject, applySmartArtLayoutDefinition, cloneSlide, parseSmartArtLayoutDefinition } from './chunk-VDUNZTJC.mjs';
@@ -91753,7 +91753,7 @@ var PptxHandlerRuntime100 = class _PptxHandlerRuntime extends PptxHandlerRuntime
91753
91753
 
91754
91754
  // pptx/core/core/runtime/PptxHandlerRuntimeLoadPipeline.ts
91755
91755
  var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
91756
- async buildLoadData(presentationState, slidesWithWarnings, slideMasters) {
91756
+ async buildLoadData(presentationState, slidesWithWarnings, slideMasters, embedded) {
91757
91757
  const headerFooter = this.extractHeaderFooter();
91758
91758
  const presentationProperties = await this.parsePresentationProperties();
91759
91759
  const viewProperties = await this.parseViewProperties();
@@ -91761,8 +91761,7 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
91761
91761
  const customShows = this.parseCustomShows();
91762
91762
  const tableStyleMap = await this.parseTableStyles();
91763
91763
  const tableStylesDefaultId = this.loadedTableStylesDefaultId;
91764
- const embeddedFontList = parseEmbeddedFontList(this.presentationData);
91765
- const embeddedFonts = await this.getEmbeddedFonts(embeddedFontList);
91764
+ const { list: embeddedFontList, fonts: embeddedFonts } = embedded;
91766
91765
  this.loadedEmbeddedFonts = embeddedFonts;
91767
91766
  this.loadedEmbeddedFontList = embeddedFontList;
91768
91767
  const themeOptions = await this.parseThemeOptions();
@@ -91951,7 +91950,7 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
91951
91950
  await this.initializeLoadSession(data, options2);
91952
91951
  reader = this.beginPartReads();
91953
91952
  try {
91954
- return await this.loadInitializedSession();
91953
+ return await this.loadInitializedSession(options2.onSlidesParsed);
91955
91954
  } catch (error) {
91956
91955
  if (error instanceof PptxLoadLimitError) {
91957
91956
  this.dispose();
@@ -91962,7 +91961,7 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
91962
91961
  this.endPartReads(reader);
91963
91962
  }
91964
91963
  }
91965
- async loadInitializedSession() {
91964
+ async loadInitializedSession(onSlidesParsed) {
91966
91965
  await this.detectAndPreserveVbaProject();
91967
91966
  this.detectDigitalSignatureParts();
91968
91967
  await this.parseCustomXmlParts();
@@ -91973,7 +91972,13 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
91973
91972
  const slidesWithWarnings = this.attachSlideWarnings(slides);
91974
91973
  this.resetElementIdCounter(slides);
91975
91974
  recordSlideFingerprints(this.savedSlideFingerprints, slidesWithWarnings);
91976
- return this.buildLoadData(presentationState, slidesWithWarnings, slideMasters);
91975
+ const embeddedFontList = parseEmbeddedFontList(this.presentationData);
91976
+ const embeddedFonts = await this.getEmbeddedFonts(embeddedFontList);
91977
+ onSlidesParsed?.({ slides: slidesWithWarnings, embeddedFonts });
91978
+ return this.buildLoadData(presentationState, slidesWithWarnings, slideMasters, {
91979
+ list: embeddedFontList,
91980
+ fonts: embeddedFonts
91981
+ });
91977
91982
  }
91978
91983
  /**
91979
91984
  * Retrieve the current background colour for a layout or master.
@@ -92808,7 +92808,7 @@ var PptxHandlerRuntime100 = class _PptxHandlerRuntime extends PptxHandlerRuntime
92808
92808
 
92809
92809
  // pptx/core/core/runtime/PptxHandlerRuntimeLoadPipeline.ts
92810
92810
  var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
92811
- async buildLoadData(presentationState, slidesWithWarnings, slideMasters) {
92811
+ async buildLoadData(presentationState, slidesWithWarnings, slideMasters, embedded) {
92812
92812
  const headerFooter = this.extractHeaderFooter();
92813
92813
  const presentationProperties = await this.parsePresentationProperties();
92814
92814
  const viewProperties = await this.parseViewProperties();
@@ -92816,8 +92816,7 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
92816
92816
  const customShows = this.parseCustomShows();
92817
92817
  const tableStyleMap = await this.parseTableStyles();
92818
92818
  const tableStylesDefaultId = this.loadedTableStylesDefaultId;
92819
- const embeddedFontList = parseEmbeddedFontList(this.presentationData);
92820
- const embeddedFonts = await this.getEmbeddedFonts(embeddedFontList);
92819
+ const { list: embeddedFontList, fonts: embeddedFonts } = embedded;
92821
92820
  this.loadedEmbeddedFonts = embeddedFonts;
92822
92821
  this.loadedEmbeddedFontList = embeddedFontList;
92823
92822
  const themeOptions = await this.parseThemeOptions();
@@ -93006,7 +93005,7 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
93006
93005
  await this.initializeLoadSession(data, options2);
93007
93006
  reader = this.beginPartReads();
93008
93007
  try {
93009
- return await this.loadInitializedSession();
93008
+ return await this.loadInitializedSession(options2.onSlidesParsed);
93010
93009
  } catch (error) {
93011
93010
  if (error instanceof PptxLoadLimitError) {
93012
93011
  this.dispose();
@@ -93017,7 +93016,7 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
93017
93016
  this.endPartReads(reader);
93018
93017
  }
93019
93018
  }
93020
- async loadInitializedSession() {
93019
+ async loadInitializedSession(onSlidesParsed) {
93021
93020
  await this.detectAndPreserveVbaProject();
93022
93021
  this.detectDigitalSignatureParts();
93023
93022
  await this.parseCustomXmlParts();
@@ -93028,7 +93027,13 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
93028
93027
  const slidesWithWarnings = this.attachSlideWarnings(slides);
93029
93028
  this.resetElementIdCounter(slides);
93030
93029
  recordSlideFingerprints(this.savedSlideFingerprints, slidesWithWarnings);
93031
- return this.buildLoadData(presentationState, slidesWithWarnings, slideMasters);
93030
+ const embeddedFontList = parseEmbeddedFontList(this.presentationData);
93031
+ const embeddedFonts = await this.getEmbeddedFonts(embeddedFontList);
93032
+ onSlidesParsed?.({ slides: slidesWithWarnings, embeddedFonts });
93033
+ return this.buildLoadData(presentationState, slidesWithWarnings, slideMasters, {
93034
+ list: embeddedFontList,
93035
+ fonts: embeddedFonts
93036
+ });
93032
93037
  }
93033
93038
  /**
93034
93039
  * Retrieve the current background colour for a layout or master.
@@ -1,4 +1,4 @@
1
- import { hasTextProperties, isImageLikeElement, blobUrlToDataUrl, getSubstituteFontFamily, stripXmlOrderSuffix } from './chunk-N6X5CJZP.mjs';
1
+ import { hasTextProperties, isImageLikeElement, blobUrlToDataUrl, getSubstituteFontFamily, stripXmlOrderSuffix } from './chunk-KCDLTVUI.mjs';
2
2
 
3
3
  // pptx/converter/media-context.ts
4
4
  var MIME_TO_EXT = {
@@ -24588,7 +24588,7 @@ function findTextBearingElementById(elements3, elementId) {
24588
24588
  }
24589
24589
  async function loadNestedDeck(pptxBytes) {
24590
24590
  try {
24591
- const { PptxHandler } = await import('./PptxHandler-A2J4PCOB.mjs');
24591
+ const { PptxHandler } = await import('./PptxHandler-3VAVJDFB.mjs');
24592
24592
  const handler = new PptxHandler();
24593
24593
  const data = await handler.load(pptxBytes.buffer.slice(0));
24594
24594
  return { handler, slides: data.slides };
@@ -92814,7 +92814,7 @@ var PptxHandlerRuntime100 = class _PptxHandlerRuntime extends PptxHandlerRuntime
92814
92814
 
92815
92815
  // pptx/core/core/runtime/PptxHandlerRuntimeLoadPipeline.ts
92816
92816
  var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
92817
- async buildLoadData(presentationState, slidesWithWarnings, slideMasters) {
92817
+ async buildLoadData(presentationState, slidesWithWarnings, slideMasters, embedded) {
92818
92818
  const headerFooter = this.extractHeaderFooter();
92819
92819
  const presentationProperties = await this.parsePresentationProperties();
92820
92820
  const viewProperties = await this.parseViewProperties();
@@ -92822,8 +92822,7 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
92822
92822
  const customShows = this.parseCustomShows();
92823
92823
  const tableStyleMap = await this.parseTableStyles();
92824
92824
  const tableStylesDefaultId = this.loadedTableStylesDefaultId;
92825
- const embeddedFontList = parseEmbeddedFontList(this.presentationData);
92826
- const embeddedFonts = await this.getEmbeddedFonts(embeddedFontList);
92825
+ const { list: embeddedFontList, fonts: embeddedFonts } = embedded;
92827
92826
  this.loadedEmbeddedFonts = embeddedFonts;
92828
92827
  this.loadedEmbeddedFontList = embeddedFontList;
92829
92828
  const themeOptions = await this.parseThemeOptions();
@@ -93012,7 +93011,7 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
93012
93011
  await this.initializeLoadSession(data, options2);
93013
93012
  reader = this.beginPartReads();
93014
93013
  try {
93015
- return await this.loadInitializedSession();
93014
+ return await this.loadInitializedSession(options2.onSlidesParsed);
93016
93015
  } catch (error) {
93017
93016
  if (error instanceof PptxLoadLimitError) {
93018
93017
  this.dispose();
@@ -93023,7 +93022,7 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
93023
93022
  this.endPartReads(reader);
93024
93023
  }
93025
93024
  }
93026
- async loadInitializedSession() {
93025
+ async loadInitializedSession(onSlidesParsed) {
93027
93026
  await this.detectAndPreserveVbaProject();
93028
93027
  this.detectDigitalSignatureParts();
93029
93028
  await this.parseCustomXmlParts();
@@ -93034,7 +93033,13 @@ var PptxHandlerRuntime101 = class extends PptxHandlerRuntime100 {
93034
93033
  const slidesWithWarnings = this.attachSlideWarnings(slides);
93035
93034
  this.resetElementIdCounter(slides);
93036
93035
  recordSlideFingerprints(this.savedSlideFingerprints, slidesWithWarnings);
93037
- return this.buildLoadData(presentationState, slidesWithWarnings, slideMasters);
93036
+ const embeddedFontList = parseEmbeddedFontList(this.presentationData);
93037
+ const embeddedFonts = await this.getEmbeddedFonts(embeddedFontList);
93038
+ onSlidesParsed?.({ slides: slidesWithWarnings, embeddedFonts });
93039
+ return this.buildLoadData(presentationState, slidesWithWarnings, slideMasters, {
93040
+ list: embeddedFontList,
93041
+ fonts: embeddedFonts
93042
+ });
93038
93043
  }
93039
93044
  /**
93040
93045
  * Retrieve the current background colour for a layout or master.
@@ -1,6 +1,6 @@
1
- import { findText, replaceText, replaceTextInSlide, mergePresentation } from './chunk-ZUEN4RQG.mjs';
2
- import { PresentationBuilder, PptxHandler, SlideBuilder, validateSeriesIndex, removeEmptyDataPoint, ensureDataPoint, ensureChartData, assertChartGradientSupported, toChartGradientFill, chartFormatTargetKey, readChartElementFormat, hasGradientField, applyGradient, mirrorFlatFields, mirrorTextColor, withSeries, applyChartGroupOptionsInput, countExistingLayouts, addLayoutToSlideMaster, addLayoutContentType, createLayout, STANDARD_LAYOUTS, generateLayoutXml, layoutRelsXml, createTextElement, createShapeElement, createImageElement, createTableElement, createChartElement, createConnectorElement, createMediaElement, createGroupElement, clonePartGraph, buildBlankPresentationArchive, FILL_CHOICE_ELEMENTS, relativePartTarget, PptxXmlBuilder } from './chunk-VV724DWE.mjs';
3
- import { SP_PR_ORDER, EMU_PER_PIXEL, EMU_PER_INCH, parseXml, first, relationshipsPartFor, parseRelationships, resolvePartPath, elements, buildXml, buildRelationshipsXml, bytesToBase64, base64ToBytes, LN_CHILD_ORDER, BLIP_FILL_ORDER, EFFECT_LST_ORDER, SHAPE_STYLE_ORDER, TC_PR_BORDERS_ORDER, hasTextProperties, nextRelationshipId, escAttr, NS } from './chunk-N6X5CJZP.mjs';
1
+ import { findText, replaceText, replaceTextInSlide, mergePresentation } from './chunk-243ZYX2B.mjs';
2
+ import { PresentationBuilder, PptxHandler, SlideBuilder, validateSeriesIndex, removeEmptyDataPoint, ensureDataPoint, ensureChartData, assertChartGradientSupported, toChartGradientFill, chartFormatTargetKey, readChartElementFormat, hasGradientField, applyGradient, mirrorFlatFields, mirrorTextColor, withSeries, applyChartGroupOptionsInput, countExistingLayouts, addLayoutToSlideMaster, addLayoutContentType, createLayout, STANDARD_LAYOUTS, generateLayoutXml, layoutRelsXml, createTextElement, createShapeElement, createImageElement, createTableElement, createChartElement, createConnectorElement, createMediaElement, createGroupElement, clonePartGraph, buildBlankPresentationArchive, FILL_CHOICE_ELEMENTS, relativePartTarget, PptxXmlBuilder } from './chunk-4LEVL6ZW.mjs';
3
+ import { SP_PR_ORDER, EMU_PER_PIXEL, EMU_PER_INCH, parseXml, first, relationshipsPartFor, parseRelationships, resolvePartPath, elements, buildXml, buildRelationshipsXml, bytesToBase64, base64ToBytes, LN_CHILD_ORDER, BLIP_FILL_ORDER, EFFECT_LST_ORDER, SHAPE_STYLE_ORDER, TC_PR_BORDERS_ORDER, hasTextProperties, nextRelationshipId, escAttr, NS } from './chunk-KCDLTVUI.mjs';
4
4
  import { openPptxZip, openZip } from './chunk-EYCM7RVL.mjs';
5
5
  import { cloneSlide, cloneElement } from './chunk-VDUNZTJC.mjs';
6
6
 
@@ -15098,7 +15098,7 @@ async function setPresentationRunText(bytes, slideIndex, elementId, runIndex, te
15098
15098
  async function createPresentationFromOutline(slides, options = {}) {
15099
15099
  if (!(slides instanceof Array) || !slides.length || slides.length > 200)
15100
15100
  throw new Error("A presentation outline has 1 to 200 slides");
15101
- const { PresentationBuilder: PresentationBuilder2 } = await import('./PresentationBuilder-APJKCMVS.mjs');
15101
+ const { PresentationBuilder: PresentationBuilder2 } = await import('./PresentationBuilder-7LJMTRJ6.mjs');
15102
15102
  const { handler, data, createSlide } = await PresentationBuilder2.create({
15103
15103
  ...options.title ? { title: options.title } : {}
15104
15104
  });
@@ -34815,10 +34815,13 @@ var FALLBACKS = {
34815
34815
  calibri: '"Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
34816
34816
  "calibri light": '"Calibri Light", "Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
34817
34817
  cambria: '"Cambria", "Caladea", Georgia, serif',
34818
- arial: 'Arial, "Liberation Sans", Helvetica, sans-serif',
34819
- "times new roman": '"Times New Roman", "Liberation Serif", Times, serif',
34820
- "courier new": '"Courier New", "Liberation Mono", monospace',
34821
- aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
34818
+ arial: 'Arial, "Arimo", "Liberation Sans", Helvetica, sans-serif',
34819
+ "times new roman": '"Times New Roman", "Tinos", "Liberation Serif", Times, serif',
34820
+ "courier new": '"Courier New", "Cousine", "Liberation Mono", monospace',
34821
+ georgia: '"Georgia", "Gelasio", serif',
34822
+ aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
34823
+ "aptos narrow": '"Aptos Narrow", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
34824
+ "aptos display": '"Aptos Display", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
34822
34825
  };
34823
34826
  function cssFontFamily(name2) {
34824
34827
  const known = FALLBACKS[name2.toLowerCase()];
@@ -34809,10 +34809,13 @@ var FALLBACKS = {
34809
34809
  calibri: '"Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
34810
34810
  "calibri light": '"Calibri Light", "Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
34811
34811
  cambria: '"Cambria", "Caladea", Georgia, serif',
34812
- arial: 'Arial, "Liberation Sans", Helvetica, sans-serif',
34813
- "times new roman": '"Times New Roman", "Liberation Serif", Times, serif',
34814
- "courier new": '"Courier New", "Liberation Mono", monospace',
34815
- aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
34812
+ arial: 'Arial, "Arimo", "Liberation Sans", Helvetica, sans-serif',
34813
+ "times new roman": '"Times New Roman", "Tinos", "Liberation Serif", Times, serif',
34814
+ "courier new": '"Courier New", "Cousine", "Liberation Mono", monospace',
34815
+ georgia: '"Georgia", "Gelasio", serif',
34816
+ aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
34817
+ "aptos narrow": '"Aptos Narrow", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
34818
+ "aptos display": '"Aptos Display", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
34816
34819
  };
34817
34820
  function cssFontFamily(name2) {
34818
34821
  const known = FALLBACKS[name2.toLowerCase()];
@@ -16086,10 +16086,13 @@ var FALLBACKS = {
16086
16086
  calibri: '"Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
16087
16087
  "calibri light": '"Calibri Light", "Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
16088
16088
  cambria: '"Cambria", "Caladea", Georgia, serif',
16089
- arial: 'Arial, "Liberation Sans", Helvetica, sans-serif',
16090
- "times new roman": '"Times New Roman", "Liberation Serif", Times, serif',
16091
- "courier new": '"Courier New", "Liberation Mono", monospace',
16092
- aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
16089
+ arial: 'Arial, "Arimo", "Liberation Sans", Helvetica, sans-serif',
16090
+ "times new roman": '"Times New Roman", "Tinos", "Liberation Serif", Times, serif',
16091
+ "courier new": '"Courier New", "Cousine", "Liberation Mono", monospace',
16092
+ georgia: '"Georgia", "Gelasio", serif',
16093
+ aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
16094
+ "aptos narrow": '"Aptos Narrow", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
16095
+ "aptos display": '"Aptos Display", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
16093
16096
  };
16094
16097
  function cssFontFamily(name2) {
16095
16098
  const known = FALLBACKS[name2.toLowerCase()];
@@ -21448,6 +21451,18 @@ function diagramColorTheme(theme) {
21448
21451
  }
21449
21452
 
21450
21453
  // docx/document-paragraphs.ts
21454
+ function documentBlockLists(model) {
21455
+ return [
21456
+ model.blocks,
21457
+ ...(model.sections ?? []).flatMap(
21458
+ (section) => [section.headers, section.footers].flatMap(
21459
+ (slots) => Object.values(slots ?? {}).flatMap((content) => content ? [content.blocks] : [])
21460
+ )
21461
+ ),
21462
+ ...Object.values(model.footnoteSeparators ?? {}).map((note) => note.blocks),
21463
+ ...[...model.footnotes ?? [], ...model.endnotes ?? []].map((note) => note.blocks)
21464
+ ];
21465
+ }
21451
21466
  function mapBlockParagraphs(blocks, map) {
21452
21467
  return blocks.map(
21453
21468
  (block) => block.type === "paragraph" ? map(block) : {
@@ -27550,6 +27565,12 @@ var METRIC_FONT_SUBSTITUTES = {
27550
27565
  calibri: { fallbacks: ["Carlito"], generic: "sans-serif" },
27551
27566
  "calibri light": { fallbacks: ["Carlito"], generic: "sans-serif" },
27552
27567
  cambria: { fallbacks: ["Caladea"], generic: "serif" },
27568
+ // Aptos, the Microsoft 365 default, has Calibri-close metrics; Carlito is the closest measured
27569
+ // clone (see `webfonts/metric-clones.ts`, which requests the same family).
27570
+ aptos: { fallbacks: ["Carlito"], generic: "sans-serif" },
27571
+ "aptos display": { fallbacks: ["Carlito"], generic: "sans-serif" },
27572
+ "aptos narrow": { fallbacks: ["Carlito"], generic: "sans-serif" },
27573
+ "aptos serif": { fallbacks: ["Caladea"], generic: "serif" },
27553
27574
  arial: { fallbacks: ["Arimo", "Liberation Sans"], generic: "sans-serif" },
27554
27575
  helvetica: { fallbacks: ["Arimo", "Liberation Sans"], generic: "sans-serif" },
27555
27576
  "times new roman": { fallbacks: ["Tinos", "Liberation Serif"], generic: "serif" },
@@ -27570,6 +27591,119 @@ function cssFontStack(family) {
27570
27591
  return metricFontFamily(family?.trim() || DEFAULT_FONT_FAMILY);
27571
27592
  }
27572
27593
 
27594
+ // docx/layout/webfont-runs.ts
27595
+ function collectDocxWebfontRuns(model) {
27596
+ const runs = [];
27597
+ const theme = model.theme;
27598
+ const labels = computeListLabels(model);
27599
+ const push = (run) => {
27600
+ if (run.text !== "") runs.push(run);
27601
+ };
27602
+ const familyOf = (formatting) => {
27603
+ const role = formatting.fontTheme?.ascii ?? formatting.fontTheme?.hAnsi;
27604
+ return formatting.fontFamily ?? (role && theme ? theme.fonts[role]?.latin : void 0);
27605
+ };
27606
+ const emptyRun = (formatting) => {
27607
+ runs.push({
27608
+ family: familyOf(formatting) ?? DEFAULT_FONT_FAMILY,
27609
+ bold: formatting.bold === true,
27610
+ italic: formatting.italic === true,
27611
+ text: ""
27612
+ });
27613
+ };
27614
+ const emit = (text2, formatting, family) => {
27615
+ const latin = family || DEFAULT_FONT_FAMILY;
27616
+ const eaRole = formatting.fontTheme?.eastAsia;
27617
+ const csRole = formatting.fontTheme?.cs;
27618
+ const bold = formatting.bold === true;
27619
+ const italic = formatting.italic === true;
27620
+ const fonts = {
27621
+ latin,
27622
+ eastAsia: formatting.fontFamilyEastAsia || eaRole && theme?.fonts[eaRole]?.eastAsia || latin,
27623
+ complexScript: formatting.fontFamilyComplexScript || csRole && theme?.fonts[csRole]?.complexScript || latin,
27624
+ symbol: latin
27625
+ };
27626
+ for (const piece of segmentByFont(text2, fonts))
27627
+ push({ family: piece.fontFamily, bold, italic, text: piece.text });
27628
+ };
27629
+ const paragraphRuns = (paragraph, tableStyleRun) => {
27630
+ const context = {
27631
+ runCatalog: model.characterStyles,
27632
+ paragraphCatalog: model.paragraphStyles,
27633
+ paragraphStyleId: paragraph.style,
27634
+ ...tableStyleRun ? { tableStyleRun } : {}
27635
+ };
27636
+ const label = labels.get(paragraph.id);
27637
+ const firstFormatting = resolveRunFormatting(paragraph.runs[0] ?? { text: "" }, context);
27638
+ if (label && !label.picture) {
27639
+ const marker = label.markerFormat;
27640
+ push({
27641
+ family: marker?.fontFamily ?? familyOf(firstFormatting) ?? DEFAULT_FONT_FAMILY,
27642
+ bold: marker?.bold ?? firstFormatting.bold === true,
27643
+ italic: marker?.italic ?? firstFormatting.italic === true,
27644
+ text: label.text
27645
+ });
27646
+ }
27647
+ if (paragraph.runs.every((run) => !run.text)) emptyRun(firstFormatting);
27648
+ for (const source of paragraph.runs) {
27649
+ for (const run of symbolSegments(source)) {
27650
+ const formatting = resolveRunFormatting(run, context);
27651
+ if (formatting.vanish) continue;
27652
+ const textBox = run.image?.textBoxText;
27653
+ if (textBox) emit(textBox.join("\n"), {}, DEFAULT_FONT_FAMILY);
27654
+ if (!run.text || run.image) continue;
27655
+ const family = symbolOnly(run) && run.symbol?.font || familyOf(formatting);
27656
+ emit(formatting.caps ? run.text.toUpperCase() : run.text, formatting, family);
27657
+ }
27658
+ }
27659
+ };
27660
+ const tableRuns = (table) => {
27661
+ const rowCount = table.rows.length;
27662
+ const columnCount = Math.max(
27663
+ 0,
27664
+ ...table.rows.map((row2) => row2.reduce((sum, cell) => sum + (cell.gridSpan ?? 1), 0))
27665
+ );
27666
+ table.rows.forEach((row2, rowIndex) => {
27667
+ let column = 0;
27668
+ for (const cell of row2) {
27669
+ const tableStyleRun = table.style ? resolveTableStyleFormatting(
27670
+ table.style,
27671
+ model.tableStyles,
27672
+ table.look,
27673
+ rowIndex,
27674
+ rowCount,
27675
+ column,
27676
+ columnCount
27677
+ ).run : void 0;
27678
+ for (const paragraph of cell.paragraphs) paragraphRuns(paragraph, tableStyleRun);
27679
+ const nestedBlocks = (cell.sourceBlocks ?? []).filter(
27680
+ (block) => block.type === "table"
27681
+ );
27682
+ for (const block of nestedBlocks) tableRuns(block);
27683
+ if (nestedBlocks.length === 0)
27684
+ for (const nested of cell.nestedTables ?? [])
27685
+ for (const nestedRow of nested.rows)
27686
+ for (const nestedCell of nestedRow) emit(nestedCell.text, {}, DEFAULT_FONT_FAMILY);
27687
+ column += cell.gridSpan ?? 1;
27688
+ }
27689
+ });
27690
+ };
27691
+ const blockRuns = (blocks) => {
27692
+ for (const block of blocks) {
27693
+ if (block.type === "paragraph") paragraphRuns(block);
27694
+ else tableRuns(block);
27695
+ }
27696
+ };
27697
+ for (const blocks of documentBlockLists(model)) blockRuns(blocks);
27698
+ emptyRun(
27699
+ resolveRunFormatting(
27700
+ { text: "" },
27701
+ { runCatalog: model.characterStyles, paragraphCatalog: model.paragraphStyles }
27702
+ )
27703
+ );
27704
+ return runs;
27705
+ }
27706
+
27573
27707
  // docx/layout/incremental-layout.ts
27574
27708
  var LOOKAHEAD_BLOCKS = 66;
27575
27709
  function paragraphBoxes(page) {
@@ -27749,6 +27883,7 @@ exports.adaptDocumentModel = adaptDocumentModel;
27749
27883
  exports.adjustForWidowOrphan = adjustForWidowOrphan;
27750
27884
  exports.appendBreakMarker = appendBreakMarker;
27751
27885
  exports.cellVerticalOffset = cellVerticalOffset;
27886
+ exports.collectDocxWebfontRuns = collectDocxWebfontRuns;
27752
27887
  exports.createFakeMeasurer = createFakeMeasurer;
27753
27888
  exports.createLayoutSession = createLayoutSession;
27754
27889
  exports.cssFontStack = cssFontStack;
@@ -19,6 +19,7 @@ export { layoutDocument, layoutDocumentModel } from './layout.js';
19
19
  export { reviewSourceLength, type LayoutReviewOptions } from './review-display.js';
20
20
  export { floatPosition, floatOrigin, positionFloats, FLOAT_WRAP_NOTE } from './floats.js';
21
21
  export { cssFontStack } from './fonts.js';
22
+ export { collectDocxWebfontRuns } from './webfont-runs.js';
22
23
  export { placeTab, type TabPlacement } from './tab-stops.js';
23
24
  export { createLayoutSession, type LayoutSessionOptions } from './layout-session.js';
24
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../docx/layout/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../docx/layout/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC"}