pptx-react-viewer 1.0.7 → 1.0.8

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.
@@ -4,6 +4,7 @@ import { F as FindResult, M as MergeOptions } from './text-operations-D0f1jred.j
4
4
  export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-D0f1jred.js';
5
5
  import { XMLParser, XMLBuilder } from 'fast-xml-parser';
6
6
  import JSZip from 'jszip';
7
+ export { C as CertificateRevocationStatus, D as DIGEST_ALGORITHM_TO_HASH, a as DIGEST_ALGORITHM_TO_WEB_CRYPTO, b as DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, c as DIGITAL_SIGNATURE_REL_TYPE, d as DigitalSignatureReport, e as DigitalSignatureVerificationStatus, E as ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, f as ENTERPRISE_REQUIRE_REVOCATION_ENV, g as ENTERPRISE_REQUIRE_TIMESTAMP_ENV, h as ENTERPRISE_TRUST_ROOTS_FILE_ENV, i as ENTERPRISE_TRUST_ROOTS_PEM_ENV, L as LoadedSigningMaterial, M as MYCLAWASSIST_MANIFEST_NS, O as OPC_RELATIONSHIP_TRANSFORM, j as OfficeSignatureReference, P as ParsedReferenceTransform, R as ReferenceTransformResult, S as SUPPORTED_XML_CANON_TRANSFORMS, k as SignOptions, l as SignResult, m as SignatureDetail, n as SignatureDetailStatus, o as SignatureNodeCertificateInfo, p as SignatureReferenceCheck, q as SignatureValidationPolicy, T as TimestampAuthorityStatus, X as XMLDSIG_NS, r as XML_TRANSFORM_ENVELOPED_SIGNATURE, s as computeDetailStatus, t as computeDigestBase64WebCrypto, u as computeVerificationStatus, v as escapeXmlAttr, w as extractAllTagText, x as extractFirstTagText, y as extractTagAttribute, z as normalizePartPath, A as resolveReferenceUriToPart } from './signature-inspection-status-DDKhc1bm.js';
7
8
  export { convertEmfToDataUrl, convertWmfToDataUrl } from 'emf-converter';
8
9
  export { C as ConversionOptions, a as ConversionResult, D as DocumentConverter, F as FileSystemAdapter, M as MediaContext, P as PptxConverterOptions, b as PptxMarkdownConverter, S as SlideProcessor, c as SlideProcessorOptions, d as SvgExportOptions, e as SvgExporter, f as dataUrlToMediaBytes, g as deriveOutputPath, h as generateMediaFilename, i as getDirectory, n as normalizePath } from './SvgExporter-BZJguJbp.js';
9
10
 
@@ -2845,11 +2846,7 @@ declare function detectDigitalSignatures(zipEntryPaths: string[]): SignatureDete
2845
2846
  * Includes all `_xmlsignatures/` entries (XML, .sigs, .rels, etc.).
2846
2847
  */
2847
2848
  declare function getSignaturePathsToStrip(zipEntryPaths: string[]): string[];
2848
- /**
2849
- * The OOXML relationship type used for digital signature origin.
2850
- * This relationship appears in `_rels/.rels` pointing to `_xmlsignatures/origin.sigs`.
2851
- */
2852
- declare const DIGITAL_SIGNATURE_ORIGIN_REL_TYPE = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/origin";
2849
+
2853
2850
  /**
2854
2851
  * Parse a single ds:Signature XML document into structured signature info.
2855
2852
  *
@@ -10793,4 +10790,4 @@ type ThemePresetName = keyof typeof ThemePresets;
10793
10790
  /** Get a theme preset by name string. */
10794
10791
  declare function getThemePreset(name: ThemePresetName): ThemePreset;
10795
10792
 
