@embedpdf/engine-core 3.0.0-next.10 → 3.0.0-next.11

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 (45) hide show
  1. package/dist/{AnnotationListSnapshot-DDxHpJQU.d.cts → AnnotationListSnapshot-C1U3XUxP.d.cts} +310 -88
  2. package/dist/{AnnotationListSnapshot-DDxHpJQU.d.ts → AnnotationListSnapshot-C1U3XUxP.d.ts} +310 -88
  3. package/dist/{DocumentSecurityService-BV4_YXkU.d.cts → DocumentSecurityService-6rhztZlz.d.cts} +2 -2
  4. package/dist/{DocumentSecurityService-o9aeTHwT.d.ts → DocumentSecurityService-7nL9aY75.d.ts} +2 -2
  5. package/dist/{Engine-D9je6GdU.d.cts → Engine-CWnAKccD.d.ts} +15 -3
  6. package/dist/{Engine-DOoVem7_.d.ts → Engine-D3868xIU.d.cts} +15 -3
  7. package/dist/{builders-B_KufGJ9.js → builders-Cdz34nbF.js} +26 -2
  8. package/dist/builders-Cdz34nbF.js.map +1 -0
  9. package/dist/{builders-Cp_rlGob.cjs → builders-Do6_4KnS.cjs} +31 -1
  10. package/dist/builders-Do6_4KnS.cjs.map +1 -0
  11. package/dist/conformance.cjs +218 -7
  12. package/dist/conformance.cjs.map +1 -1
  13. package/dist/conformance.d.cts +8 -2
  14. package/dist/conformance.d.ts +8 -2
  15. package/dist/conformance.js +218 -7
  16. package/dist/conformance.js.map +1 -1
  17. package/dist/index.cjs +3 -2
  18. package/dist/index.d.cts +2 -2
  19. package/dist/index.d.ts +2 -2
  20. package/dist/index.js +3 -3
  21. package/dist/{resolver-DiPMTfcy.js → resolver-CHG4waXL.js} +2 -1
  22. package/dist/resolver-CHG4waXL.js.map +1 -0
  23. package/dist/{resolver-DAZWVoJL.cjs → resolver-D-jumvgM.cjs} +2 -1
  24. package/dist/resolver-D-jumvgM.cjs.map +1 -0
  25. package/dist/runtime.cjs +3 -2
  26. package/dist/runtime.d.cts +4 -4
  27. package/dist/runtime.d.ts +4 -4
  28. package/dist/runtime.js +3 -3
  29. package/dist/{schemas-D1pxEv3t.cjs → schemas-CS5iPpX5.cjs} +168 -80
  30. package/dist/schemas-CS5iPpX5.cjs.map +1 -0
  31. package/dist/{schemas-DAnu8tuW.js → schemas-XGrNVMDd.js} +157 -81
  32. package/dist/schemas-XGrNVMDd.js.map +1 -0
  33. package/dist/wire.cjs +43 -2
  34. package/dist/wire.cjs.map +1 -1
  35. package/dist/wire.d.cts +181 -8
  36. package/dist/wire.d.ts +181 -8
  37. package/dist/wire.js +39 -3
  38. package/dist/wire.js.map +1 -1
  39. package/package.json +1 -1
  40. package/dist/builders-B_KufGJ9.js.map +0 -1
  41. package/dist/builders-Cp_rlGob.cjs.map +0 -1
  42. package/dist/resolver-DAZWVoJL.cjs.map +0 -1
  43. package/dist/resolver-DiPMTfcy.js.map +0 -1
  44. package/dist/schemas-D1pxEv3t.cjs.map +0 -1
  45. package/dist/schemas-DAnu8tuW.js.map +0 -1