10796
- export { AnimationCondition, type AnimationInput, type BackgroundInput, BulletInfo, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, type CalloutLeaderLineGeometry, type CalloutPoint, ChartBuilder, type ChartInput, type ChartOptions, ChartPptxElement, type ChartSeriesInput, type ColorMapAliasKey, type CompatibilityWarningInput, ConnectorArrowType, ConnectorBuilder, type ConnectorGeometryType, type ConnectorOptions, type ConnectorPathGeometry, ConnectorPptxElement, ConnectorXmlFactory, type ConnectorXmlFactoryInit, type ContainerBounds, CustomGeometryPath, CustomGeometryPoint, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, DataIntegrityError, EMU_PER_INCH, EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ElementAction, type ElementDiff, type ElementPosition, EncryptedFileError, type EncryptionAlgorithm, type EncryptionInfo, type EncryptionOptions, FONT_SUBSTITUTION_MAP, type FileFormatDetection, type FillInput, FindResult, FreeformPathBuilder, GeometryAdjustmentHandle, type GeometryContext, type GeometryGuide, GroupBuilder, type GroupOptions, GroupPptxElement, type HslColor, type IConnectorXmlFactory, type ICoreXmlElementFactory, type IFactory, type IMediaGraphicFrameXmlFactory, type IPictureXmlFactory, type IPptxAnimationWriteService, type IPptxColorStyleCodec, type IPptxCommentAuthorsXmlFactory, type IPptxCommentXmlFactoryProvider, type IPptxCompatibilityService, type IPptxConnectorParser, type IPptxContentTypesBuilder, type IPptxEditorAnimationService, type IPptxElementTransformUpdater, type IPptxGraphicFrameParser, type IPptxHandlerRuntime, type IPptxHandlerRuntimeFactory, type IPptxMediaDataParser, type IPptxNativeAnimationService, type IPptxPresentationSaveBuilder, type IPptxPresentationSlidesReconciler, type IPptxRuntimeDependencyFactory, type IPptxShapeIdValidator, type IPptxShapeStyleExtractor, type IPptxSlideBackgroundBuilder, type IPptxSlideCommentPartWriter, type IPptxSlideCommentsXmlFactory, type IPptxSlideLoaderService, type IPptxSlideMediaRelationshipBuilder, type IPptxSlideNotesPartUpdater, type IPptxSlideRelationshipRegistry, type IPptxSlideTransitionService, type IPptxTableDataParser, type IPptxTemplateBackgroundService, type IPptxXmlBuilder, type IPptxXmlFactoryProvider, type IPptxXmlLookupService, type ITextShapeXmlFactory, type IXmlElementFactory, ImageBuilder, type ImageMaskStyle, type ImageOptions, ImagePptxElement, IncorrectPasswordError, InkPptxElement, type LayoutAlgorithmType, type LayoutConstraints, type LayoutCreationResult, type LayoutDefinition, type LayoutEngineShape, type LayoutRule, type LinkedTextBoxChain, type LinkedTextBoxChainMember, type LinkedTextBoxSegmentMap, MIN_ELEMENT_SIZE, MediaBookmark, MediaBuilder, MediaGraphicFrameXmlFactory, type MediaGraphicFrameXmlFactoryInit, type MediaOptions, MediaPptxElement, MergeOptions, type MergeShapeOperation, type Model3DTransform, type Ole2DirectoryEntry, type Ole2File, Ole2ParseError, OleObjectType, type OoxmlConformanceClass, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_TO_OOXML, type ParsedLayoutDef, type ParsedSignature, ParsedTableStyleFill, ParsedTableStyleMap, ParsedTableStyleText, PictureXmlFactory, type PictureXmlFactoryInit, PlaceholderDefaults, type PlaceholderDefinition, PlaceholderTextLevelStyle, PptxAction, PptxActiveXControl, PptxAnimationPreset, PptxAnimationTrigger, PptxAnimationWriteService, PptxAppProperties, type PptxBuilderFactoryContext, PptxChart3DSurface, PptxChartAxisFormatting, PptxChartData, PptxChartDataLabel, PptxChartDataPoint, PptxChartDataTable, PptxChartErrBars, PptxChartLineStyle, PptxChartMarker, PptxChartSeries, PptxChartShapeProps, PptxChartStyle, PptxChartTrendline, PptxChartType, PptxColorStyleCodec, type PptxColorStyleCodecContext, PptxComment, PptxCommentAuthor, type PptxCommentAuthorDescriptor, PptxCommentAuthorsXmlFactory, type PptxCommentAuthorsXmlFactoryInit, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxCompatibilityWarning, PptxConnectorParser, type PptxConnectorParserContext, PptxContentTypesBuilder, type PptxContentTypesCommentBuildInput, type PptxContentTypesSlideMediaBuildInput, PptxCoreProperties, PptxCustomProperty, PptxCustomShow, PptxCustomXmlPart, PptxCustomerData, PptxData, PptxDocumentPropertiesUpdater, PptxDrawingGuide, PptxEditorAnimationService, type PptxEditorAnimationServiceOptions, PptxElement, PptxElementAnimation, PptxElementTransformUpdater, PptxElementWithShapeStyle, PptxElementWithText, PptxElementXmlBuilder, type PptxElementXmlBuilderOptions, PptxEmbeddedFont, PptxEmbeddedWorkbookData, PptxExportOptions, PptxExternalData, PptxGraphicFrameParser, type PptxGraphicFrameParserContext, PptxHandler, type PptxHandlerLoadOptions, PptxHandlerRuntime, PptxHandlerRuntimeFactory, type PptxHandlerSaveOptions, PptxHandoutMaster, PptxHeaderFooter, PptxImageEffects, PptxImageLikeElement, PptxKinsoku, PptxLayoutOption, PptxLoadDataBuilder, PptxMediaDataParser, type PptxMediaDataParserContext, type PptxMediaTimingEntry, type PptxMediaTimingMap, PptxModifyVerifier, PptxNativeAnimation, PptxNativeAnimationService, PptxNotesMaster, PptxPhotoAlbum, PptxPresentationProperties, type PptxPresentationSaveBuildInput, PptxPresentationSaveBuilder, type PptxPresentationSaveBuilderOptions, PptxPresentationSlidesReconciler, type PptxPresentationSlidesReconcilerInput, type PptxRuntimeDependencyBundle, PptxRuntimeDependencyFactory, type PptxRuntimeDependencyFactoryInput, type PptxSaveConstants, PptxSaveConstantsFactory, type PptxSaveFormat, type PptxSaveMediaKind, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxSection, PptxShapeIdValidator, PptxShapeLocks, PptxShapeStyleExtractor, type PptxShapeStyleExtractorContext, PptxSlide, PptxSlideBackgroundBuilder, type PptxSlideBackgroundBuilderInput, PptxSlideBuilder, PptxSlideCommentPartWriter, type PptxSlideCommentPartWriterInput, type PptxSlideCommentRelationshipInfo, PptxSlideCommentsXmlFactory, type PptxSlideCommentsXmlFactoryInit, PptxSlideElementsBuilder, type PptxSlideLoaderParams, PptxSlideLoaderService, type PptxSlideLoaderThemeOverride, PptxSlideMaster, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, type PptxSlideNotesPartUpdaterInput, type PptxSlideNotesResult, PptxSlideRelationshipRegistry, type PptxSlideRelationshipRegistryOptions, PptxSlideTransition, PptxSlideTransitionService, type PptxSlideTransitionServiceOptions, PptxSmartArtChrome, PptxSmartArtColorTransform, PptxSmartArtData, PptxSmartArtDrawingShape, PptxSmartArtNode, PptxSmartArtQuickStyle, PptxTableCellStyle, PptxTableData, PptxTableDataParser, type PptxTableDataParserContext, PptxTagCollection, PptxTemplateBackgroundService, type PptxTemplateBackgroundState, PptxTheme, PptxThemeColorScheme, PptxThemeEffectStyle, PptxThemeFillStyle, PptxThemeFontScheme, PptxThemeFormatScheme, PptxThemeLineStyle, PptxThemeOption, type PptxThemePreset, PptxTransitionType, PptxViewProperties, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, type PresentationBuilderResult, type PresentationDiff, type PresentationOptions, type PresentationThemeInput, type PresetShapeCategory, type PresetShapeDefinition, type PropertyChange, type ReflowedNodePosition, type RepairResult, SHAPE_TREE_ELEMENT_TAGS, STROKE_DASH_OPTIONS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, type ShadowInput, ShapeBuilder, type ShapeOptions, ShapePptxElement, ShapeStyle, type SignatureCertificateInfo, type SignatureDetectionResult, type SignatureReference, type SignatureStatus, SlideBuilder, type SlideDiff, SlideSizes, SmartArtLayoutType, SmartArtPptxElement, type StandardEncryptionInfo, StrokeDashType, type StrokeInput, type SupportedShapeType, THEME_PRESETS, TableBuilder, type TableCellInput, type TableInput, type TableOptions, TablePptxElement, type TableRowInput, type TemplateData, TextBuilder, type TextOptions, TextPptxElement, TextSegment, type TextSegmentInput, TextShapeXmlFactory, type TextShapeXmlFactoryInit, TextStyle, type TextStyleInput, type ThemePreset, type ThemePresetName, ThemePresets, type TransitionInput, VML_SHAPE_TAGS, type ValidationIssue, type ValidationResult, type Vec2, XmlObject, ZoomPptxElement, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyDrawingColorTransforms, applyKinsokuToXml, applyTemplate, applyThemeToData, areNamespacesSupported, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, combineShapes, computeCycleLayout, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableElement, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, extractGuidFromPartName, extractModel3DTransform, fetchUrlToBytes, findLayoutByName, findLayoutByType, findPlaceholders, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isZoomElement$1 as isZoomElement, isZoomElement as isZoomElementUtil, layoutEngineShapesToDrawingShapes, mailMerge, mergeShapes, mergeThemeColorOverride, mm, moveSlidesToSection, normalizeHexColor, normalizeNamespaceUri, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, ooxmlArcToSvg, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseChart3DSurfaces, parseChartAxes, parseCondition, parseConditionList, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSvgPath, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, reflowSmartArtLayout, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveModel3DMimeType, rgbToHsl, selectAlternateContentBranch, serializeCondition, serializeConditionList, serializeSvgPath, setChartCategories, setChartGrouping, setChartTitle, setChartType, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, updateChartDataPoint, updateChartSeriesValues, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs };
10793
+ export { AnimationCondition, type AnimationInput, type BackgroundInput, BulletInfo, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, type CalloutLeaderLineGeometry, type CalloutPoint, ChartBuilder, type ChartInput, type ChartOptions, ChartPptxElement, type ChartSeriesInput, type ColorMapAliasKey, type CompatibilityWarningInput, ConnectorArrowType, ConnectorBuilder, type ConnectorGeometryType, type ConnectorOptions, type ConnectorPathGeometry, ConnectorPptxElement, ConnectorXmlFactory, type ConnectorXmlFactoryInit, type ContainerBounds, CustomGeometryPath, CustomGeometryPoint, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DataIntegrityError, EMU_PER_INCH, EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ElementAction, type ElementDiff, type ElementPosition, EncryptedFileError, type EncryptionAlgorithm, type EncryptionInfo, type EncryptionOptions, FONT_SUBSTITUTION_MAP, type FileFormatDetection, type FillInput, FindResult, FreeformPathBuilder, GeometryAdjustmentHandle, type GeometryContext, type GeometryGuide, GroupBuilder, type GroupOptions, GroupPptxElement, type HslColor, type IConnectorXmlFactory, type ICoreXmlElementFactory, type IFactory, type IMediaGraphicFrameXmlFactory, type IPictureXmlFactory, type IPptxAnimationWriteService, type IPptxColorStyleCodec, type IPptxCommentAuthorsXmlFactory, type IPptxCommentXmlFactoryProvider, type IPptxCompatibilityService, type IPptxConnectorParser, type IPptxContentTypesBuilder, type IPptxEditorAnimationService, type IPptxElementTransformUpdater, type IPptxGraphicFrameParser, type IPptxHandlerRuntime, type IPptxHandlerRuntimeFactory, type IPptxMediaDataParser, type IPptxNativeAnimationService, type IPptxPresentationSaveBuilder, type IPptxPresentationSlidesReconciler, type IPptxRuntimeDependencyFactory, type IPptxShapeIdValidator, type IPptxShapeStyleExtractor, type IPptxSlideBackgroundBuilder, type IPptxSlideCommentPartWriter, type IPptxSlideCommentsXmlFactory, type IPptxSlideLoaderService, type IPptxSlideMediaRelationshipBuilder, type IPptxSlideNotesPartUpdater, type IPptxSlideRelationshipRegistry, type IPptxSlideTransitionService, type IPptxTableDataParser, type IPptxTemplateBackgroundService, type IPptxXmlBuilder, type IPptxXmlFactoryProvider, type IPptxXmlLookupService, type ITextShapeXmlFactory, type IXmlElementFactory, ImageBuilder, type ImageMaskStyle, type ImageOptions, ImagePptxElement, IncorrectPasswordError, InkPptxElement, type LayoutAlgorithmType, type LayoutConstraints, type LayoutCreationResult, type LayoutDefinition, type LayoutEngineShape, type LayoutRule, type LinkedTextBoxChain, type LinkedTextBoxChainMember, type LinkedTextBoxSegmentMap, MIN_ELEMENT_SIZE, MediaBookmark, MediaBuilder, MediaGraphicFrameXmlFactory, type MediaGraphicFrameXmlFactoryInit, type MediaOptions, MediaPptxElement, MergeOptions, type MergeShapeOperation, type Model3DTransform, type Ole2DirectoryEntry, type Ole2File, Ole2ParseError, OleObjectType, type OoxmlConformanceClass, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_TO_OOXML, type ParsedLayoutDef, type ParsedSignature, ParsedTableStyleFill, ParsedTableStyleMap, ParsedTableStyleText, PictureXmlFactory, type PictureXmlFactoryInit, PlaceholderDefaults, type PlaceholderDefinition, PlaceholderTextLevelStyle, PptxAction, PptxActiveXControl, PptxAnimationPreset, PptxAnimationTrigger, PptxAnimationWriteService, PptxAppProperties, type PptxBuilderFactoryContext, PptxChart3DSurface, PptxChartAxisFormatting, PptxChartData, PptxChartDataLabel, PptxChartDataPoint, PptxChartDataTable, PptxChartErrBars, PptxChartLineStyle, PptxChartMarker, PptxChartSeries, PptxChartShapeProps, PptxChartStyle, PptxChartTrendline, PptxChartType, PptxColorStyleCodec, type PptxColorStyleCodecContext, PptxComment, PptxCommentAuthor, type PptxCommentAuthorDescriptor, PptxCommentAuthorsXmlFactory, type PptxCommentAuthorsXmlFactoryInit, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxCompatibilityWarning, PptxConnectorParser, type PptxConnectorParserContext, PptxContentTypesBuilder, type PptxContentTypesCommentBuildInput, type PptxContentTypesSlideMediaBuildInput, PptxCoreProperties, PptxCustomProperty, PptxCustomShow, PptxCustomXmlPart, PptxCustomerData, PptxData, PptxDocumentPropertiesUpdater, PptxDrawingGuide, PptxEditorAnimationService, type PptxEditorAnimationServiceOptions, PptxElement, PptxElementAnimation, PptxElementTransformUpdater, PptxElementWithShapeStyle, PptxElementWithText, PptxElementXmlBuilder, type PptxElementXmlBuilderOptions, PptxEmbeddedFont, PptxEmbeddedWorkbookData, PptxExportOptions, PptxExternalData, PptxGraphicFrameParser, type PptxGraphicFrameParserContext, PptxHandler, type PptxHandlerLoadOptions, PptxHandlerRuntime, PptxHandlerRuntimeFactory, type PptxHandlerSaveOptions, PptxHandoutMaster, PptxHeaderFooter, PptxImageEffects, PptxImageLikeElement, PptxKinsoku, PptxLayoutOption, PptxLoadDataBuilder, PptxMediaDataParser, type PptxMediaDataParserContext, type PptxMediaTimingEntry, type PptxMediaTimingMap, PptxModifyVerifier, PptxNativeAnimation, PptxNativeAnimationService, PptxNotesMaster, PptxPhotoAlbum, PptxPresentationProperties, type PptxPresentationSaveBuildInput, PptxPresentationSaveBuilder, type PptxPresentationSaveBuilderOptions, PptxPresentationSlidesReconciler, type PptxPresentationSlidesReconcilerInput, type PptxRuntimeDependencyBundle, PptxRuntimeDependencyFactory, type PptxRuntimeDependencyFactoryInput, type PptxSaveConstants, PptxSaveConstantsFactory, type PptxSaveFormat, type PptxSaveMediaKind, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxSection, PptxShapeIdValidator, PptxShapeLocks, PptxShapeStyleExtractor, type PptxShapeStyleExtractorContext, PptxSlide, PptxSlideBackgroundBuilder, type PptxSlideBackgroundBuilderInput, PptxSlideBuilder, PptxSlideCommentPartWriter, type PptxSlideCommentPartWriterInput, type PptxSlideCommentRelationshipInfo, PptxSlideCommentsXmlFactory, type PptxSlideCommentsXmlFactoryInit, PptxSlideElementsBuilder, type PptxSlideLoaderParams, PptxSlideLoaderService, type PptxSlideLoaderThemeOverride, PptxSlideMaster, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, type PptxSlideNotesPartUpdaterInput, type PptxSlideNotesResult, PptxSlideRelationshipRegistry, type PptxSlideRelationshipRegistryOptions, PptxSlideTransition, PptxSlideTransitionService, type PptxSlideTransitionServiceOptions, PptxSmartArtChrome, PptxSmartArtColorTransform, PptxSmartArtData, PptxSmartArtDrawingShape, PptxSmartArtNode, PptxSmartArtQuickStyle, PptxTableCellStyle, PptxTableData, PptxTableDataParser, type PptxTableDataParserContext, PptxTagCollection, PptxTemplateBackgroundService, type PptxTemplateBackgroundState, PptxTheme, PptxThemeColorScheme, PptxThemeEffectStyle, PptxThemeFillStyle, PptxThemeFontScheme, PptxThemeFormatScheme, PptxThemeLineStyle, PptxThemeOption, type PptxThemePreset, PptxTransitionType, PptxViewProperties, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, type PresentationBuilderResult, type PresentationDiff, type PresentationOptions, type PresentationThemeInput, type PresetShapeCategory, type PresetShapeDefinition, type PropertyChange, type ReflowedNodePosition, type RepairResult, SHAPE_TREE_ELEMENT_TAGS, STROKE_DASH_OPTIONS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, type ShadowInput, ShapeBuilder, type ShapeOptions, ShapePptxElement, ShapeStyle, type SignatureCertificateInfo, type SignatureDetectionResult, type SignatureReference, type SignatureStatus, SlideBuilder, type SlideDiff, SlideSizes, SmartArtLayoutType, SmartArtPptxElement, type StandardEncryptionInfo, StrokeDashType, type StrokeInput, type SupportedShapeType, THEME_PRESETS, TableBuilder, type TableCellInput, type TableInput, type TableOptions, TablePptxElement, type TableRowInput, type TemplateData, TextBuilder, type TextOptions, TextPptxElement, TextSegment, type TextSegmentInput, TextShapeXmlFactory, type TextShapeXmlFactoryInit, TextStyle, type TextStyleInput, type ThemePreset, type ThemePresetName, ThemePresets, type TransitionInput, VML_SHAPE_TAGS, type ValidationIssue, type ValidationResult, type Vec2, XmlObject, ZoomPptxElement, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyDrawingColorTransforms, applyKinsokuToXml, applyTemplate, applyThemeToData, areNamespacesSupported, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, combineShapes, computeCycleLayout, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableElement, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, extractGuidFromPartName, extractModel3DTransform, fetchUrlToBytes, findLayoutByName, findLayoutByType, findPlaceholders, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isZoomElement$1 as isZoomElement, isZoomElement as isZoomElementUtil, layoutEngineShapesToDrawingShapes, mailMerge, mergeShapes, mergeThemeColorOverride, mm, moveSlidesToSection, normalizeHexColor, normalizeNamespaceUri, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, ooxmlArcToSvg, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseChart3DSurfaces, parseChartAxes, parseCondition, parseConditionList, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSvgPath, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, reflowSmartArtLayout, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveModel3DMimeType, rgbToHsl, selectAlternateContentBranch, serializeCondition, serializeConditionList, serializeSvgPath, setChartCategories, setChartGrouping, setChartTitle, setChartType, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, updateChartDataPoint, updateChartSeriesValues, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs };
@@ -10166,6 +10166,38 @@ ${nextText}` : nextText;
10166
10166
  }
10167
10167
  };
10168
10168
 
10169
+ // src/core/utils/signature-constants.ts
10170
+ var DIGITAL_SIGNATURE_ORIGIN_REL_TYPE = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/origin";
10171
+ var DIGITAL_SIGNATURE_REL_TYPE = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/signature";
10172
+ var MYCLAWASSIST_MANIFEST_NS = "urn:myclawassist:ooxml-signature:v1";
10173
+ var XMLDSIG_NS = "http://www.w3.org/2000/09/xmldsig#";
10174
+ var OPC_RELATIONSHIP_TRANSFORM = "http://schemas.openxmlformats.org/package/2006/RelationshipTransform";
10175
+ var XML_TRANSFORM_ENVELOPED_SIGNATURE = "http://www.w3.org/2000/09/xmldsig#enveloped-signature";
10176
+ var SUPPORTED_XML_CANON_TRANSFORMS = /* @__PURE__ */ new Set([
10177
+ "http://www.w3.org/TR/2001/REC-xml-c14n-20010315",
10178
+ "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments",
10179
+ "http://www.w3.org/2001/10/xml-exc-c14n#",
10180
+ "http://www.w3.org/2001/10/xml-exc-c14n#WithComments",
10181
+ XML_TRANSFORM_ENVELOPED_SIGNATURE
10182
+ ]);
10183
+ var ENTERPRISE_TRUST_ROOTS_FILE_ENV = "MYCLAWASSIST_PPTX_TRUST_ROOTS_FILE";
10184
+ var ENTERPRISE_TRUST_ROOTS_PEM_ENV = "MYCLAWASSIST_PPTX_TRUST_ROOTS_PEM";
10185
+ var ENTERPRISE_REQUIRE_REVOCATION_ENV = "MYCLAWASSIST_PPTX_REQUIRE_REVOCATION_CHECK";
10186
+ var ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV = "MYCLAWASSIST_PPTX_FAIL_ON_REVOCATION_UNKNOWN";
10187
+ var ENTERPRISE_REQUIRE_TIMESTAMP_ENV = "MYCLAWASSIST_PPTX_REQUIRE_TIMESTAMP";
10188
+ var DIGEST_ALGORITHM_TO_HASH = {
10189
+ "http://www.w3.org/2000/09/xmldsig#sha1": "sha1",
10190
+ "http://www.w3.org/2001/04/xmlenc#sha256": "sha256",
10191
+ "http://www.w3.org/2001/04/xmlenc#sha384": "sha384",
10192
+ "http://www.w3.org/2001/04/xmlenc#sha512": "sha512"
10193
+ };
10194
+ var DIGEST_ALGORITHM_TO_WEB_CRYPTO = {
10195
+ "http://www.w3.org/2000/09/xmldsig#sha1": "SHA-1",
10196
+ "http://www.w3.org/2001/04/xmlenc#sha256": "SHA-256",
10197
+ "http://www.w3.org/2001/04/xmlenc#sha384": "SHA-384",
10198
+ "http://www.w3.org/2001/04/xmlenc#sha512": "SHA-512"
10199
+ };
10200
+
10169
10201
  // src/core/utils/signature-detection.ts
10170
10202
  var SIGNATURE_PREFIX = "_xmlsignatures/";
10171
10203
  function detectDigitalSignatures(zipEntryPaths) {
@@ -10181,7 +10213,6 @@ function detectDigitalSignatures(zipEntryPaths) {
10181
10213
  function getSignaturePathsToStrip(zipEntryPaths) {
10182
10214
  return zipEntryPaths.filter((p) => p.startsWith(SIGNATURE_PREFIX));
10183
10215
  }
10184
- var DIGITAL_SIGNATURE_ORIGIN_REL_TYPE = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/origin";
10185
10216
  function findByLocalName(parent, localName) {
10186
10217
  if (!parent) {
10187
10218
  return void 0;
@@ -18439,6 +18470,133 @@ async function createModifyVerifier(password, options) {
18439
18470
  };
18440
18471
  }
18441
18472
 
18473
+ // src/core/utils/signature-xml-utils.ts
18474
+ function escapeXmlAttr(value) {
18475
+ return value.replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
18476
+ }
18477
+ function extractTagAttribute(xml, tagName, attributeName) {
18478
+ const pattern = new RegExp(
18479
+ `<${tagName}\\b[^>]*\\b${attributeName}="(?<attributeValue>[^"]+)"`,
18480
+ "i"
18481
+ );
18482
+ const match = xml.match(pattern);
18483
+ return match?.groups?.["attributeValue"]?.trim();
18484
+ }
18485
+ function extractFirstTagText(xml, localName) {
18486
+ const pattern = new RegExp(
18487
+ `<([\\w.-]+:)?${localName}\\b[^>]*>([\\s\\S]*?)<\\/([\\w.-]+:)?${localName}>`,
18488
+ "i"
18489
+ );
18490
+ const match = xml.match(pattern);
18491
+ return match?.[2]?.replace(/\s+/g, "").trim() || void 0;
18492
+ }
18493
+ function extractAllTagText(xml, localName) {
18494
+ const result = [];
18495
+ const regex = new RegExp(
18496
+ `<([\\w.-]+:)?${localName}\\b[^>]*>([\\s\\S]*?)<\\/([\\w.-]+:)?${localName}>`,
18497
+ "gi"
18498
+ );
18499
+ let match = regex.exec(xml);
18500
+ while (match) {
18501
+ const value = match[2]?.replace(/\s+/g, "").trim();
18502
+ if (value) {
18503
+ result.push(value);
18504
+ }
18505
+ match = regex.exec(xml);
18506
+ }
18507
+ return result;
18508
+ }
18509
+
18510
+ // src/core/utils/signature-reference-utils.ts
18511
+ function normalizePartPath(partPath) {
18512
+ return partPath.replace(/\\/g, "/").replace(/^\/+/, "");
18513
+ }
18514
+ function resolveReferenceUriToPart(uri) {
18515
+ const trimmed = uri.trim();
18516
+ if (trimmed.length === 0 || trimmed.startsWith("#")) {
18517
+ return void 0;
18518
+ }
18519
+ const decoded = decodeURIComponent(trimmed);
18520
+ return normalizePartPath(decoded.startsWith("/") ? decoded.slice(1) : decoded);
18521
+ }
18522
+
18523
+ // src/core/utils/signature-digest.ts
18524
+ async function computeDigestBase64(content, digestAlgorithmUri) {
18525
+ const webCryptoAlgo = DIGEST_ALGORITHM_TO_WEB_CRYPTO[digestAlgorithmUri];
18526
+ if (!webCryptoAlgo) {
18527
+ return void 0;
18528
+ }
18529
+ if (typeof globalThis.crypto?.subtle === "undefined") {
18530
+ return void 0;
18531
+ }
18532
+ const buf = new ArrayBuffer(content.byteLength);
18533
+ new Uint8Array(buf).set(content);
18534
+ const digest = await globalThis.crypto.subtle.digest(webCryptoAlgo, buf);
18535
+ return uint8ArrayToBase64(new Uint8Array(digest));
18536
+ }
18537
+ function uint8ArrayToBase64(bytes) {
18538
+ let binary = "";
18539
+ for (let i = 0; i < bytes.byteLength; i++) {
18540
+ binary += String.fromCharCode(bytes[i]);
18541
+ }
18542
+ return btoa(binary);
18543
+ }
18544
+
18545
+ // src/core/utils/signature-inspection-status.ts
18546
+ function computeDetailStatus(detail, policy) {
18547
+ const hasDigestMismatch = detail.referenceChecks.some(
18548
+ (check) => check.digestStatus === "mismatch"
18549
+ );
18550
+ const hasMissingPart = detail.missingPartReferences.length > 0;
18551
+ const hasVerifiedDigest = detail.referenceChecks.some(
18552
+ (check) => check.digestStatus === "verified"
18553
+ );
18554
+ const revocationUnknown = detail.certificateRevocationStatus === "unknown" || detail.certificateRevocationStatus === "not-checked" || detail.certificateRevocationStatus === "error";
18555
+ const timestampMissingOrUntrusted = detail.timestampAuthorityStatus === "not-present" || detail.timestampAuthorityStatus === "not-checked" || detail.timestampAuthorityStatus === "error" || detail.timestampAuthorityStatus === "untrusted";
18556
+ if (detail.signatureValueStatus === "invalid") {
18557
+ return "signature-invalid";
18558
+ }
18559
+ if (hasMissingPart) {
18560
+ return "reference-missing";
18561
+ }
18562
+ if (hasDigestMismatch) {
18563
+ return "digest-mismatch";
18564
+ }
18565
+ if (detail.certificateRevocationStatus === "revoked") {
18566
+ return "certificate-revoked";
18567
+ }
18568
+ if (policy.requireRevocationCheck && (policy.failOnRevocationUnknown ? revocationUnknown : detail.certificateRevocationStatus !== "good")) {
18569
+ return "certificate-untrusted";
18570
+ }
18571
+ if (detail.timestampAuthorityStatus === "invalid") {
18572
+ return "timestamp-invalid";
18573
+ }
18574
+ if (policy.requireTimestamp && timestampMissingOrUntrusted) {
18575
+ return "timestamp-untrusted";
18576
+ }
18577
+ if (detail.timestampAuthorityStatus === "untrusted") {
18578
+ return "timestamp-untrusted";
18579
+ }
18580
+ if (detail.certificateTrustStatus === "untrusted" && detail.signatureValueStatus === "verified") {
18581
+ return "certificate-untrusted";
18582
+ }
18583
+ if (hasVerifiedDigest && detail.signatureValueStatus === "verified") {
18584
+ return "verified";
18585
+ }
18586
+ return "structural-only";
18587
+ }
18588
+ function computeVerificationStatus(details) {
18589
+ const hasInvalidSignature = details.some((detail) => detail.status === "signature-invalid");
18590
+ const hasMissing = details.some((detail) => detail.status === "reference-missing");
18591
+ const hasMismatch = details.some((detail) => detail.status === "digest-mismatch");
18592
+ const hasUntrusted = details.some((detail) => detail.status === "certificate-untrusted");
18593
+ const hasRevoked = details.some((detail) => detail.status === "certificate-revoked");
18594
+ const hasTimestampInvalid = details.some((detail) => detail.status === "timestamp-invalid");
18595
+ const hasTimestampUntrusted = details.some((detail) => detail.status === "timestamp-untrusted");
18596
+ const allVerified = details.every((detail) => detail.status === "verified");
18597
+ return hasInvalidSignature ? "signature-invalid" : hasRevoked ? "certificate-revoked" : hasTimestampInvalid ? "timestamp-invalid" : hasTimestampUntrusted ? "timestamp-untrusted" : hasMissing ? "reference-missing" : hasMismatch ? "digest-mismatch" : allVerified ? "verified-trusted" : hasUntrusted ? "verified-untrusted" : "present-not-verified";
18598
+ }
18599
+
18442
18600
  // src/core/utils/chart-data-utils.ts
18443
18601
  var XY_CHART_TYPES = /* @__PURE__ */ new Set(["scatter", "bubble"]);
18444
18602
  var GROUPING_SUPPORTED_TYPES = /* @__PURE__ */ new Set([
@@ -49288,13 +49446,21 @@ exports.DEFAULT_SCHEME_COLOR_MAP = DEFAULT_SCHEME_COLOR_MAP;
49288
49446
  exports.DEFAULT_STROKE_COLOR = DEFAULT_STROKE_COLOR;
49289
49447
  exports.DEFAULT_TEXT_COLOR = DEFAULT_TEXT_COLOR;
49290
49448
  exports.DEFAULT_TEXT_FONT_SIZE = DEFAULT_TEXT_FONT_SIZE;
49449
+ exports.DIGEST_ALGORITHM_TO_HASH = DIGEST_ALGORITHM_TO_HASH;
49450
+ exports.DIGEST_ALGORITHM_TO_WEB_CRYPTO = DIGEST_ALGORITHM_TO_WEB_CRYPTO;
49291
49451
  exports.DIGITAL_SIGNATURE_ORIGIN_REL_TYPE = DIGITAL_SIGNATURE_ORIGIN_REL_TYPE;
49452
+ exports.DIGITAL_SIGNATURE_REL_TYPE = DIGITAL_SIGNATURE_REL_TYPE;
49292
49453
  exports.DataIntegrityError = DataIntegrityError;
49293
49454
  exports.DocumentConverter = DocumentConverter;
49294
49455
  exports.EMU_PER_INCH = EMU_PER_INCH;
49295
49456
  exports.EMU_PER_PIXEL = EMU_PER_PIXEL2;
49296
49457
  exports.EMU_PER_POINT = EMU_PER_POINT;
49297
49458
  exports.EMU_PER_PX = EMU_PER_PX;
49459
+ exports.ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV = ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV;
49460
+ exports.ENTERPRISE_REQUIRE_REVOCATION_ENV = ENTERPRISE_REQUIRE_REVOCATION_ENV;
49461
+ exports.ENTERPRISE_REQUIRE_TIMESTAMP_ENV = ENTERPRISE_REQUIRE_TIMESTAMP_ENV;
49462
+ exports.ENTERPRISE_TRUST_ROOTS_FILE_ENV = ENTERPRISE_TRUST_ROOTS_FILE_ENV;
49463
+ exports.ENTERPRISE_TRUST_ROOTS_PEM_ENV = ENTERPRISE_TRUST_ROOTS_PEM_ENV;
49298
49464
  exports.EncryptedFileError = EncryptedFileError;
49299
49465
  exports.FONT_SUBSTITUTION_MAP = FONT_SUBSTITUTION_MAP;
49300
49466
  exports.FreeformPathBuilder = FreeformPathBuilder;
@@ -49302,9 +49468,11 @@ exports.GroupBuilder = GroupBuilder;
49302
49468
  exports.ImageBuilder = ImageBuilder;
49303
49469
  exports.IncorrectPasswordError = IncorrectPasswordError;
49304
49470
  exports.MIN_ELEMENT_SIZE = MIN_ELEMENT_SIZE;
49471
+ exports.MYCLAWASSIST_MANIFEST_NS = MYCLAWASSIST_MANIFEST_NS;
49305
49472
  exports.MediaBuilder = MediaBuilder;
49306
49473
  exports.MediaContext = MediaContext;
49307
49474
  exports.MediaGraphicFrameXmlFactory = MediaGraphicFrameXmlFactory;
49475
+ exports.OPC_RELATIONSHIP_TRANSFORM = OPC_RELATIONSHIP_TRANSFORM;
49308
49476
  exports.Ole2ParseError = Ole2ParseError;
49309
49477
  exports.P14_GUIDE_URI = P14_GUIDE_URI;
49310
49478
  exports.P15_GUIDE_URI = P15_GUIDE_URI;
@@ -49368,6 +49536,7 @@ exports.Presentation = Presentation;
49368
49536
  exports.PresentationBuilder = PresentationBuilder;
49369
49537
  exports.SHAPE_TREE_ELEMENT_TAGS = SHAPE_TREE_ELEMENT_TAGS;
49370
49538
  exports.STROKE_DASH_OPTIONS = STROKE_DASH_OPTIONS;
49539
+ exports.SUPPORTED_XML_CANON_TRANSFORMS = SUPPORTED_XML_CANON_TRANSFORMS;
49371
49540
  exports.SWITCHABLE_LAYOUT_TYPES = SWITCHABLE_LAYOUT_TYPES;
49372
49541
  exports.SYSTEM_COLOR_MAP = SYSTEM_COLOR_MAP;
49373
49542
  exports.ShapeBuilder = ShapeBuilder;
@@ -49383,6 +49552,8 @@ exports.TextBuilder = TextBuilder;
49383
49552
  exports.TextShapeXmlFactory = TextShapeXmlFactory;
49384
49553
  exports.ThemePresets = ThemePresets;
49385
49554
  exports.VML_SHAPE_TAGS = VML_SHAPE_TAGS;
49555
+ exports.XMLDSIG_NS = XMLDSIG_NS;
49556
+ exports.XML_TRANSFORM_ENVELOPED_SIGNATURE = XML_TRANSFORM_ENVELOPED_SIGNATURE;
49386
49557
  exports.addChartCategory = addChartCategory;
49387
49558
  exports.addChartSeries = addChartSeries;
49388
49559
  exports.addSection = addSection;
@@ -49421,12 +49592,15 @@ exports.cmToEmu = cmToEmu;
49421
49592
  exports.colorWithOpacity = colorWithOpacity;
49422
49593
  exports.combineShapes = combineShapes;
49423
49594
  exports.computeCycleLayout = computeCycleLayout;
49595
+ exports.computeDetailStatus = computeDetailStatus;
49596
+ exports.computeDigestBase64WebCrypto = computeDigestBase64;
49424
49597
  exports.computeHierarchyLayout = computeHierarchyLayout;
49425
49598
  exports.computeLinearLayout = computeLinearLayout;
49426
49599
  exports.computeMatrixLayout = computeMatrixLayout;
49427
49600
  exports.computePyramidLayout = computePyramidLayout;
49428
49601
  exports.computeSmartArtLayout = computeSmartArtLayout;
49429
49602
  exports.computeSnakeLayout = computeSnakeLayout;
49603
+ exports.computeVerificationStatus = computeVerificationStatus;
49430
49604
  exports.convertEmfToDataUrl = convertEmfToDataUrl;
49431
49605
  exports.convertWmfToDataUrl = convertWmfToDataUrl;
49432
49606
  exports.convertXmlToStrict = convertXmlToStrict;
@@ -49472,11 +49646,15 @@ exports.elementHasAction = elementHasAction;
49472
49646
  exports.emuToPixels = emuToPixels;
49473
49647
  exports.encryptPptx = encryptPptx;
49474
49648
  exports.ensureArrayValue = ensureArrayValue;
49649
+ exports.escapeXmlAttr = escapeXmlAttr;
49475
49650
  exports.estimateTextBoxCapacity = estimateTextBoxCapacity;
49476
49651
  exports.evaluateGeometryPaths = evaluateGeometryPaths;
49477
49652
  exports.evaluateGuides = evaluateGuides;
49653
+ exports.extractAllTagText = extractAllTagText;
49654
+ exports.extractFirstTagText = extractFirstTagText;
49478
49655
  exports.extractGuidFromPartName = extractGuidFromPartName;
49479
49656
  exports.extractModel3DTransform = extractModel3DTransform;
49657
+ exports.extractTagAttribute = extractTagAttribute;
49480
49658
  exports.fetchUrlToBytes = fetchUrlToBytes;
49481
49659
  exports.findLayoutByName = findLayoutByName;
49482
49660
  exports.findLayoutByType = findLayoutByType;
@@ -49557,6 +49735,7 @@ exports.mm = mm;
49557
49735
  exports.moveSlidesToSection = moveSlidesToSection;
49558
49736
  exports.normalizeHexColor = normalizeHexColor;
49559
49737
  exports.normalizeNamespaceUri = normalizeNamespaceUri;
49738
+ exports.normalizePartPath = normalizePartPath;
49560
49739
  exports.normalizePath = normalizePath;
49561
49740
  exports.normalizeStrictXml = normalizeStrictXml;
49562
49741
  exports.normalizeStrokeDashType = normalizeStrokeDashType;
@@ -49626,6 +49805,7 @@ exports.resetSectionIdCounter = resetSectionIdCounter;
49626
49805
  exports.resetSmartArtEditCounter = resetSmartArtEditCounter;
49627
49806
  exports.resolveCoordinate = resolveCoordinate;
49628
49807
  exports.resolveModel3DMimeType = resolveModel3DMimeType;
49808
+ exports.resolveReferenceUriToPart = resolveReferenceUriToPart;
49629
49809
  exports.rgbToHsl = rgbToHsl;
49630
49810
  exports.selectAlternateContentBranch = selectAlternateContentBranch;
49631
49811
  exports.serializeCondition = serializeCondition;
@@ -10160,6 +10160,38 @@ ${nextText}` : nextText;
10160
10160
  }
10161
10161
  };
10162
10162
 
10163
+ // src/core/utils/signature-constants.ts
10164
+ var DIGITAL_SIGNATURE_ORIGIN_REL_TYPE = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/origin";
10165
+ var DIGITAL_SIGNATURE_REL_TYPE = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/signature";
10166
+ var MYCLAWASSIST_MANIFEST_NS = "urn:myclawassist:ooxml-signature:v1";
10167
+ var XMLDSIG_NS = "http://www.w3.org/2000/09/xmldsig#";
10168
+ var OPC_RELATIONSHIP_TRANSFORM = "http://schemas.openxmlformats.org/package/2006/RelationshipTransform";
10169
+ var XML_TRANSFORM_ENVELOPED_SIGNATURE = "http://www.w3.org/2000/09/xmldsig#enveloped-signature";
10170
+ var SUPPORTED_XML_CANON_TRANSFORMS = /* @__PURE__ */ new Set([
10171
+ "http://www.w3.org/TR/2001/REC-xml-c14n-20010315",
10172
+ "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments",
10173
+ "http://www.w3.org/2001/10/xml-exc-c14n#",
10174
+ "http://www.w3.org/2001/10/xml-exc-c14n#WithComments",
10175
+ XML_TRANSFORM_ENVELOPED_SIGNATURE
10176
+ ]);
10177
+ var ENTERPRISE_TRUST_ROOTS_FILE_ENV = "MYCLAWASSIST_PPTX_TRUST_ROOTS_FILE";
10178
+ var ENTERPRISE_TRUST_ROOTS_PEM_ENV = "MYCLAWASSIST_PPTX_TRUST_ROOTS_PEM";
10179
+ var ENTERPRISE_REQUIRE_REVOCATION_ENV = "MYCLAWASSIST_PPTX_REQUIRE_REVOCATION_CHECK";
10180
+ var ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV = "MYCLAWASSIST_PPTX_FAIL_ON_REVOCATION_UNKNOWN";
10181
+ var ENTERPRISE_REQUIRE_TIMESTAMP_ENV = "MYCLAWASSIST_PPTX_REQUIRE_TIMESTAMP";
10182
+ var DIGEST_ALGORITHM_TO_HASH = {
10183
+ "http://www.w3.org/2000/09/xmldsig#sha1": "sha1",
10184
+ "http://www.w3.org/2001/04/xmlenc#sha256": "sha256",
10185
+ "http://www.w3.org/2001/04/xmlenc#sha384": "sha384",
10186
+ "http://www.w3.org/2001/04/xmlenc#sha512": "sha512"
10187
+ };
10188
+ var DIGEST_ALGORITHM_TO_WEB_CRYPTO = {
10189
+ "http://www.w3.org/2000/09/xmldsig#sha1": "SHA-1",
10190
+ "http://www.w3.org/2001/04/xmlenc#sha256": "SHA-256",
10191
+ "http://www.w3.org/2001/04/xmlenc#sha384": "SHA-384",
10192
+ "http://www.w3.org/2001/04/xmlenc#sha512": "SHA-512"
10193
+ };
10194
+
10163
10195
  // src/core/utils/signature-detection.ts
10164
10196
  var SIGNATURE_PREFIX = "_xmlsignatures/";
10165
10197
  function detectDigitalSignatures(zipEntryPaths) {
@@ -10175,7 +10207,6 @@ function detectDigitalSignatures(zipEntryPaths) {
10175
10207
  function getSignaturePathsToStrip(zipEntryPaths) {
10176
10208
  return zipEntryPaths.filter((p) => p.startsWith(SIGNATURE_PREFIX));
10177
10209
  }
10178
- var DIGITAL_SIGNATURE_ORIGIN_REL_TYPE = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/origin";
10179
10210
  function findByLocalName(parent, localName) {
10180
10211
  if (!parent) {
10181
10212
  return void 0;
@@ -18433,6 +18464,133 @@ async function createModifyVerifier(password, options) {
18433
18464
  };
18434
18465
  }
18435
18466
 
18467
+ // src/core/utils/signature-xml-utils.ts
18468
+ function escapeXmlAttr(value) {
18469
+ return value.replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
18470
+ }
18471
+ function extractTagAttribute(xml, tagName, attributeName) {
18472
+ const pattern = new RegExp(
18473
+ `<${tagName}\\b[^>]*\\b${attributeName}="(?<attributeValue>[^"]+)"`,
18474
+ "i"
18475
+ );
18476
+ const match = xml.match(pattern);
18477
+ return match?.groups?.["attributeValue"]?.trim();
18478
+ }
18479
+ function extractFirstTagText(xml, localName) {
18480
+ const pattern = new RegExp(
18481
+ `<([\\w.-]+:)?${localName}\\b[^>]*>([\\s\\S]*?)<\\/([\\w.-]+:)?${localName}>`,
18482
+ "i"
18483
+ );
18484
+ const match = xml.match(pattern);
18485
+ return match?.[2]?.replace(/\s+/g, "").trim() || void 0;
18486
+ }
18487
+ function extractAllTagText(xml, localName) {
18488
+ const result = [];
18489
+ const regex = new RegExp(
18490
+ `<([\\w.-]+:)?${localName}\\b[^>]*>([\\s\\S]*?)<\\/([\\w.-]+:)?${localName}>`,
18491
+ "gi"
18492
+ );
18493
+ let match = regex.exec(xml);
18494
+ while (match) {
18495
+ const value = match[2]?.replace(/\s+/g, "").trim();
18496
+ if (value) {
18497
+ result.push(value);
18498
+ }
18499
+ match = regex.exec(xml);
18500
+ }
18501
+ return result;
18502
+ }
18503
+
18504
+ // src/core/utils/signature-reference-utils.ts
18505
+ function normalizePartPath(partPath) {
18506
+ return partPath.replace(/\\/g, "/").replace(/^\/+/, "");
18507
+ }
18508
+ function resolveReferenceUriToPart(uri) {
18509
+ const trimmed = uri.trim();
18510
+ if (trimmed.length === 0 || trimmed.startsWith("#")) {
18511
+ return void 0;
18512
+ }
18513
+ const decoded = decodeURIComponent(trimmed);
18514
+ return normalizePartPath(decoded.startsWith("/") ? decoded.slice(1) : decoded);
18515
+ }
18516
+
18517
+ // src/core/utils/signature-digest.ts
18518
+ async function computeDigestBase64(content, digestAlgorithmUri) {
18519
+ const webCryptoAlgo = DIGEST_ALGORITHM_TO_WEB_CRYPTO[digestAlgorithmUri];
18520
+ if (!webCryptoAlgo) {
18521
+ return void 0;
18522
+ }
18523
+ if (typeof globalThis.crypto?.subtle === "undefined") {
18524
+ return void 0;
18525
+ }
18526
+ const buf = new ArrayBuffer(content.byteLength);
18527
+ new Uint8Array(buf).set(content);
18528
+ const digest = await globalThis.crypto.subtle.digest(webCryptoAlgo, buf);
18529
+ return uint8ArrayToBase64(new Uint8Array(digest));
18530
+ }
18531
+ function uint8ArrayToBase64(bytes) {
18532
+ let binary = "";
18533
+ for (let i = 0; i < bytes.byteLength; i++) {
18534
+ binary += String.fromCharCode(bytes[i]);
18535
+ }
18536
+ return btoa(binary);
18537
+ }
18538
+
18539
+ // src/core/utils/signature-inspection-status.ts
18540
+ function computeDetailStatus(detail, policy) {
18541
+ const hasDigestMismatch = detail.referenceChecks.some(
18542
+ (check) => check.digestStatus === "mismatch"
18543
+ );
18544
+ const hasMissingPart = detail.missingPartReferences.length > 0;
18545
+ const hasVerifiedDigest = detail.referenceChecks.some(
18546
+ (check) => check.digestStatus === "verified"
18547
+ );
18548
+ const revocationUnknown = detail.certificateRevocationStatus === "unknown" || detail.certificateRevocationStatus === "not-checked" || detail.certificateRevocationStatus === "error";
18549
+ const timestampMissingOrUntrusted = detail.timestampAuthorityStatus === "not-present" || detail.timestampAuthorityStatus === "not-checked" || detail.timestampAuthorityStatus === "error" || detail.timestampAuthorityStatus === "untrusted";
18550
+ if (detail.signatureValueStatus === "invalid") {
18551
+ return "signature-invalid";
18552
+ }
18553
+ if (hasMissingPart) {
18554
+ return "reference-missing";
18555
+ }
18556
+ if (hasDigestMismatch) {
18557
+ return "digest-mismatch";
18558
+ }
18559
+ if (detail.certificateRevocationStatus === "revoked") {
18560
+ return "certificate-revoked";
18561
+ }
18562
+ if (policy.requireRevocationCheck && (policy.failOnRevocationUnknown ? revocationUnknown : detail.certificateRevocationStatus !== "good")) {
18563
+ return "certificate-untrusted";
18564
+ }
18565
+ if (detail.timestampAuthorityStatus === "invalid") {
18566
+ return "timestamp-invalid";
18567
+ }
18568
+ if (policy.requireTimestamp && timestampMissingOrUntrusted) {
18569
+ return "timestamp-untrusted";
18570
+ }
18571
+ if (detail.timestampAuthorityStatus === "untrusted") {
18572
+ return "timestamp-untrusted";
18573
+ }
18574
+ if (detail.certificateTrustStatus === "untrusted" && detail.signatureValueStatus === "verified") {
18575
+ return "certificate-untrusted";
18576
+ }
18577
+ if (hasVerifiedDigest && detail.signatureValueStatus === "verified") {
18578
+ return "verified";
18579
+ }
18580
+ return "structural-only";
18581
+ }
18582
+ function computeVerificationStatus(details) {
18583
+ const hasInvalidSignature = details.some((detail) => detail.status === "signature-invalid");
18584
+ const hasMissing = details.some((detail) => detail.status === "reference-missing");
18585
+ const hasMismatch = details.some((detail) => detail.status === "digest-mismatch");
18586
+ const hasUntrusted = details.some((detail) => detail.status === "certificate-untrusted");
18587
+ const hasRevoked = details.some((detail) => detail.status === "certificate-revoked");
18588
+ const hasTimestampInvalid = details.some((detail) => detail.status === "timestamp-invalid");
18589
+ const hasTimestampUntrusted = details.some((detail) => detail.status === "timestamp-untrusted");
18590
+ const allVerified = details.every((detail) => detail.status === "verified");
18591
+ return hasInvalidSignature ? "signature-invalid" : hasRevoked ? "certificate-revoked" : hasTimestampInvalid ? "timestamp-invalid" : hasTimestampUntrusted ? "timestamp-untrusted" : hasMissing ? "reference-missing" : hasMismatch ? "digest-mismatch" : allVerified ? "verified-trusted" : hasUntrusted ? "verified-untrusted" : "present-not-verified";
18592
+ }
18593
+
18436
18594
  // src/core/utils/chart-data-utils.ts