package/dist/runtime.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { $a as NormalizedPatch, $c as StandardFont, $i as AnnotationMutationKind, $n as canonicalSearchQuery, $o as PageImageResult, $r as FormEffectsResult, $s as caps, Aa as AttachmentDeleteResult, Ac as AnnotationDraftBase, Ai as FormFieldOption, An as HighlightDraft, Ao as FontKey, Ar as SearchSnippet, As as normalizePdfRect, At as LineDraft, B as StampAnnotationDTO, Ba as FilledStyleDraftFields, Bc as CaretIntent, Bi as FormFieldRef, Bn as PageFlattenStatus, Bo as AnnotationAppearanceMode, Br as textGlyphQuad, Bs as PageBoxes, Bt as PolygonPatch, C as RedactDraft, Ca as classifyRelation, Cc as IdentityClaims, Ci as WidgetStylePatchFields, Cn as UnderlineAnnotationDTO, Co as EngineError, Cr as toOriginalRange, Cs as boundaryTextOffset, Ct as LinkAnnotationDTO, Da as DraftOfKind, Dc as ParsedVirtual, Di as FormFieldDTO, Do as serializeError, Dr as SearchRequest, Ds as sliceTextByChars, E as WidgetDraft, Ea as DTOOfKind, Ec as ParsedScope, Ei as FormFieldBase, Eo as deserializeError, Er as SearchQuery, Es as charRangeForTextOffsets, Fa as FileAttachmentWireDraft, Fc as isValidPageObjectNumber, Fi as SignatureFieldDTO, Fn as RedactionApplyScope, Fo as AnnotationAppearanceImage, Fr as TextLayoutRun, Fs as pdfRectHeight, Ft as PolylineAnnotationDTO, Ga as GeometryStylePatchFields, Gc as LineEnding, Gi as AnnotationDeleteResult, Gn as PageDeleteResult, Go as PageState, Gr as FormFieldUpdateResult, Gs as OpenInputById, Gt as VertexPatchFields, H as StampFit, Ha as FilledStylePatchFields, Hc as FreeTextFont, Hi as decodeFieldRefKey, Hn as PAGE_INSERT_BLANK_MAX_COUNT, Ho as AnnotationAppearanceRenderOptions, Hr as FormDataExport, Hs as PageRotation, Ht as PolygonDraft, Ia as WireAttachmentFile, Ic as AnnotationBorderStyle, Ii as TextFieldDTO, In as RedactionApplyStatus, Io as AnnotationAppearanceImageOptions, Ir as buildPageTextLayout, Is as pdfRectSize, It as PolylineDraft, J as TextPatch, Ja as AttachmentFileInfo, Jc as PdfRectDifferences, Ji as AppearanceAction, Jn as PageRotateInput, Jo as knownWeakAnnotationState, Jr as FormSetValueResult, Js as OpenInputLayerSource, Ka as AttachmentContent, Kc as LineEndings, Ki as AnnotationMoveResult, Kn as PageDeleteInput, Ko as UNKNOWN_WEAK_ANNOTATION_STATE, Kr as FormImportResult, Ks as OpenInputBytes, La as ColorStyleDraftFields, Lc as AnnotationFlags, Li as ToggleFieldWidget, Ln as PageFlattenInput, Lo as AnnotationAppearanceImagesResult, Lr as expandTextRangeToLine, Ls as pdfRectToOriginSize, M as FileAttachmentPatch, Ma as normalizeAttachmentFileSource, Mc as RevisionToken, Mi as ListBoxFieldDTO, Mn as MetadataUpdateResult, Mo as DEFAULT_PDF_SAVE_MODE, Mr as PdfTextSegment, Ms as pdfQuadCorners, N as FileAttachmentAnnotationDTO, Na as FileAttachmentDraft, Nc as revisionTokensEqual, Ni as PushButtonFieldDTO, Nn as RedactionApplyItemResult, No as PdfSaveMode, Nr as TextLayoutFrame, Ns as pdfQuadFromCorners, Oa as PatchOfKind, Oc as ParsedWildcard, Oi as FormFieldFamily, On as HighlightPatch, Oo as EngineErrorCode, Or as SearchSlice, Os as PdfOriginSize, Ot as LinePatch, Pa as FileAttachmentIcon, Pc as PageObjectNumber, Pi as RadioFieldDTO, Pn as RedactionApplyResult, Po as CachePins, Pr as TextLayoutGlyph, Ps as pdfRectFromOriginSize, Pt as PolylinePatch, Qa as NormalizedDraft, Qc as Size, Qi as semanticEqual, Qn as PageMoveInput, Qo as PageImageOptions, Qr as FormEffectStatus, Qs as TokenSource, R as StampPatch, Ra as ColorStyleFields, Rc as AnnotationReplyType, Ri as UnknownFieldDTO, Rn as PageFlattenItemResult, Ro as AnnotationAppearanceManifest, Rr as expandTextRangeToWord, Rs as pdfRectWidth, S as RedactAnnotationDTO, Sa as buildThreads, Sc as DocCapability, Si as WidgetStyleFields, Sl as DocumentMetadataTrapped, Sn as UnderlinePatch, So as encodeStableIdKey, Sr as foldText, Ss as CharMapAnchor, St as LinkPatch, T as WidgetAnnotationDTO, Ta as AnnotationKindModule, Tc as ParsedCollab, Ti as ComboBoxFieldDTO, To as SerializedEngineError, Tr as SearchMode, Ts as charMapViolation, U as StampWireDraft, Ua as GeometryStyleDraftFields, Uc as FreeTextIntent, Ui as encodeFieldRefKey, Un as PageInsertBlankSpec, Uo as AnnotationAppearancesQuery, Ur as FormFieldCreateResult, Us as MetadataPatch, Ut as VertexAnnotationFields, V as StampDraft, Va as FilledStyleFields, Vc as Color, Vi as FormWidgetRef, Vn as PageFlattenUsage, Vo as AnnotationAppearanceRaster, Vr as textSegmentsForRange, Vs as PageLayout, Vt as PolygonAnnotationDTO, Wa as GeometryStyleFields, Wc as InkIntent, Wi as AnnotationCreateResult, Wn as PageInsertResult, Wo as AnnotationAppearancesResult, Wr as FormFieldDeleteResult, Ws as OpenInput, Wt as VertexDraftFields, X as NoteIcon, Xa as EmbeddedFileItem, Xc as Rect, Xi as AppearanceOutcome, Xn as PageMoveResult, Xo as PageImageHandle, Xr as FormEffect, Xs as OpenInputToken, Xt as SquareAnnotationDTO, Y as TextAnnotationDTO, Ya as AttachmentFileSource, Yc as Point, Yi as AppearanceImpact, Yn as PageMoveCache, Yo as PageImageBlobSource, Yr as FormWidgetLinkResult, Ys as OpenInputShare, Yt as SquarePatch, Z as TextDraft, Za as EmbeddedFileRef, Zc as Rotation, Zi as appearanceImpactOf, Zn as PageStructureCache, Zo as PageImageObjectUrl, Zr as FormEffectResult, Zs as OpenOptions, Zt as SquareDraft, _a as ReviewStatus, _c as decodePdfBits, _i as FormKind, _l as PdfActionWarning, _n as SquigglyAnnotationDTO, _o as AnnotationPatchBase, _r as wordBefore, _s as glyphLooseBounds, aa as CacheDelta, ac as checkCapability, ai as FormFieldPatch, al as LinePoints, an as ShapeDraftFields, ao as BinaryPayload, ar as matchPageText, as as PageRenderFormat, b as UnsupportedAnnotationDTO, ba as AnnotationRelationKind, bc as CollabEntity, bl as PdfPageActions, bo as AnnotationStableId, br as SEARCH_FOLD_VERSION, bs as PageTextSnapshot, c as AnnotationKind, ca as PdfLinkTargetWritable, cc as expandRawScope, ci as TextFieldPatch, cl as PdfRect, co as WireResource, cr as SearchQueryValidation, cs as PageRenderTarget, ct as FreeTextAnnotationDTO, d as AnnotationSubtypeOfKind, da as ManifestPage, dc as InvalidScope, di as FormFieldDraft, dl as ActionReadBudget, dn as StrikeoutAnnotationDTO, do as ANNOTATION_SUBTYPES, dr as matchRegex, ds as PageGeometryGlyph, ea as changesAnnotationList, ec as collab, ei as FormFieldDisplay, el as StrikeoutIntent, eo as normalizeAnnotationDraft, er as searchContentEpoch, es as PageImageSource, fa as LayerScopePlane, fc as MissingIdentity, fi as FormFieldOptionInput, fl as DocumentActionsSnapshot, fn as StrikeoutDraft, fo as AnnotationSubtype, fr as validateSearchQuery, fs as PageGeometryRun, ga as CommentThreadReview, gc as PDF_BITS, gi as WidgetPlacement, gl as PdfActionType, gn as SquigglyPatch, go as subtypeFromCode, gr as wordAt, gs as UprightGeometryRun, ha as CommentThread, hc as validateScopeArray, hi as TextFieldDraft, hl as PdfActionTree, ho as PdfAnnotationSubtypeCode, hr as matchLiteral, hs as RotatedGeometryRun, ht as InkDraft, i as AnnotationDTO, ia as RefetchReason, ic as checkAnyCapability, ii as ComboBoxFieldPatch, il as InkStroke, in as ShapeAnnotationFields, io as sniffBinaryMetadata, ir as buildSnippet, is as PageRenderEncodedFormat, ja as AttachmentsCache, jc as AnnotationRef, ji as FormFieldOrigin, jn as MetadataCache, jo as FontSpec, jr as PageTextLayout, js as pdfQuadBounds, ka as AttachmentCreateResult, kc as PdfBits, ki as FormFieldFlags, kn as HighlightAnnotationDTO, ko as FontHandle, kr as SearchSliceBudget, ks as PdfQuadCorners, kt as LineAnnotationDTO, l as AnnotationPatch, la as PdfDestination, lc as expandedCapabilities, li as CheckboxFieldDraft, ll as PdfRotation, lo as WireResourceMap, lr as SearchRegexIssue, ls as PageRenderViewport, lt as FreeTextDraft, m as WireAnnotationPatch, ma as BuildCommentThreadsOptions, mc as parseScope, mi as RadioFieldDraft, ml as PdfActionNode, mo as PDF_SUBTYPE_TO_CODE, mr as foldOptionsFor, ms as RotatedGeometryGlyph, mt as InkAnnotationDTO, n as AnnotationListSnapshotAllPages, na as shiftsExistingAnnotationIndices, nc as pdfPermissions, ni as FormFieldValue, nl as CalloutLine, nn as CircleAnnotationDTO, no as BinaryMetadata, nr as searchSegmentsForRange, ns as PageRaster, nt as CaretAnnotationDTO, o as AnnotationDraft, oa as MutationMeta, oc as checkCollab, oi as ListBoxFieldPatch, ol as PdfPoint, on as ShapePatchFields, oo as BinarySource, or as SEARCH_REGEX_MAX_LENGTH, os as PageRenderOptions, p as WireAnnotationDraft, pa as LayerScopes, pc as PermissionDenied, pi as ListBoxFieldDraft, pl as NamedJavaScriptAction, po as PDF_CODE_TO_SUBTYPE, pr as validateSearchRegex, ps as PageGeometrySnapshot, pt as InkPatch, qa as AttachmentFileBase, qc as NO_ANNOTATION_FLAGS, qi as AnnotationUpdateResult, qn as PageRotateResult, qo as WeakAnnotationState, qr as FormRepairResult, qs as OpenInputLayerBytes, ra as AnnotationListMutationMeta, rc as CollabTarget, ri as CheckboxFieldPatch, rl as InkList, rn as CircleDraft, ro as BinaryMimeType, rr as SEARCH_SNIPPET_CONTEXT, rs as PageRenderBackground, rt as CaretDraft, sa as PdfLinkTarget, sc as checkSetGroup, si as RadioFieldPatch, sl as PdfQuad, so as ResourceRef, sr as SearchQueryIssue, ss as PageRenderQuery, st as FreeTextPatch, t as AnnotationListPageSnapshot, ta as invalidatesWeakIndexRefs, tc as materializePdfPermissions, ti as FormDataFormat, tl as TextAlignment, tn as CirclePatch, to as normalizeAnnotationPatch, tr as searchRectsForRange, ts as PageNetworkRenderFormat, tt as CaretPatch, ua as DocumentManifest, uc as filterMatches, ui as ComboBoxFieldDraft, ul as PdfSize, un as StrikeoutPatch, uo as resolveBinarySource, ur as SearchRegexValidation, us as createPageImageHandle, v as UnsupportedPatch, va as buildCommentThreads, vc as AnnotationActor, vi as FormSnapshot, vl as PdfAnnotationActions, vn as SquigglyDraft, vo as AnnotationBase, vr as FoldOptions, vs as glyphLooseQuad, w as WidgetPatch, wa as refKey, wc as ParsedCapability, wi as CheckboxFieldDTO, wn as UnderlineDraft, wo as EngineErrorOptions, wr as SearchMatch, ws as charBoundaryAtTextOffset, wt as LinkDraft, x as RedactPatch, xa as AnnotationThread, xc as CollabFilter, xi as WidgetStyleDraftFields, xl as DocumentMetadata, xo as decodeStableIdKey, xr as SearchMatchRange, xs as CharBoundaryBias, y as UnsupportedDraft, ya as isStateAnnotation, yc as CollabAction, yi as WidgetAppearance, yl as PdfFieldActions, yo as AnnotationIdentityQuality, yr as FoldedText, ys as isRotatedGeometryRun, z as StampWirePatch, za as ColorStylePatchFields, zc as BlendMode, zi as FormValueEntry, zn as PageFlattenResult, zo as AnnotationAppearanceManifestEntry, zr as textGlyphAt, zs as PageListSnapshot } from "./AnnotationListSnapshot-DDxHpJQU.js";
2
- import { a as DocumentEncryptionState, c as DocumentSecurityState, d as PdfPermissionAdvisory, f as PdfPermissionInfo, g as AbortablePromise, h as AbortableExecutor, i as DocumentAccessReason, l as DocumentUnlockInput, m as passwordPromptFromState, n as CdnAdapter, o as DocumentOpenMode, p as PasswordPrompt, r as DocumentAccessInfo, s as DocumentSecurityService, t as CdnAccessInfo, u as DocumentUnlockResult } from "./DocumentSecurityService-o9aeTHwT.js";
3
- import { A as DocumentPagesService, C as CONTINUOUS_RENDER_POLICY, D as snapFullPageViewport, E as snapAppearanceScale, F as WeakAnnotationEditSession, I as DocumentActionsService, M as FormRepairOptions, N as DocumentAttachmentsService, O as snapTileScale, P as DocumentAnnotationsService, S as DocumentSearchService, T as EngineRenderPolicy, _ as PageTextService, a as DocumentHandle, b as PageAnnotationsService, c as DocumentEventInit, d as PageHandle, f as PieceInfoService, g as PieceInfoSnapshot, h as PieceInfoPatchValue, i as DocumentCapabilities, j as DocumentFormsService, k as DocumentRedactionService, l as DocumentEventType, m as PieceInfoPatch, n as EngineFactory, o as DocumentEventStream, p as PieceInfoEntry, r as FontService, s as DocumentEvent, t as Engine, u as EventOrigin, v as PageRenderService, w as DocumentRenderService, x as MetadataService, y as PageGeometryService } from "./Engine-DOoVem7_.js";
1
+ import { $a as AttachmentFileInfo, $c as Rect, $i as AnnotationUpdateResult, $n as canonicalSearchQuery, $o as knownWeakAnnotationState, $r as FormEffectsResult, $s as OpenInputLayerSource, Aa as AnnotationKindModule, Ac as ParsedCollab, Ai as CheckboxFieldDTO, Al as isValidPageObjectNumber, An as HighlightDraft, Ao as SerializedEngineError, Ar as SearchSnippet, As as charMapViolation, At as LineDraft, B as StampAnnotationDTO, Ba as FileAttachmentWireDraft, Bc as AnnotationFlags, Bi as RadioFieldDTO, Bn as PageFlattenStatus, Bo as AnnotationAppearanceImage, Br as textGlyphQuad, Bs as pdfRectHeight, Bt as PolygonPatch, C as RedactDraft, Ca as buildCommentThreads, Cc as AnnotationActor, Ci as FormKind, Cl as PdfFieldActions, Cn as UnderlineAnnotationDTO, Co as AnnotationBase, Cr as toOriginalRange, Cs as glyphLooseQuad, Ct as LinkAnnotationDTO, Da as buildThreads, Dc as DocCapability, Di as WidgetStyleDraftFields, Dl as decodeSubmitFormFlags, Do as encodeStableIdKey, Dr as SearchRequest, Ds as CharMapAnchor, E as WidgetDraft, Ea as AnnotationThread, Ec as CollabFilter, El as SubmitFormPayload, Eo as decodeStableIdKey, Er as SearchQuery, Es as CharBoundaryBias, Fa as AttachmentDeleteResult, Fc as AnnotationDraftBase, Fi as FormFieldFlags, Fn as RedactionApplyScope, Fo as FontKey, Fr as TextLayoutRun, Fs as normalizePdfRect, Ft as PolylineAnnotationDTO, Ga as FilledStyleDraftFields, Gc as FreeTextFont, Gi as FormValueEntry, Gn as PageDeleteResult, Go as AnnotationAppearanceMode, Gr as FormFieldUpdateResult, Gs as PageBoxes, Gt as VertexPatchFields, H as StampFit, Ha as ColorStyleDraftFields, Hc as BlendMode, Hi as TextFieldDTO, Hn as PAGE_INSERT_BLANK_MAX_COUNT, Ho as AnnotationAppearanceImagesResult, Hr as FormDataExport, Hs as pdfRectToOriginSize, Ht as PolygonDraft, Ia as AttachmentsCache, Ic as AnnotationRef, Ii as FormFieldOption, In as RedactionApplyStatus, Io as FontSpec, Ir as buildPageTextLayout, Is as pdfQuadBounds, It as PolylineDraft, J as TextPatch, Ja as GeometryStyleDraftFields, Jc as LineEnding, Ji as decodeFieldRefKey, Jn as PageRotateInput, Jo as AnnotationAppearancesQuery, Jr as FormSetValueResult, Js as MetadataPatch, Ka as FilledStyleFields, Kc as FreeTextIntent, Ki as FormFieldRef, Kn as PageDeleteInput, Ko as AnnotationAppearanceRaster, Kr as FormImportResult, Ks as PageLayout, La as normalizeAttachmentFileSource, Lc as RevisionToken, Li as FormFieldOrigin, Ln as PageFlattenInput, Lo as DEFAULT_PDF_SAVE_MODE, Lr as expandTextRangeToLine, Ls as pdfQuadCorners, M as FileAttachmentPatch, Ma as DraftOfKind, Mc as ParsedVirtual, Mi as FormFieldBase, Ml as DocumentMetadataTrapped, Mn as MetadataUpdateResult, Mo as serializeError, Mr as PdfTextSegment, Ms as sliceTextByChars, N as FileAttachmentAnnotationDTO, Na as PatchOfKind, Nc as ParsedWildcard, Ni as FormFieldDTO, Nn as RedactionApplyItemResult, No as EngineErrorCode, Nr as TextLayoutFrame, Ns as PdfOriginSize, Oa as classifyRelation, Oc as IdentityClaims, Oi as WidgetStyleFields, Ol as PdfDestination, On as HighlightPatch, Oo as EngineError, Or as SearchSlice, Os as boundaryTextOffset, Ot as LinePatch, Pa as AttachmentCreateResult, Pc as PdfBits, Pi as FormFieldFamily, Pn as RedactionApplyResult, Po as FontHandle, Pr as TextLayoutGlyph, Ps as PdfQuadCorners, Pt as PolylinePatch, Qa as AttachmentFileBase, Qc as Point, Qi as AnnotationMoveResult, Qn as PageMoveInput, Qo as WeakAnnotationState, Qr as FormEffectStatus, Qs as OpenInputLayerBytes, R as StampPatch, Ra as FileAttachmentDraft, Rc as revisionTokensEqual, Ri as ListBoxFieldDTO, Rn as PageFlattenItemResult, Ro as PdfSaveMode, Rr as expandTextRangeToWord, Rs as pdfQuadFromCorners, S as RedactAnnotationDTO, Sa as ReviewStatus, Sc as decodePdfBits, Si as WidgetPlacement, Sl as PdfAnnotationActions, Sn as UnderlinePatch, So as AnnotationPatchBase, Sr as foldText, Ss as glyphLooseBounds, St as LinkPatch, T as WidgetAnnotationDTO, Ta as AnnotationRelationKind, Tc as CollabEntity, Ti as WidgetAppearance, Tl as SubmitFormFlags, To as AnnotationStableId, Tr as SearchMode, Ts as PageTextSnapshot, U as StampWireDraft, Ua as ColorStyleFields, Uc as CaretIntent, Ui as ToggleFieldWidget, Un as PageInsertBlankSpec, Uo as AnnotationAppearanceManifest, Ur as FormFieldCreateResult, Us as pdfRectWidth, Ut as VertexAnnotationFields, V as StampDraft, Va as WireAttachmentFile, Vc as AnnotationReplyType, Vi as SignatureFieldDTO, Vn as PageFlattenUsage, Vo as AnnotationAppearanceImageOptions, Vr as textSegmentsForRange, Vs as pdfRectSize, Vt as PolygonAnnotationDTO, Wa as ColorStylePatchFields, Wc as Color, Wi as UnknownFieldDTO, Wn as PageInsertResult, Wo as AnnotationAppearanceManifestEntry, Wr as FormFieldDeleteResult, Ws as PageListSnapshot, Wt as VertexDraftFields, X as NoteIcon, Xa as GeometryStylePatchFields, Xc as NO_ANNOTATION_FLAGS, Xi as AnnotationCreateResult, Xn as PageMoveResult, Xo as PageState, Xr as FormEffect, Xs as OpenInputById, Xt as SquareAnnotationDTO, Y as TextAnnotationDTO, Ya as GeometryStyleFields, Yc as LineEndings, Yi as encodeFieldRefKey, Yn as PageMoveCache, Yo as AnnotationAppearancesResult, Yr as FormWidgetLinkResult, Ys as OpenInput, Yt as SquarePatch, Z as TextDraft, Za as AttachmentContent, Zc as PdfRectDifferences, Zi as AnnotationDeleteResult, Zn as PageStructureCache, Zo as UNKNOWN_WEAK_ANNOTATION_STATE, Zr as FormEffectResult, Zs as OpenInputBytes, Zt as SquareDraft, _a as LayerScopePlane, _c as MissingIdentity, _i as FormFieldDraft, _l as PdfActionNode, _n as SquigglyAnnotationDTO, _o as AnnotationSubtype, _r as wordBefore, _s as PageGeometryRun, aa as AnnotationMutationKind, ac as collab, ai as FormSubmissionRequest, al as CalloutLine, an as ShapeDraftFields, ao as normalizeAnnotationDraft, ar as matchPageText, as as PageImageSource, b as UnsupportedAnnotationDTO, ba as CommentThread, bc as validateScopeArray, bi as RadioFieldDraft, bl as PdfActionType, bo as PdfAnnotationSubtypeCode, br as SEARCH_FOLD_VERSION, bs as RotatedGeometryRun, c as AnnotationKind, ca as shiftsExistingAnnotationIndices, cc as CollabTarget, ci as FormFieldValue, cl as LinePoints, co as BinaryMimeType, cr as SearchQueryValidation, cs as PageRenderBackground, ct as FreeTextAnnotationDTO, d as AnnotationSubtypeOfKind, da as CacheDelta, dc as checkCollab, di as FormFieldPatch, dl as PdfRect, dn as StrikeoutAnnotationDTO, do as BinarySource, dr as matchRegex, ds as PageRenderOptions, ea as AppearanceAction, ec as OpenInputShare, ei as FormFieldDisplay, el as Rotation, eo as AttachmentFileSource, er as searchContentEpoch, es as PageImageBlobSource, fa as MutationMeta, fc as checkSetGroup, fi as ListBoxFieldPatch, fl as PdfRotation, fn as StrikeoutDraft, fo as ResourceRef, fr as validateSearchQuery, fs as PageRenderQuery, ga as ManifestPage, gc as InvalidScope, gi as ComboBoxFieldDraft, gl as NamedJavaScriptAction, gn as SquigglyPatch, go as ANNOTATION_SUBTYPES, gr as wordAt, gs as PageGeometryGlyph, ha as DocumentManifest, hc as filterMatches, hi as CheckboxFieldDraft, hl as DocumentActionsSnapshot, ho as resolveBinarySource, hr as matchLiteral, hs as createPageImageHandle, ht as InkDraft, i as AnnotationDTO, ia as semanticEqual, ic as caps, il as TextAlignment, in as ShapeAnnotationFields, io as NormalizedPatch, ir as buildSnippet, is as PageImageResult, ja as DTOOfKind, jc as ParsedScope, ji as ComboBoxFieldDTO, jl as DocumentMetadata, jn as MetadataCache, jo as deserializeError, jr as PageTextLayout, js as charRangeForTextOffsets, ka as refKey, kc as ParsedCapability, ki as WidgetStylePatchFields, kl as PageObjectNumber, kn as HighlightAnnotationDTO, ko as EngineErrorOptions, kr as SearchSliceBudget, ks as charBoundaryAtTextOffset, kt as LineAnnotationDTO, l as AnnotationPatch, la as AnnotationListMutationMeta, lc as checkAnyCapability, li as CheckboxFieldPatch, ll as PdfPoint, lo as sniffBinaryMetadata, lr as SearchRegexIssue, ls as PageRenderEncodedFormat, lt as FreeTextDraft, m as WireAnnotationPatch, ma as PdfLinkTargetWritable, mc as expandedCapabilities, mi as TextFieldPatch, ml as ActionReadBudget, mo as WireResourceMap, mr as foldOptionsFor, ms as PageRenderViewport, mt as InkAnnotationDTO, n as AnnotationListSnapshotAllPages, na as AppearanceOutcome, nc as OpenOptions, nl as StandardFont, nn as CircleAnnotationDTO, no as EmbeddedFileRef, nr as searchSegmentsForRange, ns as PageImageObjectUrl, nt as CaretAnnotationDTO, o as AnnotationDraft, oa as changesAnnotationList, oc as materializePdfPermissions, ol as InkList, on as ShapePatchFields, oo as normalizeAnnotationPatch, or as SEARCH_REGEX_MAX_LENGTH, os as PageNetworkRenderFormat, p as WireAnnotationDraft, pa as PdfLinkTarget, pc as expandRawScope, pi as RadioFieldPatch, pl as PdfSize, po as WireResource, pr as validateSearchRegex, ps as PageRenderTarget, pt as InkPatch, qa as FilledStylePatchFields, qc as InkIntent, qi as FormWidgetRef, qn as PageRotateResult, qo as AnnotationAppearanceRenderOptions, qr as FormRepairResult, qs as PageRotation, ra as appearanceImpactOf, rc as TokenSource, ri as FormSubmissionReceipt, rl as StrikeoutIntent, rn as CircleDraft, ro as NormalizedDraft, rr as SEARCH_SNIPPET_CONTEXT, rs as PageImageOptions, rt as CaretDraft, sa as invalidatesWeakIndexRefs, sc as pdfPermissions, si as FormDataFormat, sl as InkStroke, so as BinaryMetadata, sr as SearchQueryIssue, ss as PageRaster, st as FreeTextPatch, t as AnnotationListPageSnapshot, ta as AppearanceImpact, tc as OpenInputToken, ti as FormSubmissionEntry, tl as Size, tn as CirclePatch, to as EmbeddedFileItem, tr as searchRectsForRange, ts as PageImageHandle, tt as CaretPatch, ua as RefetchReason, uc as checkCapability, ui as ComboBoxFieldPatch, ul as PdfQuad, un as StrikeoutPatch, uo as BinaryPayload, ur as SearchRegexValidation, us as PageRenderFormat, v as UnsupportedPatch, va as LayerScopes, vc as PermissionDenied, vi as FormFieldOptionInput, vl as PdfActionTargetRef, vn as SquigglyDraft, vo as PDF_CODE_TO_SUBTYPE, vr as FoldOptions, vs as PageGeometrySnapshot, w as WidgetPatch, wa as isStateAnnotation, wc as CollabAction, wi as FormSnapshot, wl as PdfPageActions, wn as UnderlineDraft, wo as AnnotationIdentityQuality, wr as SearchMatch, ws as isRotatedGeometryRun, wt as LinkDraft, x as RedactPatch, xa as CommentThreadReview, xc as PDF_BITS, xi as TextFieldDraft, xl as PdfActionWarning, xo as subtypeFromCode, xr as SearchMatchRange, xs as UprightGeometryRun, y as UnsupportedDraft, ya as BuildCommentThreadsOptions, yc as parseScope, yi as ListBoxFieldDraft, yl as PdfActionTree, yo as PDF_SUBTYPE_TO_CODE, yr as FoldedText, ys as RotatedGeometryGlyph, z as StampWirePatch, za as FileAttachmentIcon, zc as AnnotationBorderStyle, zi as PushButtonFieldDTO, zn as PageFlattenResult, zo as CachePins, zr as textGlyphAt, zs as pdfRectFromOriginSize } from "./AnnotationListSnapshot-C1U3XUxP.js";
2
+ import { a as DocumentEncryptionState, c as DocumentSecurityState, d as PdfPermissionAdvisory, f as PdfPermissionInfo, g as AbortablePromise, h as AbortableExecutor, i as DocumentAccessReason, l as DocumentUnlockInput, m as passwordPromptFromState, n as CdnAdapter, o as DocumentOpenMode, p as PasswordPrompt, r as DocumentAccessInfo, s as DocumentSecurityService, t as CdnAccessInfo, u as DocumentUnlockResult } from "./DocumentSecurityService-7nL9aY75.js";
3
+ import { A as DocumentPagesService, C as CONTINUOUS_RENDER_POLICY, D as snapFullPageViewport, E as snapAppearanceScale, F as WeakAnnotationEditSession, I as DocumentActionsService, M as FormRepairOptions, N as DocumentAttachmentsService, O as snapTileScale, P as DocumentAnnotationsService, S as DocumentSearchService, T as EngineRenderPolicy, _ as PageTextService, a as DocumentHandle, b as PageAnnotationsService, c as DocumentEventInit, d as PageHandle, f as PieceInfoService, g as PieceInfoSnapshot, h as PieceInfoPatchValue, i as DocumentCapabilities, j as DocumentFormsService, k as DocumentRedactionService, l as DocumentEventType, m as PieceInfoPatch, n as EngineFactory, o as DocumentEventStream, p as PieceInfoEntry, r as FontService, s as DocumentEvent, t as Engine, u as EventOrigin, v as PageRenderService, w as DocumentRenderService, x as MetadataService, y as PageGeometryService } from "./Engine-CWnAKccD.js";
4
4
  //#region src/promise/AbortError.d.ts
5
5
  declare class AbortError extends Error {
6
6
  readonly name = "AbortError";
@@ -1096,5 +1096,5 @@ declare const EMPTY_TRANSFER: readonly Transferable[];
1096
1096
  */
1097
1097
  declare function wirePack<P>(payload: P, transfer?: readonly Transferable[]): WirePack<P>;
1098
1098
  //#endregion
1099
- export { ANNOTATION_SUBTYPES, AbortError, type AbortWorkerRequest, type AbortableExecutor, AbortablePromise, type ActionReadBudget, type ActionsReadWorkerRequest, type AnnotationActor, type AnnotationAppearanceImage, type AnnotationAppearanceImageOptions, type AnnotationAppearanceImagesResult, type AnnotationAppearanceManifest, type AnnotationAppearanceManifestEntry, type AnnotationAppearanceMode, type AnnotationAppearanceRaster, type AnnotationAppearanceRenderOptions, type AnnotationAppearancesEncodedResultWire, type AnnotationAppearancesQuery, type AnnotationAppearancesResult, type AnnotationBase, type AnnotationBorderStyle, type AnnotationCreateResult, type AnnotationDTO, type AnnotationDeleteResult, type AnnotationDraft, type AnnotationDraftBase, type AnnotationFlags, type AnnotationIdentityQuality, type AnnotationKind, type AnnotationKindModule, type AnnotationListMutationMeta, type AnnotationListPageSnapshot, type AnnotationListSnapshotAllPages, type AnnotationMoveResult, type AnnotationMutationKind, type AnnotationPatch, type AnnotationPatchBase, type AnnotationRef, type AnnotationRelationKind, type AnnotationReplyType, type AnnotationStableId, type AnnotationSubtype, type AnnotationSubtypeOfKind, type AnnotationThread, type AnnotationUpdateResult, type AnnotationsCreateWorkerRequest, type AnnotationsDeleteWorkerRequest, type AnnotationsListFullPageWorkerRequest, type AnnotationsListRawAllWorkerRequest, type AnnotationsListRawPageWorkerRequest, type AnnotationsMoveWorkerRequest, type AnnotationsReadFileWorkerRequest, type AnnotationsRenderAppearancesEncodedWorkerRequest, type AnnotationsRenderAppearancesWorkerRequest, type AnnotationsUpdateWorkerRequest, type AppearanceAction, type AppearanceImpact, type AppearanceOutcome, type AttachmentContent, type AttachmentCreateResult, type AttachmentDeleteResult, type AttachmentFileBase, type AttachmentFileInfo, type AttachmentFileSource, type AttachmentFileWorkerPayload, type AttachmentsCache, type AttachmentsCreateWorkerRequest, type AttachmentsDeleteWorkerRequest, type AttachmentsListWorkerRequest, type AttachmentsReadFileWorkerRequest, type BinaryMetadata, type BinaryMimeType, type BinaryPayload, type BinarySource, type BlendMode, type BuildCommentThreadsOptions, CONTINUOUS_RENDER_POLICY, type CacheDelta, type CachePins, type CalloutLine, type CaretAnnotationDTO, type CaretDraft, type CaretIntent, type CaretPatch, type CdnAccessInfo, type CdnAdapter, type CharBoundaryBias, type CharMapAnchor, type CheckboxFieldDTO, type CheckboxFieldDraft, type CheckboxFieldPatch, type CircleAnnotationDTO, type CircleDraft, type CirclePatch, type CloseWorkerRequest, type CollabAction, type CollabEntity, type CollabFilter, type CollabTarget, type Color, type ColorStyleDraftFields, type ColorStyleFields, type ColorStylePatchFields, type ComboBoxFieldDTO, type ComboBoxFieldDraft, type ComboBoxFieldPatch, type CommentThread, type CommentThreadReview, DEFAULT_PDF_SAVE_MODE, type DTOOfKind, type DocCapability, type DocumentAccessInfo, type DocumentAccessReason, type DocumentActionsService, type DocumentActionsSnapshot, type DocumentAnnotationsService, type DocumentAttachmentsService, type DocumentCapabilities, type DocumentCheckPasswordPermissionsWorkerRequest, type DocumentEncryptionState, type DocumentEvent, type DocumentEventInit, type DocumentEventStream, type DocumentEventType, type DocumentFormsService, type DocumentHandle, type IdentityClaims as DocumentIdentity, type IdentityClaims, type DocumentManifest, type DocumentMetadata, type DocumentMetadataTrapped, type DocumentOpenMode, type DocumentPagesService, type DocumentProbeSecurityFileWorkerRequest, type DocumentRedactionService, type DocumentRenderPageFileEncodedWorkerRequest, type DocumentRenderPageFileWorkerRequest, type DocumentRenderService, type DocumentSaveBufferWorkerRequest, type DocumentSaveFileWorkerRequest, type DocumentSaveLayerBufferWorkerRequest, type DocumentSearchService, type DocumentSecurityProbeInfo, type DocumentSecurityService, type DocumentSecurityState, type DocumentUnlockInput, type DocumentUnlockResult, type DraftOfKind, EMPTY_TRANSFER, type EmbeddedFileItem, type EmbeddedFileRef, type EncodedAppearanceWire, type EncodedImageWire, type Engine, EngineError, EngineErrorCode, type EngineErrorOptions, type EngineFactory, type EngineRenderPolicy, type EventOrigin, type FileAttachmentAnnotationDTO, type FileAttachmentDraft, type FileAttachmentIcon, type FileAttachmentPatch, type FileAttachmentWireDraft, type FilledStyleDraftFields, type FilledStyleFields, type FilledStylePatchFields, type FoldOptions, type FoldedText, type FontHandle, type FontKey, type FontService, type FontSpec, type FontsAddFallbackWorkerRequest, type FontsClearFallbacksWorkerRequest, type FontsClearWorkerRequest, type FontsRegisterWorkerRequest, type FormDataExport, type FormDataFormat, type FormEffect, type FormEffectResult, type FormEffectStatus, type FormEffectsResult, type FormFieldBase, type FormFieldCreateResult, type FormFieldDTO, type FormFieldDeleteResult, type FormFieldDisplay, type FormFieldDraft, type FormFieldFamily, type FormFieldFlags, type FormFieldOption, type FormFieldOptionInput, type FormFieldOrigin, type FormFieldPatch, type FormFieldRef, type FormFieldUpdateResult, type FormFieldValue, type FormImportResult, type FormKind, type FormRepairOptions, type FormRepairResult, type FormSetValueResult, type FormSnapshot, type FormValueEntry, type FormWidgetLinkResult, type FormWidgetRef, type FormsApplyEffectsWorkerRequest, type FormsAttachWidgetWorkerRequest, type FormsCreateFieldWorkerRequest, type FormsDeleteFieldWorkerRequest, type FormsDetachWidgetWorkerRequest, type FormsExportWorkerRequest, type FormsImportWorkerRequest, type FormsListWorkerRequest, type FormsRepairWorkerRequest, type FormsResetWorkerRequest, type FormsSetValueWorkerRequest, type FormsUpdateFieldWorkerRequest, type FreeTextAnnotationDTO, type FreeTextDraft, type FreeTextFont, type FreeTextIntent, type FreeTextPatch, type GeometryStyleDraftFields, type GeometryStyleFields, type GeometryStylePatchFields, type HighlightAnnotationDTO, type HighlightDraft, type HighlightPatch, type InkAnnotationDTO, type InkDraft, type InkIntent, type InkList, type InkPatch, type InkStroke, InvalidScope, type LayerArtifactFileWorkerPayload, type LayerArtifactWorkerPayload, type LayerCloseWorkerRequest, type LayerOpenSource, type LayerScopePlane, type LayerScopes, type LineAnnotationDTO, type LineDraft, type LineEnding, type LineEndings, type LinePatch, type LinePoints, type LinkAnnotationDTO, type LinkDraft, type LinkPatch, type ListBoxFieldDTO, type ListBoxFieldDraft, type ListBoxFieldPatch, type ManifestPage, type MetadataCache, type MetadataPatch, type MetadataReadWorkerRequest, type MetadataService, type MetadataUpdateResult, type MetadataUpdateWorkerRequest, MissingIdentity, type MutationMeta, NO_ANNOTATION_FLAGS, type NamedJavaScriptAction, type NormalizedDraft, type NormalizedPatch, type NoteIcon, type OpenFatMemoryWorkerRequest, type OpenInput, type OpenInputById, type OpenInputBytes, type OpenInputLayerBytes, type OpenInputLayerSource, type OpenInputShare, type OpenInputToken, type OpenLayerFileBaseWorkerRequest, type OpenLayerMemoryBaseWorkerRequest, type OpenOptions, type OpenWorkerRequest, PAGE_INSERT_BLANK_MAX_COUNT, PDF_BITS, PDF_CODE_TO_SUBTYPE, PDF_SUBTYPE_TO_CODE, type PageAnnotationsService, type PageBoxes, type PageDeleteInput, type PageDeleteResult, type PageFlattenInput, type PageFlattenItemResult, type PageFlattenResult, type PageFlattenStatus, type PageFlattenUsage, type PageGeometryGlyph, type PageGeometryRun, type PageGeometryService, type PageGeometrySnapshot, type PageHandle, type PageImageBlobSource, type PageImageHandle, type PageImageObjectUrl, type PageImageOptions, type PageImageResult, type PageImageSource, type PageInsertBlankSpec, type PageInsertResult, type PageLayout, type PageListSnapshot, type PageMoveCache, type PageMoveInput, type PageMoveResult, type PageNetworkRenderFormat, type PageObjectNumber, type PageRaster, type PageRenderBackground, type PageRenderEncodedFormat, type PageRenderFormat, type PageRenderOptions, type PageRenderQuery, type PageRenderService, type PageRenderTarget, type PageRenderViewport, type PageRotateInput, type PageRotateResult, type PageRotation, type PageState, type PageStructureCache, type PageTextLayout, type PageTextService, type PageTextSnapshot, type PagesDeleteWorkerRequest, type PagesExtractWorkerRequest, type PagesFlattenWorkerRequest, type PagesGeometryWorkerRequest, type PagesInsertBlankWorkerRequest, type PagesInsertWorkerRequest, type PagesListWorkerRequest, type PagesMoveWorkerRequest, type PagesRenderEncodedWorkerRequest, type PagesRenderWorkerRequest, type PagesRotateWorkerRequest, type PagesTextWorkerRequest, type ParsedCapability, type ParsedCollab, type ParsedScope, type ParsedVirtual, type ParsedWildcard, type PasswordPrompt, type PatchOfKind, type PdfActionNode, type PdfActionTree, type PdfActionType, type PdfActionWarning, type PdfAnnotationActions, PdfAnnotationSubtypeCode, type PdfBits, type PdfDestination, type PdfFieldActions, type PdfLinkTarget, type PdfLinkTargetWritable, type PdfOriginSize, type PdfPageActions, type PdfPermissionAdvisory, type PdfPermissionInfo, type PdfPoint, type PdfQuad, type PdfQuadCorners, type PdfRect, type PdfRectDifferences, type PdfRotation, type PdfSaveMode, type PdfSize, type PdfTextSegment, PermissionDenied, type PieceInfoApplicationsWorkerRequest, type PieceInfoClearWorkerRequest, type PieceInfoEntry, type PieceInfoPatch, type PieceInfoPatchValue, type PieceInfoReadWorkerRequest, type PieceInfoService, type PieceInfoSnapshot, type PieceInfoUpdateWorkerRequest, type Point, type PolygonAnnotationDTO, type PolygonDraft, type PolygonPatch, type PolylineAnnotationDTO, type PolylineDraft, type PolylinePatch, type PushButtonFieldDTO, type RadioFieldDTO, type RadioFieldDraft, type RadioFieldPatch, type Rect, type RedactAnnotationDTO, type RedactDraft, type RedactPatch, type RedactionApplyItemResult, type RedactionApplyResult, type RedactionApplyScope, type RedactionApplyStatus, type RedactionApplyWorkerRequest, type RefetchReason, type RenderEncode, type ResourceRef, type ReviewStatus, type RevisionToken, type RotatedGeometryGlyph, type RotatedGeometryRun, type Rotation, SEARCH_FOLD_VERSION, SEARCH_REGEX_MAX_LENGTH, SEARCH_SNIPPET_CONTEXT, type SearchMatch, type SearchMatchRange, type SearchMode, type SearchQuery, type SearchQueryIssue, type SearchQueryValidation, type SearchQueryWorkerRequest, type SearchRegexIssue, type SearchRegexValidation, type SearchRequest, type SearchSlice, type SearchSliceBudget, type SearchSnippet, type SerializedEngineError, type ShapeAnnotationFields, type ShapeDraftFields, type ShapePatchFields, type ShutdownWorkerRequest, type SignatureFieldDTO, type Size, type SquareAnnotationDTO, type SquareDraft, type SquarePatch, type SquigglyAnnotationDTO, type SquigglyDraft, type SquigglyPatch, type StampAnnotationDTO, type StampDraft, type StampFit, type StampPatch, type StampWireDraft, type StampWirePatch, type StandardFont, type StrikeoutAnnotationDTO, type StrikeoutDraft, type StrikeoutIntent, type StrikeoutPatch, type TextAlignment, type TextAnnotationDTO, type TextDraft, type TextFieldDTO, type TextFieldDraft, type TextFieldPatch, type TextLayoutFrame, type TextLayoutGlyph, type TextLayoutRun, type TextPatch, type ToggleFieldWidget, type TokenSource, UNKNOWN_WEAK_ANNOTATION_STATE, type UnderlineAnnotationDTO, type UnderlineDraft, type UnderlinePatch, type UnknownFieldDTO, type UnsupportedAnnotationDTO, type UnsupportedDraft, type UnsupportedPatch, type UprightGeometryRun, type VertexAnnotationFields, type VertexDraftFields, type VertexPatchFields, type WeakAnnotationEditSession, type WeakAnnotationState, type WidgetAnnotationDTO, type WidgetAppearance, type WidgetDraft, type WidgetPatch, type WidgetPlacement, type WidgetStyleDraftFields, type WidgetStyleFields, type WidgetStylePatchFields, type WireAnnotationDraft, type WireAnnotationPatch, type WireAttachmentFile, type WirePack, type WireResource, type WireResourceMap, type WorkerJobId, type WorkerLifecycleMessage, type WorkerRequest, type WorkerResponse, type WorkerResultPayload, advisoryFromPdfBits, appearanceImpactOf, boundaryTextOffset, buildCommentThreads, buildPageTextLayout, buildSnippet, buildThreads, canonicalSearchQuery, caps, changesAnnotationList, charBoundaryAtTextOffset, charMapViolation, charRangeForTextOffsets, checkAnyCapability, checkCapability, checkCollab, checkSetGroup, classifyRelation, collab, createPageImageHandle, decodeFieldRefKey, decodePdfBits, decodeStableIdKey, deserializeError, encodeFieldRefKey, encodeStableIdKey, expandRawScope, expandTextRangeToLine, expandTextRangeToWord, expandedCapabilities, filterMatches, foldOptionsFor, foldText, glyphLooseBounds, glyphLooseQuad, invalidatesWeakIndexRefs, isAbortError, isRotatedGeometryRun, isStateAnnotation, isValidPageObjectNumber, knownWeakAnnotationState, matchLiteral, matchPageText, matchRegex, materializePdfPermissions, normalizeAnnotationDraft, normalizeAnnotationPatch, normalizeAttachmentFileSource, normalizePdfRect, parseScope, passwordPromptFromState, pdfPermissions, pdfQuadBounds, pdfQuadCorners, pdfQuadFromCorners, pdfRectFromOriginSize, pdfRectHeight, pdfRectSize, pdfRectToOriginSize, pdfRectWidth, permissionInfoFromProbe, permissionInfoWithAdvisory, refKey, resolveBinarySource, revisionTokensEqual, searchContentEpoch, searchRectsForRange, searchSegmentsForRange, securityStateFromHead, securityStateFromProbe, semanticEqual, serializeError, shiftsExistingAnnotationIndices, sliceTextByChars, snapAppearanceScale, snapFullPageViewport, snapTileScale, sniffBinaryMetadata, subtypeFromCode, textGlyphAt, textGlyphQuad, textSegmentsForRange, toOriginalRange, validateScopeArray, validateSearchQuery, validateSearchRegex, wirePack, wordAt, wordBefore };
1099
+ export { ANNOTATION_SUBTYPES, AbortError, type AbortWorkerRequest, type AbortableExecutor, AbortablePromise, type ActionReadBudget, type ActionsReadWorkerRequest, type AnnotationActor, type AnnotationAppearanceImage, type AnnotationAppearanceImageOptions, type AnnotationAppearanceImagesResult, type AnnotationAppearanceManifest, type AnnotationAppearanceManifestEntry, type AnnotationAppearanceMode, type AnnotationAppearanceRaster, type AnnotationAppearanceRenderOptions, type AnnotationAppearancesEncodedResultWire, type AnnotationAppearancesQuery, type AnnotationAppearancesResult, type AnnotationBase, type AnnotationBorderStyle, type AnnotationCreateResult, type AnnotationDTO, type AnnotationDeleteResult, type AnnotationDraft, type AnnotationDraftBase, type AnnotationFlags, type AnnotationIdentityQuality, type AnnotationKind, type AnnotationKindModule, type AnnotationListMutationMeta, type AnnotationListPageSnapshot, type AnnotationListSnapshotAllPages, type AnnotationMoveResult, type AnnotationMutationKind, type AnnotationPatch, type AnnotationPatchBase, type AnnotationRef, type AnnotationRelationKind, type AnnotationReplyType, type AnnotationStableId, type AnnotationSubtype, type AnnotationSubtypeOfKind, type AnnotationThread, type AnnotationUpdateResult, type AnnotationsCreateWorkerRequest, type AnnotationsDeleteWorkerRequest, type AnnotationsListFullPageWorkerRequest, type AnnotationsListRawAllWorkerRequest, type AnnotationsListRawPageWorkerRequest, type AnnotationsMoveWorkerRequest, type AnnotationsReadFileWorkerRequest, type AnnotationsRenderAppearancesEncodedWorkerRequest, type AnnotationsRenderAppearancesWorkerRequest, type AnnotationsUpdateWorkerRequest, type AppearanceAction, type AppearanceImpact, type AppearanceOutcome, type AttachmentContent, type AttachmentCreateResult, type AttachmentDeleteResult, type AttachmentFileBase, type AttachmentFileInfo, type AttachmentFileSource, type AttachmentFileWorkerPayload, type AttachmentsCache, type AttachmentsCreateWorkerRequest, type AttachmentsDeleteWorkerRequest, type AttachmentsListWorkerRequest, type AttachmentsReadFileWorkerRequest, type BinaryMetadata, type BinaryMimeType, type BinaryPayload, type BinarySource, type BlendMode, type BuildCommentThreadsOptions, CONTINUOUS_RENDER_POLICY, type CacheDelta, type CachePins, type CalloutLine, type CaretAnnotationDTO, type CaretDraft, type CaretIntent, type CaretPatch, type CdnAccessInfo, type CdnAdapter, type CharBoundaryBias, type CharMapAnchor, type CheckboxFieldDTO, type CheckboxFieldDraft, type CheckboxFieldPatch, type CircleAnnotationDTO, type CircleDraft, type CirclePatch, type CloseWorkerRequest, type CollabAction, type CollabEntity, type CollabFilter, type CollabTarget, type Color, type ColorStyleDraftFields, type ColorStyleFields, type ColorStylePatchFields, type ComboBoxFieldDTO, type ComboBoxFieldDraft, type ComboBoxFieldPatch, type CommentThread, type CommentThreadReview, DEFAULT_PDF_SAVE_MODE, type DTOOfKind, type DocCapability, type DocumentAccessInfo, type DocumentAccessReason, type DocumentActionsService, type DocumentActionsSnapshot, type DocumentAnnotationsService, type DocumentAttachmentsService, type DocumentCapabilities, type DocumentCheckPasswordPermissionsWorkerRequest, type DocumentEncryptionState, type DocumentEvent, type DocumentEventInit, type DocumentEventStream, type DocumentEventType, type DocumentFormsService, type DocumentHandle, type IdentityClaims as DocumentIdentity, type IdentityClaims, type DocumentManifest, type DocumentMetadata, type DocumentMetadataTrapped, type DocumentOpenMode, type DocumentPagesService, type DocumentProbeSecurityFileWorkerRequest, type DocumentRedactionService, type DocumentRenderPageFileEncodedWorkerRequest, type DocumentRenderPageFileWorkerRequest, type DocumentRenderService, type DocumentSaveBufferWorkerRequest, type DocumentSaveFileWorkerRequest, type DocumentSaveLayerBufferWorkerRequest, type DocumentSearchService, type DocumentSecurityProbeInfo, type DocumentSecurityService, type DocumentSecurityState, type DocumentUnlockInput, type DocumentUnlockResult, type DraftOfKind, EMPTY_TRANSFER, type EmbeddedFileItem, type EmbeddedFileRef, type EncodedAppearanceWire, type EncodedImageWire, type Engine, EngineError, EngineErrorCode, type EngineErrorOptions, type EngineFactory, type EngineRenderPolicy, type EventOrigin, type FileAttachmentAnnotationDTO, type FileAttachmentDraft, type FileAttachmentIcon, type FileAttachmentPatch, type FileAttachmentWireDraft, type FilledStyleDraftFields, type FilledStyleFields, type FilledStylePatchFields, type FoldOptions, type FoldedText, type FontHandle, type FontKey, type FontService, type FontSpec, type FontsAddFallbackWorkerRequest, type FontsClearFallbacksWorkerRequest, type FontsClearWorkerRequest, type FontsRegisterWorkerRequest, type FormDataExport, type FormDataFormat, type FormEffect, type FormEffectResult, type FormEffectStatus, type FormEffectsResult, type FormFieldBase, type FormFieldCreateResult, type FormFieldDTO, type FormFieldDeleteResult, type FormFieldDisplay, type FormFieldDraft, type FormFieldFamily, type FormFieldFlags, type FormFieldOption, type FormFieldOptionInput, type FormFieldOrigin, type FormFieldPatch, type FormFieldRef, type FormFieldUpdateResult, type FormFieldValue, type FormImportResult, type FormKind, type FormRepairOptions, type FormRepairResult, type FormSetValueResult, type FormSnapshot, type FormSubmissionEntry, type FormSubmissionReceipt, type FormSubmissionRequest, type FormValueEntry, type FormWidgetLinkResult, type FormWidgetRef, type FormsApplyEffectsWorkerRequest, type FormsAttachWidgetWorkerRequest, type FormsCreateFieldWorkerRequest, type FormsDeleteFieldWorkerRequest, type FormsDetachWidgetWorkerRequest, type FormsExportWorkerRequest, type FormsImportWorkerRequest, type FormsListWorkerRequest, type FormsRepairWorkerRequest, type FormsResetWorkerRequest, type FormsSetValueWorkerRequest, type FormsUpdateFieldWorkerRequest, type FreeTextAnnotationDTO, type FreeTextDraft, type FreeTextFont, type FreeTextIntent, type FreeTextPatch, type GeometryStyleDraftFields, type GeometryStyleFields, type GeometryStylePatchFields, type HighlightAnnotationDTO, type HighlightDraft, type HighlightPatch, type InkAnnotationDTO, type InkDraft, type InkIntent, type InkList, type InkPatch, type InkStroke, InvalidScope, type LayerArtifactFileWorkerPayload, type LayerArtifactWorkerPayload, type LayerCloseWorkerRequest, type LayerOpenSource, type LayerScopePlane, type LayerScopes, type LineAnnotationDTO, type LineDraft, type LineEnding, type LineEndings, type LinePatch, type LinePoints, type LinkAnnotationDTO, type LinkDraft, type LinkPatch, type ListBoxFieldDTO, type ListBoxFieldDraft, type ListBoxFieldPatch, type ManifestPage, type MetadataCache, type MetadataPatch, type MetadataReadWorkerRequest, type MetadataService, type MetadataUpdateResult, type MetadataUpdateWorkerRequest, MissingIdentity, type MutationMeta, NO_ANNOTATION_FLAGS, type NamedJavaScriptAction, type NormalizedDraft, type NormalizedPatch, type NoteIcon, type OpenFatMemoryWorkerRequest, type OpenInput, type OpenInputById, type OpenInputBytes, type OpenInputLayerBytes, type OpenInputLayerSource, type OpenInputShare, type OpenInputToken, type OpenLayerFileBaseWorkerRequest, type OpenLayerMemoryBaseWorkerRequest, type OpenOptions, type OpenWorkerRequest, PAGE_INSERT_BLANK_MAX_COUNT, PDF_BITS, PDF_CODE_TO_SUBTYPE, PDF_SUBTYPE_TO_CODE, type PageAnnotationsService, type PageBoxes, type PageDeleteInput, type PageDeleteResult, type PageFlattenInput, type PageFlattenItemResult, type PageFlattenResult, type PageFlattenStatus, type PageFlattenUsage, type PageGeometryGlyph, type PageGeometryRun, type PageGeometryService, type PageGeometrySnapshot, type PageHandle, type PageImageBlobSource, type PageImageHandle, type PageImageObjectUrl, type PageImageOptions, type PageImageResult, type PageImageSource, type PageInsertBlankSpec, type PageInsertResult, type PageLayout, type PageListSnapshot, type PageMoveCache, type PageMoveInput, type PageMoveResult, type PageNetworkRenderFormat, type PageObjectNumber, type PageRaster, type PageRenderBackground, type PageRenderEncodedFormat, type PageRenderFormat, type PageRenderOptions, type PageRenderQuery, type PageRenderService, type PageRenderTarget, type PageRenderViewport, type PageRotateInput, type PageRotateResult, type PageRotation, type PageState, type PageStructureCache, type PageTextLayout, type PageTextService, type PageTextSnapshot, type PagesDeleteWorkerRequest, type PagesExtractWorkerRequest, type PagesFlattenWorkerRequest, type PagesGeometryWorkerRequest, type PagesInsertBlankWorkerRequest, type PagesInsertWorkerRequest, type PagesListWorkerRequest, type PagesMoveWorkerRequest, type PagesRenderEncodedWorkerRequest, type PagesRenderWorkerRequest, type PagesRotateWorkerRequest, type PagesTextWorkerRequest, type ParsedCapability, type ParsedCollab, type ParsedScope, type ParsedVirtual, type ParsedWildcard, type PasswordPrompt, type PatchOfKind, type PdfActionNode, type PdfActionTargetRef, type PdfActionTree, type PdfActionType, type PdfActionWarning, type PdfAnnotationActions, PdfAnnotationSubtypeCode, type PdfBits, type PdfDestination, type PdfFieldActions, type PdfLinkTarget, type PdfLinkTargetWritable, type PdfOriginSize, type PdfPageActions, type PdfPermissionAdvisory, type PdfPermissionInfo, type PdfPoint, type PdfQuad, type PdfQuadCorners, type PdfRect, type PdfRectDifferences, type PdfRotation, type PdfSaveMode, type PdfSize, type PdfTextSegment, PermissionDenied, type PieceInfoApplicationsWorkerRequest, type PieceInfoClearWorkerRequest, type PieceInfoEntry, type PieceInfoPatch, type PieceInfoPatchValue, type PieceInfoReadWorkerRequest, type PieceInfoService, type PieceInfoSnapshot, type PieceInfoUpdateWorkerRequest, type Point, type PolygonAnnotationDTO, type PolygonDraft, type PolygonPatch, type PolylineAnnotationDTO, type PolylineDraft, type PolylinePatch, type PushButtonFieldDTO, type RadioFieldDTO, type RadioFieldDraft, type RadioFieldPatch, type Rect, type RedactAnnotationDTO, type RedactDraft, type RedactPatch, type RedactionApplyItemResult, type RedactionApplyResult, type RedactionApplyScope, type RedactionApplyStatus, type RedactionApplyWorkerRequest, type RefetchReason, type RenderEncode, type ResourceRef, type ReviewStatus, type RevisionToken, type RotatedGeometryGlyph, type RotatedGeometryRun, type Rotation, SEARCH_FOLD_VERSION, SEARCH_REGEX_MAX_LENGTH, SEARCH_SNIPPET_CONTEXT, type SearchMatch, type SearchMatchRange, type SearchMode, type SearchQuery, type SearchQueryIssue, type SearchQueryValidation, type SearchQueryWorkerRequest, type SearchRegexIssue, type SearchRegexValidation, type SearchRequest, type SearchSlice, type SearchSliceBudget, type SearchSnippet, type SerializedEngineError, type ShapeAnnotationFields, type ShapeDraftFields, type ShapePatchFields, type ShutdownWorkerRequest, type SignatureFieldDTO, type Size, type SquareAnnotationDTO, type SquareDraft, type SquarePatch, type SquigglyAnnotationDTO, type SquigglyDraft, type SquigglyPatch, type StampAnnotationDTO, type StampDraft, type StampFit, type StampPatch, type StampWireDraft, type StampWirePatch, type StandardFont, type StrikeoutAnnotationDTO, type StrikeoutDraft, type StrikeoutIntent, type StrikeoutPatch, type SubmitFormFlags, type SubmitFormPayload, type TextAlignment, type TextAnnotationDTO, type TextDraft, type TextFieldDTO, type TextFieldDraft, type TextFieldPatch, type TextLayoutFrame, type TextLayoutGlyph, type TextLayoutRun, type TextPatch, type ToggleFieldWidget, type TokenSource, UNKNOWN_WEAK_ANNOTATION_STATE, type UnderlineAnnotationDTO, type UnderlineDraft, type UnderlinePatch, type UnknownFieldDTO, type UnsupportedAnnotationDTO, type UnsupportedDraft, type UnsupportedPatch, type UprightGeometryRun, type VertexAnnotationFields, type VertexDraftFields, type VertexPatchFields, type WeakAnnotationEditSession, type WeakAnnotationState, type WidgetAnnotationDTO, type WidgetAppearance, type WidgetDraft, type WidgetPatch, type WidgetPlacement, type WidgetStyleDraftFields, type WidgetStyleFields, type WidgetStylePatchFields, type WireAnnotationDraft, type WireAnnotationPatch, type WireAttachmentFile, type WirePack, type WireResource, type WireResourceMap, type WorkerJobId, type WorkerLifecycleMessage, type WorkerRequest, type WorkerResponse, type WorkerResultPayload, advisoryFromPdfBits, appearanceImpactOf, boundaryTextOffset, buildCommentThreads, buildPageTextLayout, buildSnippet, buildThreads, canonicalSearchQuery, caps, changesAnnotationList, charBoundaryAtTextOffset, charMapViolation, charRangeForTextOffsets, checkAnyCapability, checkCapability, checkCollab, checkSetGroup, classifyRelation, collab, createPageImageHandle, decodeFieldRefKey, decodePdfBits, decodeStableIdKey, decodeSubmitFormFlags, deserializeError, encodeFieldRefKey, encodeStableIdKey, expandRawScope, expandTextRangeToLine, expandTextRangeToWord, expandedCapabilities, filterMatches, foldOptionsFor, foldText, glyphLooseBounds, glyphLooseQuad, invalidatesWeakIndexRefs, isAbortError, isRotatedGeometryRun, isStateAnnotation, isValidPageObjectNumber, knownWeakAnnotationState, matchLiteral, matchPageText, matchRegex, materializePdfPermissions, normalizeAnnotationDraft, normalizeAnnotationPatch, normalizeAttachmentFileSource, normalizePdfRect, parseScope, passwordPromptFromState, pdfPermissions, pdfQuadBounds, pdfQuadCorners, pdfQuadFromCorners, pdfRectFromOriginSize, pdfRectHeight, pdfRectSize, pdfRectToOriginSize, pdfRectWidth, permissionInfoFromProbe, permissionInfoWithAdvisory, refKey, resolveBinarySource, revisionTokensEqual, searchContentEpoch, searchRectsForRange, searchSegmentsForRange, securityStateFromHead, securityStateFromProbe, semanticEqual, serializeError, shiftsExistingAnnotationIndices, sliceTextByChars, snapAppearanceScale, snapFullPageViewport, snapTileScale, sniffBinaryMetadata, subtypeFromCode, textGlyphAt, textGlyphQuad, textSegmentsForRange, toOriginalRange, validateScopeArray, validateSearchQuery, validateSearchRegex, wirePack, wordAt, wordBefore };
1100
1100
  //# sourceMappingURL=runtime.d.ts.map
package/dist/runtime.js CHANGED
@@ -1,7 +1,7 @@
1
+ import { $ as createPageImageHandle, A as appearanceImpactOf, B as normalizeAnnotationDraft, C as validateSearchRegex, D as wordBefore, E as wordAt, F as buildCommentThreads, G as NO_ANNOTATION_FLAGS, H as normalizeAttachmentFileSource, I as isStateAnnotation, J as revisionTokensEqual, K as UNKNOWN_WEAK_ANNOTATION_STATE, L as buildThreads, M as changesAnnotationList, N as invalidatesWeakIndexRefs, O as decodeFieldRefKey, P as shiftsExistingAnnotationIndices, Q as DEFAULT_PDF_SAVE_MODE, R as classifyRelation, S as validateSearchQuery, T as matchLiteral, U as sniffBinaryMetadata, V as normalizeAnnotationPatch, W as resolveBinarySource, X as encodeStableIdKey, Y as decodeStableIdKey, Z as isValidPageObjectNumber, _ as SEARCH_SNIPPET_CONTEXT, a as PDF_BITS, b as SEARCH_REGEX_MAX_LENGTH, c as searchContentEpoch, d as buildPageTextLayout, et as decodeSubmitFormFlags, f as expandTextRangeToLine, g as textSegmentsForRange, h as textGlyphQuad, i as pdfPermissions, j as semanticEqual, k as encodeFieldRefKey, l as searchRectsForRange, m as textGlyphAt, n as collab, o as decodePdfBits, p as expandTextRangeToWord, q as knownWeakAnnotationState, r as materializePdfPermissions, s as canonicalSearchQuery, t as caps, u as searchSegmentsForRange, v as buildSnippet, w as foldOptionsFor, x as matchRegex, y as matchPageText, z as refKey } from "./builders-Cdz34nbF.js";
1
2
  import { _ as pdfRectSize, a as deserializeError, c as glyphLooseBounds, d as normalizePdfRect, f as pdfQuadBounds, g as pdfRectHeight, h as pdfRectFromOriginSize, i as EngineError, l as glyphLooseQuad, m as pdfQuadFromCorners, n as foldText, o as serializeError, p as pdfQuadCorners, r as toOriginalRange, s as _defineProperty, t as SEARCH_FOLD_VERSION, u as isRotatedGeometryRun, v as pdfRectToOriginSize, y as pdfRectWidth } from "./fold-BfyxxwS6.js";
2
3
  import { a as charRangeForTextOffsets, c as PDF_CODE_TO_SUBTYPE, d as subtypeFromCode, f as EngineErrorCode, i as charMapViolation, l as PDF_SUBTYPE_TO_CODE, n as boundaryTextOffset, o as sliceTextByChars, r as charBoundaryAtTextOffset, s as ANNOTATION_SUBTYPES, t as PAGE_INSERT_BLANK_MAX_COUNT, u as PdfAnnotationSubtypeCode } from "./PageInsertBlankInput-WKY0tr6S.js";
3
- import { $ as createPageImageHandle, A as appearanceImpactOf, B as normalizeAnnotationDraft, C as validateSearchRegex, D as wordBefore, E as wordAt, F as buildCommentThreads, G as NO_ANNOTATION_FLAGS, H as normalizeAttachmentFileSource, I as isStateAnnotation, J as revisionTokensEqual, K as UNKNOWN_WEAK_ANNOTATION_STATE, L as buildThreads, M as changesAnnotationList, N as invalidatesWeakIndexRefs, O as decodeFieldRefKey, P as shiftsExistingAnnotationIndices, Q as DEFAULT_PDF_SAVE_MODE, R as classifyRelation, S as validateSearchQuery, T as matchLiteral, U as sniffBinaryMetadata, V as normalizeAnnotationPatch, W as resolveBinarySource, X as encodeStableIdKey, Y as decodeStableIdKey, Z as isValidPageObjectNumber, _ as SEARCH_SNIPPET_CONTEXT, a as PDF_BITS, b as SEARCH_REGEX_MAX_LENGTH, c as searchContentEpoch, d as buildPageTextLayout, f as expandTextRangeToLine, g as textSegmentsForRange, h as textGlyphQuad, i as pdfPermissions, j as semanticEqual, k as encodeFieldRefKey, l as searchRectsForRange, m as textGlyphAt, n as collab, o as decodePdfBits, p as expandTextRangeToWord, q as knownWeakAnnotationState, r as materializePdfPermissions, s as canonicalSearchQuery, t as caps, u as searchSegmentsForRange, v as buildSnippet, w as foldOptionsFor, x as matchRegex, y as matchPageText, z as refKey } from "./builders-B_KufGJ9.js";
4
- import { a as expandRawScope, c as parseScope, d as MissingIdentity, f as PermissionDenied, i as checkSetGroup, l as validateScopeArray, n as checkCapability, o as expandedCapabilities, r as checkCollab, s as filterMatches, t as checkAnyCapability, u as InvalidScope } from "./resolver-DiPMTfcy.js";
4
+ import { a as expandRawScope, c as parseScope, d as MissingIdentity, f as PermissionDenied, i as checkSetGroup, l as validateScopeArray, n as checkCapability, o as expandedCapabilities, r as checkCollab, s as filterMatches, t as checkAnyCapability, u as InvalidScope } from "./resolver-CHG4waXL.js";
5
5
  import { n as isAbortError, t as AbortError } from "./AbortError-8-9JAX1Y.js";
6
6
  //#region src/promise/AbortablePromise.ts
7
7
  let _Symbol$species;
@@ -356,6 +356,6 @@ function wirePack(payload, transfer = EMPTY_TRANSFER) {
356
356
  };
357
357
  }
358
358
  //#endregion
359
- export { ANNOTATION_SUBTYPES, AbortError, AbortablePromise, CONTINUOUS_RENDER_POLICY, DEFAULT_PDF_SAVE_MODE, EMPTY_TRANSFER, EngineError, EngineErrorCode, InvalidScope, MissingIdentity, NO_ANNOTATION_FLAGS, PAGE_INSERT_BLANK_MAX_COUNT, PDF_BITS, PDF_CODE_TO_SUBTYPE, PDF_SUBTYPE_TO_CODE, PdfAnnotationSubtypeCode, PermissionDenied, SEARCH_FOLD_VERSION, SEARCH_REGEX_MAX_LENGTH, SEARCH_SNIPPET_CONTEXT, UNKNOWN_WEAK_ANNOTATION_STATE, advisoryFromPdfBits, appearanceImpactOf, boundaryTextOffset, buildCommentThreads, buildPageTextLayout, buildSnippet, buildThreads, canonicalSearchQuery, caps, changesAnnotationList, charBoundaryAtTextOffset, charMapViolation, charRangeForTextOffsets, checkAnyCapability, checkCapability, checkCollab, checkSetGroup, classifyRelation, collab, createPageImageHandle, decodeFieldRefKey, decodePdfBits, decodeStableIdKey, deserializeError, encodeFieldRefKey, encodeStableIdKey, expandRawScope, expandTextRangeToLine, expandTextRangeToWord, expandedCapabilities, filterMatches, foldOptionsFor, foldText, glyphLooseBounds, glyphLooseQuad, invalidatesWeakIndexRefs, isAbortError, isRotatedGeometryRun, isStateAnnotation, isValidPageObjectNumber, knownWeakAnnotationState, matchLiteral, matchPageText, matchRegex, materializePdfPermissions, normalizeAnnotationDraft, normalizeAnnotationPatch, normalizeAttachmentFileSource, normalizePdfRect, parseScope, passwordPromptFromState, pdfPermissions, pdfQuadBounds, pdfQuadCorners, pdfQuadFromCorners, pdfRectFromOriginSize, pdfRectHeight, pdfRectSize, pdfRectToOriginSize, pdfRectWidth, permissionInfoFromProbe, permissionInfoWithAdvisory, refKey, resolveBinarySource, revisionTokensEqual, searchContentEpoch, searchRectsForRange, searchSegmentsForRange, securityStateFromHead, securityStateFromProbe, semanticEqual, serializeError, shiftsExistingAnnotationIndices, sliceTextByChars, snapAppearanceScale, snapFullPageViewport, snapTileScale, sniffBinaryMetadata, subtypeFromCode, textGlyphAt, textGlyphQuad, textSegmentsForRange, toOriginalRange, validateScopeArray, validateSearchQuery, validateSearchRegex, wirePack, wordAt, wordBefore };
359
+ export { ANNOTATION_SUBTYPES, AbortError, AbortablePromise, CONTINUOUS_RENDER_POLICY, DEFAULT_PDF_SAVE_MODE, EMPTY_TRANSFER, EngineError, EngineErrorCode, InvalidScope, MissingIdentity, NO_ANNOTATION_FLAGS, PAGE_INSERT_BLANK_MAX_COUNT, PDF_BITS, PDF_CODE_TO_SUBTYPE, PDF_SUBTYPE_TO_CODE, PdfAnnotationSubtypeCode, PermissionDenied, SEARCH_FOLD_VERSION, SEARCH_REGEX_MAX_LENGTH, SEARCH_SNIPPET_CONTEXT, UNKNOWN_WEAK_ANNOTATION_STATE, advisoryFromPdfBits, appearanceImpactOf, boundaryTextOffset, buildCommentThreads, buildPageTextLayout, buildSnippet, buildThreads, canonicalSearchQuery, caps, changesAnnotationList, charBoundaryAtTextOffset, charMapViolation, charRangeForTextOffsets, checkAnyCapability, checkCapability, checkCollab, checkSetGroup, classifyRelation, collab, createPageImageHandle, decodeFieldRefKey, decodePdfBits, decodeStableIdKey, decodeSubmitFormFlags, deserializeError, encodeFieldRefKey, encodeStableIdKey, expandRawScope, expandTextRangeToLine, expandTextRangeToWord, expandedCapabilities, filterMatches, foldOptionsFor, foldText, glyphLooseBounds, glyphLooseQuad, invalidatesWeakIndexRefs, isAbortError, isRotatedGeometryRun, isStateAnnotation, isValidPageObjectNumber, knownWeakAnnotationState, matchLiteral, matchPageText, matchRegex, materializePdfPermissions, normalizeAnnotationDraft, normalizeAnnotationPatch, normalizeAttachmentFileSource, normalizePdfRect, parseScope, passwordPromptFromState, pdfPermissions, pdfQuadBounds, pdfQuadCorners, pdfQuadFromCorners, pdfRectFromOriginSize, pdfRectHeight, pdfRectSize, pdfRectToOriginSize, pdfRectWidth, permissionInfoFromProbe, permissionInfoWithAdvisory, refKey, resolveBinarySource, revisionTokensEqual, searchContentEpoch, searchRectsForRange, searchSegmentsForRange, securityStateFromHead, securityStateFromProbe, semanticEqual, serializeError, shiftsExistingAnnotationIndices, sliceTextByChars, snapAppearanceScale, snapFullPageViewport, snapTileScale, sniffBinaryMetadata, subtypeFromCode, textGlyphAt, textGlyphQuad, textSegmentsForRange, toOriginalRange, validateScopeArray, validateSearchQuery, validateSearchRegex, wirePack, wordAt, wordBefore };
360
360
 
361
361
  //# sourceMappingURL=runtime.js.map
@@ -44,34 +44,139 @@ const PdfRotationSchema = zod.z.union([
44
44
  zod.z.literal(270)
45
45
  ]);
46
46
  //#endregion
47
- //#region src/dto/PdfAction.schema.ts
48
- const PdfActionTypeSchema = zod.z.enum([
49
- "unknown",
50
- "goto",
51
- "goto-remote",
52
- "goto-embedded",
53
- "launch",
54
- "thread",
55
- "uri",
56
- "sound",
57
- "movie",
58
- "hide",
59
- "named",
60
- "submit-form",
61
- "reset-form",
62
- "import-data",
63
- "javascript",
64
- "set-ocg-state",
65
- "rendition",
66
- "transition",
67
- "goto-3d-view"
47
+ //#region src/dto/PdfDestination.schema.ts
48
+ const pageObjectNumber = zod.z.number().int().positive();
49
+ /** Spec-nullable axis value: absent and `null` both mean "retain current". */
50
+ const axis = zod.z.number().nullable().optional();
51
+ /**
52
+ * Runtime schema for {@link PdfDestination}. Lives beside its DTO in `dto/`
53
+ * so every destination-shaped surface (link targets, action-node payloads,
54
+ * the document `openDestination`) shares one schema without an import cycle
55
+ * through the annotation tree.
56
+ */
57
+ const PdfDestinationSchema = zod.z.discriminatedUnion("kind", [
58
+ zod.z.object({
59
+ kind: zod.z.literal("xyz"),
60
+ pageObjectNumber,
61
+ left: axis,
62
+ top: axis,
63
+ zoom: axis
64
+ }),
65
+ zod.z.object({
66
+ kind: zod.z.literal("fit"),
67
+ pageObjectNumber
68
+ }),
69
+ zod.z.object({
70
+ kind: zod.z.literal("fitH"),
71
+ pageObjectNumber,
72
+ top: axis
73
+ }),
74
+ zod.z.object({
75
+ kind: zod.z.literal("fitV"),
76
+ pageObjectNumber,
77
+ left: axis
78
+ }),
79
+ zod.z.object({
80
+ kind: zod.z.literal("fitR"),
81
+ pageObjectNumber,
82
+ left: zod.z.number(),
83
+ bottom: zod.z.number(),
84
+ right: zod.z.number(),
85
+ top: zod.z.number()
86
+ }),
87
+ zod.z.object({
88
+ kind: zod.z.literal("fitB"),
89
+ pageObjectNumber
90
+ }),
91
+ zod.z.object({
92
+ kind: zod.z.literal("fitBH"),
93
+ pageObjectNumber,
94
+ top: axis
95
+ }),
96
+ zod.z.object({
97
+ kind: zod.z.literal("fitBV"),
98
+ pageObjectNumber,
99
+ left: axis
100
+ })
68
101
  ]);
69
- const PdfActionNodeSchema = zod.z.lazy(() => zod.z.object({
70
- type: PdfActionTypeSchema,
102
+ //#endregion
103
+ //#region src/dto/PdfAction.schema.ts
104
+ const PdfActionTargetRefSchema = zod.z.discriminatedUnion("kind", [zod.z.object({
105
+ kind: zod.z.literal("name"),
106
+ name: zod.z.string()
107
+ }), zod.z.object({
108
+ kind: zod.z.literal("objectNumber"),
109
+ objectNumber: zod.z.number().int().positive()
110
+ })]);
111
+ /** Fields every node arm repeats — zod 3's discriminatedUnion needs plain
112
+ * object options, so the recursion (`next`) lives inline per arm and the
113
+ * whole union sits behind one `z.lazy`. */
114
+ const nodeCommon = {
71
115
  subtype: zod.z.string(),
72
- script: zod.z.string().optional(),
73
- next: zod.z.array(PdfActionNodeSchema)
74
- }));
116
+ next: zod.z.array(zod.z.lazy(() => PdfActionNodeSchema))
117
+ };
118
+ const arm = (type, shape = {}) => zod.z.object({
119
+ type: zod.z.literal(type),
120
+ ...nodeCommon,
121
+ ...shape
122
+ });
123
+ const SubmitFormFlagsSchema = zod.z.object({
124
+ raw: zod.z.number().int().nonnegative(),
125
+ exclude: zod.z.boolean(),
126
+ includeNoValueFields: zod.z.boolean(),
127
+ format: zod.z.enum([
128
+ "fdf",
129
+ "html",
130
+ "xfdf",
131
+ "pdf"
132
+ ]),
133
+ method: zod.z.enum(["post", "get"]),
134
+ submitCoordinates: zod.z.boolean(),
135
+ includeAppendSaves: zod.z.boolean(),
136
+ includeAnnotations: zod.z.boolean(),
137
+ canonicalFormat: zod.z.boolean(),
138
+ exclNonUserAnnots: zod.z.boolean(),
139
+ exclFKey: zod.z.boolean(),
140
+ embedForm: zod.z.boolean()
141
+ });
142
+ const PDF_ACTION_NODE_ARMS = [
143
+ arm("javascript", { script: zod.z.string() }),
144
+ arm("goto", { destination: PdfDestinationSchema }),
145
+ arm("uri", {
146
+ uri: zod.z.string(),
147
+ isMap: zod.z.boolean()
148
+ }),
149
+ arm("named", { name: zod.z.string() }),
150
+ arm("hide", {
151
+ targets: zod.z.array(PdfActionTargetRefSchema),
152
+ hide: zod.z.boolean()
153
+ }),
154
+ arm("reset-form", {
155
+ fields: zod.z.array(PdfActionTargetRefSchema).nullable(),
156
+ exclude: zod.z.boolean()
157
+ }),
158
+ arm("goto-remote", { filePath: zod.z.string() }),
159
+ arm("goto-embedded", { filePath: zod.z.string() }),
160
+ arm("launch", { filePath: zod.z.string() }),
161
+ arm("rendition", { script: zod.z.string().optional() }),
162
+ arm("submit-form", { payload: zod.z.object({
163
+ url: zod.z.string(),
164
+ fields: zod.z.array(PdfActionTargetRefSchema).nullable(),
165
+ flags: SubmitFormFlagsSchema,
166
+ charSet: zod.z.string().optional()
167
+ }).optional() }),
168
+ arm("thread"),
169
+ arm("sound"),
170
+ arm("movie"),
171
+ arm("import-data"),
172
+ arm("set-ocg-state"),
173
+ arm("transition"),
174
+ arm("goto-3d-view"),
175
+ arm("unknown")
176
+ ];
177
+ const PdfActionNodeSchema = zod.z.lazy(() => zod.z.discriminatedUnion("type", [...PDF_ACTION_NODE_ARMS]));
178
+ /** The `/S` vocabulary, derived from the union arms so it cannot drift. */
179
+ const PdfActionTypeSchema = zod.z.enum(PDF_ACTION_NODE_ARMS.map((option) => option.shape.type.value));
75
180
  const PdfActionTreeSchema = zod.z.object({
76
181
  root: PdfActionNodeSchema.nullable(),
77
182
  incomplete: zod.z.boolean(),
@@ -79,7 +184,8 @@ const PdfActionTreeSchema = zod.z.object({
79
184
  warnings: zod.z.array(zod.z.enum([
80
185
  "cycle-dropped",
81
186
  "malformed-next",
82
- "incomplete"
187
+ "incomplete",
188
+ "payload-dropped"
83
189
  ]))
84
190
  });
85
191
  const PdfFieldActionsSchema = zod.z.object({
@@ -111,12 +217,34 @@ const DocumentActionsSnapshotSchema = zod.z.object({
111
217
  action: PdfActionTreeSchema
112
218
  })),
113
219
  openAction: PdfActionTreeSchema.nullable(),
220
+ openDestination: PdfDestinationSchema.nullable().default(null),
114
221
  willClose: PdfActionTreeSchema.optional(),
115
222
  willSave: PdfActionTreeSchema.optional(),
116
223
  didSave: PdfActionTreeSchema.optional(),
117
224
  willPrint: PdfActionTreeSchema.optional(),
118
225
  didPrint: PdfActionTreeSchema.optional()
226
+ }).superRefine((snapshot, context) => {
227
+ if (snapshot.openAction !== null && (snapshot.openDestination ?? null) !== null) context.addIssue({
228
+ code: zod.z.ZodIssueCode.custom,
229
+ message: "openAction and openDestination are mutually exclusive",
230
+ path: ["openDestination"]
231
+ });
119
232
  });
233
+ /**
234
+ * Stable public component names for generators that project the action wire
235
+ * model into OpenAPI or another schema format. Keep reusable boundaries here;
236
+ * individual action arms remain owned by `PdfActionNodeSchema`.
237
+ */
238
+ const PdfActionWireComponents = {
239
+ PdfActionTargetRef: PdfActionTargetRefSchema,
240
+ PdfDestination: PdfDestinationSchema,
241
+ PdfActionNode: PdfActionNodeSchema,
242
+ PdfActionTree: PdfActionTreeSchema,
243
+ PdfFieldActions: PdfFieldActionsSchema,
244
+ PdfPageActions: PdfPageActionsSchema,
245
+ PdfAnnotationActions: PdfAnnotationActionsSchema,
246
+ DocumentActionsSnapshot: DocumentActionsSnapshotSchema
247
+ };
120
248
  //#endregion
121
249
  //#region src/annotation/base.schema.ts
122
250
  /** @deprecated Use `PdfPointSchema` from `../geometry/schemas`. */
@@ -725,58 +853,6 @@ const LineKind = {
725
853
  };
726
854
  //#endregion
727
855
  //#region src/annotation/kinds/link/schema.ts
728
- const pageObjectNumber = zod.z.number().int().positive();
729
- /** Spec-nullable axis value: absent and `null` both mean "retain current". */
730
- const axis = zod.z.number().nullable().optional();
731
- /**
732
- * Runtime schema for {@link PdfDestination}. Lives with the link kind (its
733
- * first wire consumer); the outline/bookmark port reuses it from here.
734
- */
735
- const PdfDestinationSchema = zod.z.discriminatedUnion("kind", [
736
- zod.z.object({
737
- kind: zod.z.literal("xyz"),
738
- pageObjectNumber,
739
- left: axis,
740
- top: axis,
741
- zoom: axis
742
- }),
743
- zod.z.object({
744
- kind: zod.z.literal("fit"),
745
- pageObjectNumber
746
- }),
747
- zod.z.object({
748
- kind: zod.z.literal("fitH"),
749
- pageObjectNumber,
750
- top: axis
751
- }),
752
- zod.z.object({
753
- kind: zod.z.literal("fitV"),
754
- pageObjectNumber,
755
- left: axis
756
- }),
757
- zod.z.object({
758
- kind: zod.z.literal("fitR"),
759
- pageObjectNumber,
760
- left: zod.z.number(),
761
- bottom: zod.z.number(),
762
- right: zod.z.number(),
763
- top: zod.z.number()
764
- }),
765
- zod.z.object({
766
- kind: zod.z.literal("fitB"),
767
- pageObjectNumber
768
- }),
769
- zod.z.object({
770
- kind: zod.z.literal("fitBH"),
771
- pageObjectNumber,
772
- top: axis
773
- }),
774
- zod.z.object({
775
- kind: zod.z.literal("fitBV"),
776
- pageObjectNumber,
777
- left: axis
778
- })
779
- ]);
780
856
  const GotoTargetSchema = zod.z.object({
781
857
  kind: zod.z.literal("goto"),
782
858
  destination: PdfDestinationSchema
@@ -3326,6 +3402,12 @@ Object.defineProperty(exports, "PdfActionNodeSchema", {
3326
3402
  return PdfActionNodeSchema;
3327
3403
  }
3328
3404
  });
3405
+ Object.defineProperty(exports, "PdfActionTargetRefSchema", {
3406
+ enumerable: true,
3407
+ get: function() {
3408
+ return PdfActionTargetRefSchema;
3409
+ }
3410
+ });
3329
3411
  Object.defineProperty(exports, "PdfActionTreeSchema", {
3330
3412
  enumerable: true,
3331
3413
  get: function() {
@@ -3338,6 +3420,12 @@ Object.defineProperty(exports, "PdfActionTypeSchema", {
3338
3420
  return PdfActionTypeSchema;
3339
3421
  }
3340
3422
  });
3423
+ Object.defineProperty(exports, "PdfActionWireComponents", {
3424
+ enumerable: true,
3425
+ get: function() {
3426
+ return PdfActionWireComponents;
3427
+ }
3428
+ });
3341
3429
  Object.defineProperty(exports, "PdfAnnotationActionsSchema", {
3342
3430
  enumerable: true,
3343
3431
  get: function() {
@@ -3711,4 +3799,4 @@ Object.defineProperty(exports, "WireAttachmentFileSchema", {
3711
3799
  }
3712
3800
  });
3713
3801
 
3714
- //# sourceMappingURL=schemas-D1pxEv3t.cjs.map
3802
+ //# sourceMappingURL=schemas-CS5iPpX5.cjs.map