18437
18595
  var XY_CHART_TYPES = /* @__PURE__ */ new Set(["scatter", "bubble"]);
18438
18596
  var GROUPING_SUPPORTED_TYPES = /* @__PURE__ */ new Set([
@@ -49267,4 +49425,4 @@ var SvgExporter = class _SvgExporter {
49267
49425
  }
49268
49426
  };
49269
49427
 
49270
- export { COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, ChartBuilder, ConnectorBuilder, ConnectorXmlFactory, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, DataIntegrityError, DocumentConverter, EMU_PER_INCH, EMU_PER_PIXEL2 as EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, EncryptedFileError, FONT_SUBSTITUTION_MAP, FreeformPathBuilder, GroupBuilder, ImageBuilder, IncorrectPasswordError, MIN_ELEMENT_SIZE, MediaBuilder, MediaContext, MediaGraphicFrameXmlFactory, Ole2ParseError, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_TO_OOXML, PictureXmlFactory, PptxAnimationWriteService, PptxColorStyleCodec, PptxCommentAuthorsXmlFactory, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxConnectorParser, PptxContentTypesBuilder, PptxDocumentPropertiesUpdater, PptxEditorAnimationService, PptxElementTransformUpdater, PptxElementXmlBuilder, PptxGraphicFrameParser, PptxHandler, PptxHandlerRuntime75 as PptxHandlerRuntime, PptxHandlerRuntimeFactory, PptxLoadDataBuilder, PptxMarkdownConverter, PptxMediaDataParser, PptxNativeAnimationService, PptxPresentationSaveBuilder, PptxPresentationSlidesReconciler, PptxRuntimeDependencyFactory, PptxSaveConstantsFactory, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxShapeIdValidator, PptxShapeStyleExtractor, PptxSlideBackgroundBuilder, PptxSlideBuilder, PptxSlideCommentPartWriter, PptxSlideCommentsXmlFactory, PptxSlideElementsBuilder, PptxSlideLoaderService, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, PptxSlideRelationshipRegistry, PptxSlideTransitionService, PptxTableDataParser, PptxTemplateBackgroundService, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, SHAPE_TREE_ELEMENT_TAGS, STROKE_DASH_OPTIONS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, ShapeBuilder, SlideBuilder, SlideProcessor, SlideSizes, SvgExporter, THEME_COLOR_SCHEME_KEYS, THEME_PRESETS, TRANSITION_VALID_DIRECTIONS, TableBuilder, TextBuilder, TextShapeXmlFactory, ThemePresets, VML_SHAPE_TAGS, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyDrawingColorTransforms, applyKinsokuToXml, applyTemplate, applyThemeToData, areNamespacesSupported, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, combineShapes, computeCycleLayout, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, convertEmfToDataUrl, convertWmfToDataUrl, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableElement, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, dataUrlToMediaBytes, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveOutputPath, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, extractGuidFromPartName, extractModel3DTransform, fetchUrlToBytes, findLayoutByName, findLayoutByType, findPlaceholders, findText, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, generateMediaFilename, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getDirectory, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isZoomElement, isZoomElement2 as isZoomElementUtil, layoutEngineShapesToDrawingShapes, mailMerge, mergePresentation, mergeShapes, mergeThemeColorOverride, mm, moveSlidesToSection, normalizeHexColor, normalizeNamespaceUri, normalizePath, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, ooxmlArcToSvg, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseChart3DSurfaces, parseChartAxes, parseCondition, parseConditionList, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSvgPath, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, reflowSmartArtLayout, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceText, replaceTextInSlide, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveModel3DMimeType, rgbToHsl, selectAlternateContentBranch, serializeCondition, serializeConditionList, serializeSvgPath, setChartCategories, setChartGrouping, setChartTitle, setChartType, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, updateChartDataPoint, updateChartSeriesValues, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs };
49428
+ export { COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, ChartBuilder, ConnectorBuilder, ConnectorXmlFactory, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DIGEST_ALGORITHM_TO_HASH, DIGEST_ALGORITHM_TO_WEB_CRYPTO, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, DIGITAL_SIGNATURE_REL_TYPE, DataIntegrityError, DocumentConverter, EMU_PER_INCH, EMU_PER_PIXEL2 as EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, ENTERPRISE_REQUIRE_REVOCATION_ENV, ENTERPRISE_REQUIRE_TIMESTAMP_ENV, ENTERPRISE_TRUST_ROOTS_FILE_ENV, ENTERPRISE_TRUST_ROOTS_PEM_ENV, EncryptedFileError, FONT_SUBSTITUTION_MAP, FreeformPathBuilder, GroupBuilder, ImageBuilder, IncorrectPasswordError, MIN_ELEMENT_SIZE, MYCLAWASSIST_MANIFEST_NS, MediaBuilder, MediaContext, MediaGraphicFrameXmlFactory, OPC_RELATIONSHIP_TRANSFORM, Ole2ParseError, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_TO_OOXML, PictureXmlFactory, PptxAnimationWriteService, PptxColorStyleCodec, PptxCommentAuthorsXmlFactory, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxConnectorParser, PptxContentTypesBuilder, PptxDocumentPropertiesUpdater, PptxEditorAnimationService, PptxElementTransformUpdater, PptxElementXmlBuilder, PptxGraphicFrameParser, PptxHandler, PptxHandlerRuntime75 as PptxHandlerRuntime, PptxHandlerRuntimeFactory, PptxLoadDataBuilder, PptxMarkdownConverter, PptxMediaDataParser, PptxNativeAnimationService, PptxPresentationSaveBuilder, PptxPresentationSlidesReconciler, PptxRuntimeDependencyFactory, PptxSaveConstantsFactory, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxShapeIdValidator, PptxShapeStyleExtractor, PptxSlideBackgroundBuilder, PptxSlideBuilder, PptxSlideCommentPartWriter, PptxSlideCommentsXmlFactory, PptxSlideElementsBuilder, PptxSlideLoaderService, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, PptxSlideRelationshipRegistry, PptxSlideTransitionService, PptxTableDataParser, PptxTemplateBackgroundService, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, SHAPE_TREE_ELEMENT_TAGS, STROKE_DASH_OPTIONS, SUPPORTED_XML_CANON_TRANSFORMS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, ShapeBuilder, SlideBuilder, SlideProcessor, SlideSizes, SvgExporter, THEME_COLOR_SCHEME_KEYS, THEME_PRESETS, TRANSITION_VALID_DIRECTIONS, TableBuilder, TextBuilder, TextShapeXmlFactory, ThemePresets, VML_SHAPE_TAGS, XMLDSIG_NS, XML_TRANSFORM_ENVELOPED_SIGNATURE, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyDrawingColorTransforms, applyKinsokuToXml, applyTemplate, applyThemeToData, areNamespacesSupported, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, combineShapes, computeCycleLayout, computeDetailStatus, computeDigestBase64 as computeDigestBase64WebCrypto, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, computeVerificationStatus, convertEmfToDataUrl, convertWmfToDataUrl, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableElement, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, dataUrlToMediaBytes, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveOutputPath, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, escapeXmlAttr, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, extractAllTagText, extractFirstTagText, extractGuidFromPartName, extractModel3DTransform, extractTagAttribute, fetchUrlToBytes, findLayoutByName, findLayoutByType, findPlaceholders, findText, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, generateMediaFilename, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getDirectory, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isZoomElement, isZoomElement2 as isZoomElementUtil, layoutEngineShapesToDrawingShapes, mailMerge, mergePresentation, mergeShapes, mergeThemeColorOverride, mm, moveSlidesToSection, normalizeHexColor, normalizeNamespaceUri, normalizePartPath, normalizePath, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, ooxmlArcToSvg, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseChart3DSurfaces, parseChartAxes, parseCondition, parseConditionList, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSvgPath, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, reflowSmartArtLayout, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceText, replaceTextInSlide, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveModel3DMimeType, resolveReferenceUriToPart, rgbToHsl, selectAlternateContentBranch, serializeCondition, serializeConditionList, serializeSvgPath, setChartCategories, setChartGrouping, setChartTitle, setChartType, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, updateChartDataPoint, updateChartSeriesValues, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs };