@embedpdf/engine-core 3.0.0-next.4 → 3.0.0-next.6

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 (48) hide show
  1. package/dist/{AbortError-D0w0N4pJ.js → AbortError-BsHuCO1S.js} +2 -2
  2. package/dist/{AbortError-D0w0N4pJ.js.map → AbortError-BsHuCO1S.js.map} +1 -1
  3. package/dist/{AbortError-BFwCIKC6.cjs → AbortError-DmWeq9sx.cjs} +2 -2
  4. package/dist/{AbortError-BFwCIKC6.cjs.map → AbortError-DmWeq9sx.cjs.map} +1 -1
  5. package/dist/{AnnotationListSnapshot-_Z600IzD.d.ts → AnnotationListSnapshot-CHjkcIaL.d.cts} +132 -19
  6. package/dist/{AnnotationListSnapshot-_Z600IzD.d.cts → AnnotationListSnapshot-CHjkcIaL.d.ts} +132 -19
  7. package/dist/{DocumentSecurityService-CoHQf0Ju.d.cts → DocumentSecurityService-B1uv4FaK.d.cts} +2 -2
  8. package/dist/{DocumentSecurityService-BR4tesJK.d.ts → DocumentSecurityService-CrxGktMI.d.ts} +2 -2
  9. package/dist/{Engine-h_6P4pjM.d.ts → Engine-BE6r06QI.d.ts} +3 -3
  10. package/dist/{Engine-LHgbW5z-.d.cts → Engine-BOaRwtKa.d.cts} +3 -3
  11. package/dist/{builders-CBK8k_cn.cjs → builders-BsUc2A1U.cjs} +6 -6
  12. package/dist/{builders-CBK8k_cn.cjs.map → builders-BsUc2A1U.cjs.map} +1 -1
  13. package/dist/{builders-BWgXkLKd.js → builders-CF5gKkOa.js} +3 -3
  14. package/dist/{builders-BWgXkLKd.js.map → builders-CF5gKkOa.js.map} +1 -1
  15. package/dist/{subtype-DsxZbJtP.js → charmap-CUukAMhR.js} +132 -2
  16. package/dist/charmap-CUukAMhR.js.map +1 -0
  17. package/dist/{subtype-C4XA7C16.cjs → charmap-D6PLtRiC.cjs} +161 -1
  18. package/dist/charmap-D6PLtRiC.cjs.map +1 -0
  19. package/dist/conformance.cjs +338 -172
  20. package/dist/conformance.cjs.map +1 -1
  21. package/dist/conformance.d.cts +65 -3
  22. package/dist/conformance.d.ts +65 -3
  23. package/dist/conformance.js +295 -131
  24. package/dist/conformance.js.map +1 -1
  25. package/dist/{fold-M6iEyY8X.cjs → fold-BeT1GxLP.cjs} +4 -4
  26. package/dist/{fold-M6iEyY8X.cjs.map → fold-BeT1GxLP.cjs.map} +1 -1
  27. package/dist/{fold-D3_ZiKOg.js → fold-DemV94jf.js} +2 -2
  28. package/dist/{fold-D3_ZiKOg.js.map → fold-DemV94jf.js.map} +1 -1
  29. package/dist/index.cjs +14 -9
  30. package/dist/index.d.cts +2 -2
  31. package/dist/index.d.ts +2 -2
  32. package/dist/index.js +4 -4
  33. package/dist/runtime.cjs +19 -14
  34. package/dist/runtime.d.cts +4 -4
  35. package/dist/runtime.d.ts +4 -4
  36. package/dist/runtime.js +5 -5
  37. package/dist/{schemas-CLByd6ze.cjs → schemas-CyWwm0Zf.cjs} +37 -28
  38. package/dist/schemas-CyWwm0Zf.cjs.map +1 -0
  39. package/dist/{schemas-C32v81cE.js → schemas-ES6-TkIl.js} +17 -8
  40. package/dist/{schemas-C32v81cE.js.map → schemas-ES6-TkIl.js.map} +1 -1
  41. package/dist/wire.cjs +1 -1
  42. package/dist/wire.d.cts +8 -7
  43. package/dist/wire.d.ts +8 -7
  44. package/dist/wire.js +1 -1
  45. package/package.json +1 -1
  46. package/dist/schemas-CLByd6ze.cjs.map +0 -1
  47. package/dist/subtype-C4XA7C16.cjs.map +0 -1
  48. package/dist/subtype-DsxZbJtP.js.map +0 -1
package/dist/runtime.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_fold = require("./fold-M6iEyY8X.cjs");
3
- const require_subtype = require("./subtype-C4XA7C16.cjs");
4
- const require_builders = require("./builders-CBK8k_cn.cjs");
2
+ const require_fold = require("./fold-BeT1GxLP.cjs");
3
+ const require_charmap = require("./charmap-D6PLtRiC.cjs");
4
+ const require_builders = require("./builders-BsUc2A1U.cjs");
5
5
  const require_resolver = require("./resolver-DAZWVoJL.cjs");
6
- const require_AbortError = require("./AbortError-BFwCIKC6.cjs");
6
+ const require_AbortError = require("./AbortError-DmWeq9sx.cjs");
7
7
  //#region src/promise/AbortablePromise.ts
8
8
  let _Symbol$species;
9
9
  _Symbol$species = Symbol.species;
@@ -231,13 +231,13 @@ const CONTINUOUS_RENDER_POLICY = { kind: "continuous" };
231
231
  */
232
232
  function snapFullPageViewport(policy, viewport, opts) {
233
233
  if (policy.kind === "continuous") return viewport;
234
- if (policy.fullPage.widths.length === 0) throw new require_fold.EngineError(require_subtype.EngineErrorCode.InvalidArg, "render policy has an empty width ladder");
234
+ if (policy.fullPage.widths.length === 0) throw new require_fold.EngineError(require_charmap.EngineErrorCode.InvalidArg, "render policy has an empty width ladder");
235
235
  const widths = [...policy.fullPage.widths].sort((a, b) => a - b);
236
236
  let requested;
237
237
  if (viewport.kind === "width") requested = viewport.width;
238
238
  else {
239
239
  const pageWidth = opts?.pageWidth;
240
- if (pageWidth === void 0 || pageWidth <= 0) throw new require_fold.EngineError(require_subtype.EngineErrorCode.InvalidArg, "snapping a scale viewport to a width lattice requires opts.pageWidth");
240
+ if (pageWidth === void 0 || pageWidth <= 0) throw new require_fold.EngineError(require_charmap.EngineErrorCode.InvalidArg, "snapping a scale viewport to a width lattice requires opts.pageWidth");
241
241
  requested = (viewport.scale ?? 1) * pageWidth;
242
242
  }
243
243
  return {
@@ -255,7 +255,7 @@ function snapFullPageViewport(policy, viewport, opts) {
255
255
  */
256
256
  function snapAppearanceScale(policy, scale) {
257
257
  if (policy.kind === "continuous" || policy.appearances === void 0) return scale;
258
- if (policy.appearances.scales.length === 0) throw new require_fold.EngineError(require_subtype.EngineErrorCode.InvalidArg, "render policy has an empty appearance-scale lattice");
258
+ if (policy.appearances.scales.length === 0) throw new require_fold.EngineError(require_charmap.EngineErrorCode.InvalidArg, "render policy has an empty appearance-scale lattice");
259
259
  const scales = [...policy.appearances.scales].sort((a, b) => a - b);
260
260
  return scales.find((s) => s >= scale) ?? scales[scales.length - 1];
261
261
  }
@@ -271,7 +271,7 @@ function snapAppearanceScale(policy, scale) {
271
271
  */
272
272
  function snapTileScale(policy, scale) {
273
273
  if (policy.kind === "continuous" || policy.tiles === void 0) return scale;
274
- if (policy.tiles.scales.length === 0) throw new require_fold.EngineError(require_subtype.EngineErrorCode.InvalidArg, "render policy has an empty tile-scale lattice");
274
+ if (policy.tiles.scales.length === 0) throw new require_fold.EngineError(require_charmap.EngineErrorCode.InvalidArg, "render policy has an empty tile-scale lattice");
275
275
  const scales = [...policy.tiles.scales].sort((a, b) => a - b);
276
276
  return scales.find((s) => s >= scale) ?? scales[scales.length - 1];
277
277
  }
@@ -357,21 +357,21 @@ function wirePack(payload, transfer = EMPTY_TRANSFER) {
357
357
  };
358
358
  }
359
359
  //#endregion
360
- exports.ANNOTATION_SUBTYPES = require_subtype.ANNOTATION_SUBTYPES;
360
+ exports.ANNOTATION_SUBTYPES = require_charmap.ANNOTATION_SUBTYPES;
361
361
  exports.AbortError = require_AbortError.AbortError;
362
362
  exports.AbortablePromise = AbortablePromise;
363
363
  exports.CONTINUOUS_RENDER_POLICY = CONTINUOUS_RENDER_POLICY;
364
364
  exports.DEFAULT_PDF_SAVE_MODE = require_builders.DEFAULT_PDF_SAVE_MODE;
365
365
  exports.EMPTY_TRANSFER = EMPTY_TRANSFER;
366
366
  exports.EngineError = require_fold.EngineError;
367
- exports.EngineErrorCode = require_subtype.EngineErrorCode;
367
+ exports.EngineErrorCode = require_charmap.EngineErrorCode;
368
368
  exports.InvalidScope = require_resolver.InvalidScope;
369
369
  exports.MissingIdentity = require_resolver.MissingIdentity;
370
370
  exports.NO_ANNOTATION_FLAGS = require_builders.NO_ANNOTATION_FLAGS;
371
371
  exports.PDF_BITS = require_builders.PDF_BITS;
372
- exports.PDF_CODE_TO_SUBTYPE = require_subtype.PDF_CODE_TO_SUBTYPE;
373
- exports.PDF_SUBTYPE_TO_CODE = require_subtype.PDF_SUBTYPE_TO_CODE;
374
- exports.PdfAnnotationSubtypeCode = require_subtype.PdfAnnotationSubtypeCode;
372
+ exports.PDF_CODE_TO_SUBTYPE = require_charmap.PDF_CODE_TO_SUBTYPE;
373
+ exports.PDF_SUBTYPE_TO_CODE = require_charmap.PDF_SUBTYPE_TO_CODE;
374
+ exports.PdfAnnotationSubtypeCode = require_charmap.PdfAnnotationSubtypeCode;
375
375
  exports.PermissionDenied = require_resolver.PermissionDenied;
376
376
  exports.SEARCH_FOLD_VERSION = require_fold.SEARCH_FOLD_VERSION;
377
377
  exports.SEARCH_REGEX_MAX_LENGTH = require_builders.SEARCH_REGEX_MAX_LENGTH;
@@ -379,12 +379,16 @@ exports.SEARCH_SNIPPET_CONTEXT = require_builders.SEARCH_SNIPPET_CONTEXT;
379
379
  exports.UNKNOWN_WEAK_ANNOTATION_STATE = require_builders.UNKNOWN_WEAK_ANNOTATION_STATE;
380
380
  exports.advisoryFromPdfBits = advisoryFromPdfBits;
381
381
  exports.appearanceImpactOf = require_builders.appearanceImpactOf;
382
+ exports.boundaryTextOffset = require_charmap.boundaryTextOffset;
382
383
  exports.buildPageTextLayout = require_builders.buildPageTextLayout;
383
384
  exports.buildSnippet = require_builders.buildSnippet;
384
385
  exports.buildThreads = require_builders.buildThreads;
385
386
  exports.canonicalSearchQuery = require_builders.canonicalSearchQuery;
386
387
  exports.caps = require_builders.caps;
387
388
  exports.changesAnnotationList = require_builders.changesAnnotationList;
389
+ exports.charBoundaryAtTextOffset = require_charmap.charBoundaryAtTextOffset;
390
+ exports.charMapViolation = require_charmap.charMapViolation;
391
+ exports.charRangeForTextOffsets = require_charmap.charRangeForTextOffsets;
388
392
  exports.checkAnyCapability = require_resolver.checkAnyCapability;
389
393
  exports.checkCapability = require_resolver.checkCapability;
390
394
  exports.checkCollab = require_resolver.checkCollab;
@@ -444,11 +448,12 @@ exports.securityStateFromProbe = securityStateFromProbe;
444
448
  exports.semanticEqual = require_builders.semanticEqual;
445
449
  exports.serializeError = require_fold.serializeError;
446
450
  exports.shiftsExistingAnnotationIndices = require_builders.shiftsExistingAnnotationIndices;
451
+ exports.sliceTextByChars = require_charmap.sliceTextByChars;
447
452
  exports.snapAppearanceScale = snapAppearanceScale;
448
453
  exports.snapFullPageViewport = snapFullPageViewport;
449
454
  exports.snapTileScale = snapTileScale;
450
455
  exports.sniffBinaryMetadata = require_builders.sniffBinaryMetadata;
451
- exports.subtypeFromCode = require_subtype.subtypeFromCode;
456
+ exports.subtypeFromCode = require_charmap.subtypeFromCode;
452
457
  exports.textGlyphAt = require_builders.textGlyphAt;
453
458
  exports.textGlyphQuad = require_builders.textGlyphQuad;
454
459
  exports.textSegmentsForRange = require_builders.textSegmentsForRange;
@@ -1,6 +1,6 @@
1
- import { $a as ResourceRef, $c as PdfActionNode, $i as invalidatesWeakIndexRefs, $n as searchRectsForRange, $o as PageRenderQuery, $r as FormDataFormat, $s as parseScope, Aa as ColorStyleFields, Ac as LineEnding, Ai as ListBoxFieldDTO, An as HighlightDraft, Ao as AnnotationAppearanceManifest, Ar as PdfTextSegment, As as OpenInputById, At as LineDraft, B as StampAnnotationDTO, Ba as AttachmentFileInfo, Bc as TextAlignment, Bi as decodeFieldRefKey, Bn as PageFlattenStatus, Bo as knownWeakAnnotationState, Br as FormDataExport, Bs as materializePdfPermissions, Bt as PolygonPatch, C as RedactDraft, Ca as AttachmentsCache, Cc as AnnotationReplyType, Ci as ComboBoxFieldDTO, Cn as UnderlineAnnotationDTO, Co as FontSpec, Cr as SearchMode, Cs as pdfRectWidth, Ct as LinkAnnotationDTO, Da as FileAttachmentWireDraft, Dc as FreeTextFont, Di as FormFieldFlags, Do as AnnotationAppearanceImage, Dr as SearchSliceBudget, Ds as PageRotation, E as WidgetDraft, Ea as FileAttachmentIcon, Ec as Color, Ei as FormFieldFamily, Eo as CachePins, Er as SearchSlice, Es as PageLayout, Fa as GeometryStyleDraftFields, Fc as Rect, Fi as ToggleFieldWidget, Fn as RedactionApplyScope, Fo as AnnotationAppearancesQuery, Fr as expandTextRangeToLine, Fs as OpenInputToken, Ft as PolylineAnnotationDTO, Ga as NormalizedPatch, Gc as PdfPoint, Gi as AnnotationUpdateResult, Gn as PageRotateResult, Go as PageImageResult, Gr as FormRepairResult, Gs as checkCollab, Gt as VertexPatchFields, H as StampFit, Ha as EmbeddedFileItem, Hc as InkList, Hi as AnnotationCreateResult, Hn as PageInsertResult, Ho as PageImageHandle, Hr as FormFieldDeleteResult, Hs as CollabTarget, Ht as PolygonDraft, Ia as GeometryStyleFields, Ic as Rotation, Ii as UnknownFieldDTO, In as RedactionApplyStatus, Io as AnnotationAppearancesResult, Ir as expandTextRangeToWord, Is as OpenOptions, It as PolylineDraft, J as TextPatch, Ja as BinaryMetadata, Jc as PdfRotation, Ji as AppearanceOutcome, Jn as PageMoveResult, Jo as PageRaster, Jr as FormEffect, Js as expandedCapabilities, Ka as normalizeAnnotationDraft, Kc as PdfQuad, Ki as AppearanceAction, Kn as PageRotateInput, Ko as PageImageSource, Kr as FormSetValueResult, Ks as checkSetGroup, La as GeometryStylePatchFields, Lc as Size, Li as FormValueEntry, Ln as PageFlattenInput, Lo as PageState, Lr as textGlyphAt, Ls as TokenSource, M as FileAttachmentPatch, Ma as FilledStyleDraftFields, Mc as NO_ANNOTATION_FLAGS, Mi as RadioFieldDTO, Mn as MetadataUpdateResult, Mo as AnnotationAppearanceMode, Mr as TextLayoutGlyph, Ms as OpenInputLayerBytes, N as FileAttachmentAnnotationDTO, Na as FilledStyleFields, Nc as PdfRectDifferences, Ni as SignatureFieldDTO, Nn as RedactionApplyItemResult, No as AnnotationAppearanceRaster, Nr as TextLayoutRun, Ns as OpenInputLayerSource, Oa as WireAttachmentFile, Oc as FreeTextIntent, Oi as FormFieldOption, On as HighlightPatch, Oo as AnnotationAppearanceImageOptions, Or as SearchSnippet, Os as MetadataPatch, Ot as LinePatch, Pa as FilledStylePatchFields, Pc as Point, Pi as TextFieldDTO, Pn as RedactionApplyResult, Po as AnnotationAppearanceRenderOptions, Pr as buildPageTextLayout, Ps as OpenInputShare, Pt as PolylinePatch, Qa as BinarySource, Qc as NamedJavaScriptAction, Qi as changesAnnotationList, Qn as searchContentEpoch, Qo as PageRenderOptions, Qr as FormFieldDisplay, Qs as PermissionDenied, R as StampPatch, Ra as AttachmentContent, Rc as StandardFont, Ri as FormFieldRef, Rn as PageFlattenItemResult, Ro as UNKNOWN_WEAK_ANNOTATION_STATE, Rr as textGlyphQuad, Rs as caps, S as RedactAnnotationDTO, Sa as AttachmentDeleteResult, Sc as AnnotationFlags, Si as CheckboxFieldDTO, Sn as UnderlinePatch, So as FontKey, Sr as SearchMatch, Ss as pdfRectToOriginSize, St as LinkPatch, T as WidgetAnnotationDTO, Ta as FileAttachmentDraft, Tc as CaretIntent, Ti as FormFieldDTO, To as PdfSaveMode, Tr as SearchRequest, Ts as PageBoxes, U as StampWireDraft, Ua as EmbeddedFileRef, Uc as InkStroke, Ui as AnnotationDeleteResult, Un as PageDeleteResult, Uo as PageImageObjectUrl, Ur as FormFieldUpdateResult, Us as checkAnyCapability, Ut as VertexAnnotationFields, V as StampDraft, Va as AttachmentFileSource, Vc as CalloutLine, Vi as encodeFieldRefKey, Vn as PageFlattenUsage, Vo as PageImageBlobSource, Vr as FormFieldCreateResult, Vs as pdfPermissions, Vt as PolygonAnnotationDTO, Wa as NormalizedDraft, Wc as LinePoints, Wi as AnnotationMoveResult, Wn as PageDeleteInput, Wo as PageImageOptions, Wr as FormImportResult, Ws as checkCapability, Wt as VertexDraftFields, X as NoteIcon, Xa as sniffBinaryMetadata, Xc as ActionReadBudget, Xi as semanticEqual, Xn as PageMoveInput, Xo as PageRenderEncodedFormat, Xr as FormEffectStatus, Xs as InvalidScope, Xt as SquareAnnotationDTO, Y as TextAnnotationDTO, Ya as BinaryMimeType, Yc as PdfSize, Yi as appearanceImpactOf, Yn as PageStructureCache, Yo as PageRenderBackground, Yr as FormEffectResult, Ys as filterMatches, Yt as SquarePatch, Z as TextDraft, Za as BinaryPayload, Zc as DocumentActionsSnapshot, Zi as AnnotationMutationKind, Zn as canonicalSearchQuery, Zo as PageRenderFormat, Zr as FormEffectsResult, Zs as MissingIdentity, Zt as SquareDraft, _a as AnnotationKindModule, _c as RevisionToken, _i as WidgetAppearance, _n as SquigglyAnnotationDTO, _o as SerializedEngineError, _r as FoldedText, _s as pdfQuadCorners, aa as PdfLinkTarget, ac as CollabEntity, ai as RadioFieldPatch, al as PdfPageActions, an as ShapeDraftFields, ao as PDF_CODE_TO_SUBTYPE, ar as SearchQueryIssue, as as PageGeometrySnapshot, b as UnsupportedAnnotationDTO, ba as PatchOfKind, bc as isValidPageObjectNumber, bi as WidgetStyleFields, bo as EngineErrorCode, br as foldText, bs as pdfRectHeight, c as AnnotationKind, ca as DocumentManifest, cc as IdentityClaims, ci as ComboBoxFieldDraft, co as subtypeFromCode, cr as SearchRegexValidation, cs as UprightGeometryRun, ct as FreeTextAnnotationDTO, d as AnnotationSubtypeOfKind, da as LayerScopes, dc as ParsedScope, di as ListBoxFieldDraft, dn as StrikeoutAnnotationDTO, do as AnnotationIdentityQuality, dr as validateSearchRegex, ds as isRotatedGeometryRun, ea as shiftsExistingAnnotationIndices, ec as validateScopeArray, ei as FormFieldValue, el as PdfActionTree, eo as WireResource, er as searchSegmentsForRange, es as PageRenderTarget, fa as AnnotationRelationKind, fc as ParsedVirtual, fi as RadioFieldDraft, fn as StrikeoutDraft, fo as AnnotationStableId, fr as foldOptionsFor, fs as PageTextSnapshot, ga as refKey, gc as AnnotationRef, gi as FormSnapshot, gn as SquigglyPatch, go as EngineErrorOptions, gr as FoldOptions, gs as pdfQuadBounds, ha as classifyRelation, hc as AnnotationDraftBase, hi as FormKind, ho as EngineError, hr as wordBefore, hs as normalizePdfRect, ht as InkDraft, i as AnnotationDTO, ia as MutationMeta, ic as CollabAction, ii as ListBoxFieldPatch, il as PdfFieldActions, in as ShapeAnnotationFields, io as AnnotationSubtype, ir as SEARCH_REGEX_MAX_LENGTH, is as PageGeometryRun, ja as ColorStylePatchFields, jc as LineEndings, ji as PushButtonFieldDTO, jn as MetadataCache, jo as AnnotationAppearanceManifestEntry, jr as TextLayoutFrame, js as OpenInputBytes, ka as ColorStyleDraftFields, kc as InkIntent, ki as FormFieldOrigin, kn as HighlightAnnotationDTO, ko as AnnotationAppearanceImagesResult, kr as PageTextLayout, ks as OpenInput, kt as LineAnnotationDTO, l as AnnotationPatch, la as ManifestPage, lc as ParsedCapability, li as FormFieldDraft, lo as AnnotationPatchBase, lr as matchRegex, ls as glyphLooseBounds, lt as FreeTextDraft, m as WireAnnotationPatch, ma as buildThreads, mc as PdfBits, mi as WidgetPlacement, mo as encodeStableIdKey, mr as wordAt, ms as PdfQuadCorners, mt as InkAnnotationDTO, n as AnnotationListSnapshotAllPages, na as RefetchReason, nc as decodePdfBits, ni as ComboBoxFieldPatch, nl as PdfActionWarning, nn as CircleAnnotationDTO, no as resolveBinarySource, nr as buildSnippet, ns as createPageImageHandle, nt as CaretAnnotationDTO, o as AnnotationDraft, oa as PdfLinkTargetWritable, oc as CollabFilter, oi as TextFieldPatch, ol as DocumentMetadata, on as ShapePatchFields, oo as PDF_SUBTYPE_TO_CODE, or as SearchQueryValidation, os as RotatedGeometryGlyph, p as WireAnnotationDraft, pa as AnnotationThread, pc as ParsedWildcard, pi as TextFieldDraft, po as decodeStableIdKey, pr as matchLiteral, ps as PdfOriginSize, pt as InkPatch, qa as normalizeAnnotationPatch, qc as PdfRect, qi as AppearanceImpact, qn as PageMoveCache, qo as PageNetworkRenderFormat, qr as FormWidgetLinkResult, qs as expandRawScope, ra as CacheDelta, rc as AnnotationActor, ri as FormFieldPatch, rl as PdfAnnotationActions, rn as CircleDraft, ro as ANNOTATION_SUBTYPES, rr as matchPageText, rs as PageGeometryGlyph, rt as CaretDraft, sa as PdfDestination, sc as DocCapability, si as CheckboxFieldDraft, sl as DocumentMetadataTrapped, so as PdfAnnotationSubtypeCode, sr as SearchRegexIssue, ss as RotatedGeometryRun, st as FreeTextPatch, t as AnnotationListPageSnapshot, ta as AnnotationListMutationMeta, tc as PDF_BITS, ti as CheckboxFieldPatch, tl as PdfActionType, tn as CirclePatch, to as WireResourceMap, tr as SEARCH_SNIPPET_CONTEXT, ts as PageRenderViewport, tt as CaretPatch, ua as LayerScopePlane, uc as ParsedCollab, ui as FormFieldOptionInput, un as StrikeoutPatch, uo as AnnotationBase, ur as validateSearchQuery, us as glyphLooseQuad, v as UnsupportedPatch, va as DTOOfKind, vc as revisionTokensEqual, vn as SquigglyDraft, vo as deserializeError, vr as SEARCH_FOLD_VERSION, vs as pdfQuadFromCorners, w as WidgetPatch, wa as normalizeAttachmentFileSource, wc as BlendMode, wi as FormFieldBase, wn as UnderlineDraft, wo as DEFAULT_PDF_SAVE_MODE, wr as SearchQuery, ws as PageListSnapshot, wt as LinkDraft, x as RedactPatch, xa as AttachmentCreateResult, xc as AnnotationBorderStyle, xi as WidgetStylePatchFields, xo as FontHandle, xr as toOriginalRange, xs as pdfRectSize, y as UnsupportedDraft, ya as DraftOfKind, yc as PageObjectNumber, yi as WidgetStyleDraftFields, yo as serializeError, yr as SearchMatchRange, ys as pdfRectFromOriginSize, z as StampWirePatch, za as AttachmentFileBase, zc as StrikeoutIntent, zi as FormWidgetRef, zn as PageFlattenResult, zo as WeakAnnotationState, zr as textSegmentsForRange, zs as collab } from "./AnnotationListSnapshot-_Z600IzD.cjs";
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-CoHQf0Ju.cjs";
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-LHgbW5z-.cjs";
1
+ import { $a as ResourceRef, $c as PdfQuad, $i as invalidatesWeakIndexRefs, $n as searchRectsForRange, $o as PageRenderQuery, $r as FormDataFormat, $s as checkSetGroup, Aa as ColorStyleFields, Ac as AnnotationReplyType, Ai as ListBoxFieldDTO, An as HighlightDraft, Ao as AnnotationAppearanceManifest, Ar as PdfTextSegment, As as pdfRectWidth, At as LineDraft, B as StampAnnotationDTO, Ba as AttachmentFileInfo, Bc as PdfRectDifferences, Bi as decodeFieldRefKey, Bn as PageFlattenStatus, Bo as knownWeakAnnotationState, Br as FormDataExport, Bs as OpenInputLayerSource, Bt as PolygonPatch, C as RedactDraft, Ca as AttachmentsCache, Cc as AnnotationRef, Ci as ComboBoxFieldDTO, Cn as UnderlineAnnotationDTO, Co as FontSpec, Cr as SearchMode, Cs as pdfQuadBounds, Ct as LinkAnnotationDTO, Da as FileAttachmentWireDraft, Dc as isValidPageObjectNumber, Di as FormFieldFlags, Do as AnnotationAppearanceImage, Dr as SearchSliceBudget, Ds as pdfRectHeight, E as WidgetDraft, Ea as FileAttachmentIcon, Ec as PageObjectNumber, Ei as FormFieldFamily, Eo as CachePins, Er as SearchSlice, Es as pdfRectFromOriginSize, Fa as GeometryStyleDraftFields, Fc as FreeTextIntent, Fi as ToggleFieldWidget, Fn as RedactionApplyScope, Fo as AnnotationAppearancesQuery, Fr as expandTextRangeToLine, Fs as MetadataPatch, Ft as PolylineAnnotationDTO, Ga as NormalizedPatch, Gc as StandardFont, Gi as AnnotationUpdateResult, Gn as PageRotateResult, Go as PageImageResult, Gr as FormRepairResult, Gs as caps, Gt as VertexPatchFields, H as StampFit, Ha as EmbeddedFileItem, Hc as Rect, Hi as AnnotationCreateResult, Hn as PageInsertResult, Ho as PageImageHandle, Hr as FormFieldDeleteResult, Hs as OpenInputToken, Ht as PolygonDraft, Ia as GeometryStyleFields, Ic as InkIntent, Ii as UnknownFieldDTO, In as RedactionApplyStatus, Io as AnnotationAppearancesResult, Ir as expandTextRangeToWord, Is as OpenInput, It as PolylineDraft, J as TextPatch, Ja as BinaryMetadata, Jc as CalloutLine, Ji as AppearanceOutcome, Jn as PageMoveResult, Jo as PageRaster, Jr as FormEffect, Js as pdfPermissions, Ka as normalizeAnnotationDraft, Kc as StrikeoutIntent, Ki as AppearanceAction, Kn as PageRotateInput, Ko as PageImageSource, Kr as FormSetValueResult, Ks as collab, La as GeometryStylePatchFields, Lc as LineEnding, Li as FormValueEntry, Ln as PageFlattenInput, Lo as PageState, Lr as textGlyphAt, Ls as OpenInputById, M as FileAttachmentPatch, Ma as FilledStyleDraftFields, Mc as CaretIntent, Mi as RadioFieldDTO, Mn as MetadataUpdateResult, Mo as AnnotationAppearanceMode, Mr as TextLayoutGlyph, Ms as PageBoxes, N as FileAttachmentAnnotationDTO, Na as FilledStyleFields, Nc as Color, Ni as SignatureFieldDTO, Nn as RedactionApplyItemResult, No as AnnotationAppearanceRaster, Nr as TextLayoutRun, Ns as PageLayout, Oa as WireAttachmentFile, Oc as AnnotationBorderStyle, Oi as FormFieldOption, On as HighlightPatch, Oo as AnnotationAppearanceImageOptions, Or as SearchSnippet, Os as pdfRectSize, Ot as LinePatch, Pa as FilledStylePatchFields, Pc as FreeTextFont, Pi as TextFieldDTO, Pn as RedactionApplyResult, Po as AnnotationAppearanceRenderOptions, Pr as buildPageTextLayout, Ps as PageRotation, Pt as PolylinePatch, Qa as BinarySource, Qc as PdfPoint, Qi as changesAnnotationList, Qn as searchContentEpoch, Qo as PageRenderOptions, Qr as FormFieldDisplay, Qs as checkCollab, R as StampPatch, Ra as AttachmentContent, Rc as LineEndings, Ri as FormFieldRef, Rn as PageFlattenItemResult, Ro as UNKNOWN_WEAK_ANNOTATION_STATE, Rr as textGlyphQuad, Rs as OpenInputBytes, S as RedactAnnotationDTO, Sa as AttachmentDeleteResult, Sc as AnnotationDraftBase, Si as CheckboxFieldDTO, Sn as UnderlinePatch, So as FontKey, Sr as SearchMatch, Ss as normalizePdfRect, St as LinkPatch, T as WidgetAnnotationDTO, Ta as FileAttachmentDraft, Tc as revisionTokensEqual, Ti as FormFieldDTO, To as PdfSaveMode, Tr as SearchRequest, Ts as pdfQuadFromCorners, U as StampWireDraft, Ua as EmbeddedFileRef, Uc as Rotation, Ui as AnnotationDeleteResult, Un as PageDeleteResult, Uo as PageImageObjectUrl, Ur as FormFieldUpdateResult, Us as OpenOptions, Ut as VertexAnnotationFields, V as StampDraft, Va as AttachmentFileSource, Vc as Point, Vi as encodeFieldRefKey, Vn as PageFlattenUsage, Vo as PageImageBlobSource, Vr as FormFieldCreateResult, Vs as OpenInputShare, Vt as PolygonAnnotationDTO, Wa as NormalizedDraft, Wc as Size, Wi as AnnotationMoveResult, Wn as PageDeleteInput, Wo as PageImageOptions, Wr as FormImportResult, Ws as TokenSource, Wt as VertexDraftFields, X as NoteIcon, Xa as sniffBinaryMetadata, Xc as InkStroke, Xi as semanticEqual, Xn as PageMoveInput, Xo as PageRenderEncodedFormat, Xr as FormEffectStatus, Xs as checkAnyCapability, Xt as SquareAnnotationDTO, Y as TextAnnotationDTO, Ya as BinaryMimeType, Yc as InkList, Yi as appearanceImpactOf, Yn as PageStructureCache, Yo as PageRenderBackground, Yr as FormEffectResult, Ys as CollabTarget, Yt as SquarePatch, Z as TextDraft, Za as BinaryPayload, Zc as LinePoints, Zi as AnnotationMutationKind, Zn as canonicalSearchQuery, Zo as PageRenderFormat, Zr as FormEffectsResult, Zs as checkCapability, Zt as SquareDraft, _a as AnnotationKindModule, _c as ParsedCollab, _i as WidgetAppearance, _n as SquigglyAnnotationDTO, _o as SerializedEngineError, _r as FoldedText, _s as charMapViolation, aa as PdfLinkTarget, ac as PermissionDenied, ai as RadioFieldPatch, al as NamedJavaScriptAction, an as ShapeDraftFields, ao as PDF_CODE_TO_SUBTYPE, ar as SearchQueryIssue, as as PageGeometrySnapshot, b as UnsupportedAnnotationDTO, ba as PatchOfKind, bc as ParsedWildcard, bi as WidgetStyleFields, bo as EngineErrorCode, br as foldText, bs as PdfOriginSize, c as AnnotationKind, ca as DocumentManifest, cc as PDF_BITS, ci as ComboBoxFieldDraft, cl as PdfActionType, co as subtypeFromCode, cr as SearchRegexValidation, cs as UprightGeometryRun, ct as FreeTextAnnotationDTO, d as AnnotationSubtypeOfKind, da as LayerScopes, dc as CollabAction, di as ListBoxFieldDraft, dl as PdfFieldActions, dn as StrikeoutAnnotationDTO, do as AnnotationIdentityQuality, dr as validateSearchRegex, ds as isRotatedGeometryRun, ea as shiftsExistingAnnotationIndices, ec as expandRawScope, ei as FormFieldValue, el as PdfRect, eo as WireResource, er as searchSegmentsForRange, es as PageRenderTarget, fa as AnnotationRelationKind, fc as CollabEntity, fi as RadioFieldDraft, fl as PdfPageActions, fn as StrikeoutDraft, fo as AnnotationStableId, fr as foldOptionsFor, fs as PageTextSnapshot, ga as refKey, gc as ParsedCapability, gi as FormSnapshot, gn as SquigglyPatch, go as EngineErrorOptions, gr as FoldOptions, gs as charBoundaryAtTextOffset, ha as classifyRelation, hc as IdentityClaims, hi as FormKind, ho as EngineError, hr as wordBefore, hs as boundaryTextOffset, ht as InkDraft, i as AnnotationDTO, ia as MutationMeta, ic as MissingIdentity, ii as ListBoxFieldPatch, il as DocumentActionsSnapshot, in as ShapeAnnotationFields, io as AnnotationSubtype, ir as SEARCH_REGEX_MAX_LENGTH, is as PageGeometryRun, ja as ColorStylePatchFields, jc as BlendMode, ji as PushButtonFieldDTO, jn as MetadataCache, jo as AnnotationAppearanceManifestEntry, jr as TextLayoutFrame, js as PageListSnapshot, ka as ColorStyleDraftFields, kc as AnnotationFlags, ki as FormFieldOrigin, kn as HighlightAnnotationDTO, ko as AnnotationAppearanceImagesResult, kr as PageTextLayout, ks as pdfRectToOriginSize, kt as LineAnnotationDTO, l as AnnotationPatch, la as ManifestPage, lc as decodePdfBits, li as FormFieldDraft, ll as PdfActionWarning, lo as AnnotationPatchBase, lr as matchRegex, ls as glyphLooseBounds, lt as FreeTextDraft, m as WireAnnotationPatch, ma as buildThreads, mc as DocCapability, mi as WidgetPlacement, ml as DocumentMetadataTrapped, mo as encodeStableIdKey, mr as wordAt, ms as CharMapAnchor, mt as InkAnnotationDTO, n as AnnotationListSnapshotAllPages, na as RefetchReason, nc as filterMatches, ni as ComboBoxFieldPatch, nl as PdfSize, nn as CircleAnnotationDTO, no as resolveBinarySource, nr as buildSnippet, ns as createPageImageHandle, nt as CaretAnnotationDTO, o as AnnotationDraft, oa as PdfLinkTargetWritable, oc as parseScope, oi as TextFieldPatch, ol as PdfActionNode, on as ShapePatchFields, oo as PDF_SUBTYPE_TO_CODE, or as SearchQueryValidation, os as RotatedGeometryGlyph, p as WireAnnotationDraft, pa as AnnotationThread, pc as CollabFilter, pi as TextFieldDraft, pl as DocumentMetadata, po as decodeStableIdKey, pr as matchLiteral, ps as CharBoundaryBias, pt as InkPatch, qa as normalizeAnnotationPatch, qc as TextAlignment, qi as AppearanceImpact, qn as PageMoveCache, qo as PageNetworkRenderFormat, qr as FormWidgetLinkResult, qs as materializePdfPermissions, ra as CacheDelta, rc as InvalidScope, ri as FormFieldPatch, rl as ActionReadBudget, rn as CircleDraft, ro as ANNOTATION_SUBTYPES, rr as matchPageText, rs as PageGeometryGlyph, rt as CaretDraft, sa as PdfDestination, sc as validateScopeArray, si as CheckboxFieldDraft, sl as PdfActionTree, so as PdfAnnotationSubtypeCode, sr as SearchRegexIssue, ss as RotatedGeometryRun, st as FreeTextPatch, t as AnnotationListPageSnapshot, ta as AnnotationListMutationMeta, tc as expandedCapabilities, ti as CheckboxFieldPatch, tl as PdfRotation, tn as CirclePatch, to as WireResourceMap, tr as SEARCH_SNIPPET_CONTEXT, ts as PageRenderViewport, tt as CaretPatch, ua as LayerScopePlane, uc as AnnotationActor, ui as FormFieldOptionInput, ul as PdfAnnotationActions, un as StrikeoutPatch, uo as AnnotationBase, ur as validateSearchQuery, us as glyphLooseQuad, v as UnsupportedPatch, va as DTOOfKind, vc as ParsedScope, vn as SquigglyDraft, vo as deserializeError, vr as SEARCH_FOLD_VERSION, vs as charRangeForTextOffsets, w as WidgetPatch, wa as normalizeAttachmentFileSource, wc as RevisionToken, wi as FormFieldBase, wn as UnderlineDraft, wo as DEFAULT_PDF_SAVE_MODE, wr as SearchQuery, ws as pdfQuadCorners, wt as LinkDraft, x as RedactPatch, xa as AttachmentCreateResult, xc as PdfBits, xi as WidgetStylePatchFields, xo as FontHandle, xr as toOriginalRange, xs as PdfQuadCorners, y as UnsupportedDraft, ya as DraftOfKind, yc as ParsedVirtual, yi as WidgetStyleDraftFields, yo as serializeError, yr as SearchMatchRange, ys as sliceTextByChars, z as StampWirePatch, za as AttachmentFileBase, zc as NO_ANNOTATION_FLAGS, zi as FormWidgetRef, zn as PageFlattenResult, zo as WeakAnnotationState, zr as textSegmentsForRange, zs as OpenInputLayerBytes } from "./AnnotationListSnapshot-CHjkcIaL.cjs";
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-B1uv4FaK.cjs";
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-BOaRwtKa.cjs";
4
4
  //#region src/promise/AbortError.d.ts
5
5
  declare class AbortError extends Error {
6
6
  readonly name = "AbortError";
@@ -998,5 +998,5 @@ declare const EMPTY_TRANSFER: readonly Transferable[];
998
998
  */
999
999
  declare function wirePack<P>(payload: P, transfer?: readonly Transferable[]): WirePack<P>;
1000
1000
  //#endregion
1001
- 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 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 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, CONTINUOUS_RENDER_POLICY, type CacheDelta, type CachePins, type CalloutLine, type CaretAnnotationDTO, type CaretDraft, type CaretIntent, type CaretPatch, type CdnAccessInfo, type CdnAdapter, 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, 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 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 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, 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 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 PagesInsertWorkerRequest, type PagesListWorkerRequest, type PagesMoveWorkerRequest, 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 ResourceRef, 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, buildPageTextLayout, buildSnippet, buildThreads, canonicalSearchQuery, caps, changesAnnotationList, 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, 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, snapAppearanceScale, snapFullPageViewport, snapTileScale, sniffBinaryMetadata, subtypeFromCode, textGlyphAt, textGlyphQuad, textSegmentsForRange, toOriginalRange, validateScopeArray, validateSearchQuery, validateSearchRegex, wirePack, wordAt, wordBefore };
1001
+ 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 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 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, 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, 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 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 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, 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 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 PagesInsertWorkerRequest, type PagesListWorkerRequest, type PagesMoveWorkerRequest, 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 ResourceRef, 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, 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, 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 };
1002
1002
  //# sourceMappingURL=runtime.d.cts.map
package/dist/runtime.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { $a as ResourceRef, $c as PdfActionNode, $i as invalidatesWeakIndexRefs, $n as searchRectsForRange, $o as PageRenderQuery, $r as FormDataFormat, $s as parseScope, Aa as ColorStyleFields, Ac as LineEnding, Ai as ListBoxFieldDTO, An as HighlightDraft, Ao as AnnotationAppearanceManifest, Ar as PdfTextSegment, As as OpenInputById, At as LineDraft, B as StampAnnotationDTO, Ba as AttachmentFileInfo, Bc as TextAlignment, Bi as decodeFieldRefKey, Bn as PageFlattenStatus, Bo as knownWeakAnnotationState, Br as FormDataExport, Bs as materializePdfPermissions, Bt as PolygonPatch, C as RedactDraft, Ca as AttachmentsCache, Cc as AnnotationReplyType, Ci as ComboBoxFieldDTO, Cn as UnderlineAnnotationDTO, Co as FontSpec, Cr as SearchMode, Cs as pdfRectWidth, Ct as LinkAnnotationDTO, Da as FileAttachmentWireDraft, Dc as FreeTextFont, Di as FormFieldFlags, Do as AnnotationAppearanceImage, Dr as SearchSliceBudget, Ds as PageRotation, E as WidgetDraft, Ea as FileAttachmentIcon, Ec as Color, Ei as FormFieldFamily, Eo as CachePins, Er as SearchSlice, Es as PageLayout, Fa as GeometryStyleDraftFields, Fc as Rect, Fi as ToggleFieldWidget, Fn as RedactionApplyScope, Fo as AnnotationAppearancesQuery, Fr as expandTextRangeToLine, Fs as OpenInputToken, Ft as PolylineAnnotationDTO, Ga as NormalizedPatch, Gc as PdfPoint, Gi as AnnotationUpdateResult, Gn as PageRotateResult, Go as PageImageResult, Gr as FormRepairResult, Gs as checkCollab, Gt as VertexPatchFields, H as StampFit, Ha as EmbeddedFileItem, Hc as InkList, Hi as AnnotationCreateResult, Hn as PageInsertResult, Ho as PageImageHandle, Hr as FormFieldDeleteResult, Hs as CollabTarget, Ht as PolygonDraft, Ia as GeometryStyleFields, Ic as Rotation, Ii as UnknownFieldDTO, In as RedactionApplyStatus, Io as AnnotationAppearancesResult, Ir as expandTextRangeToWord, Is as OpenOptions, It as PolylineDraft, J as TextPatch, Ja as BinaryMetadata, Jc as PdfRotation, Ji as AppearanceOutcome, Jn as PageMoveResult, Jo as PageRaster, Jr as FormEffect, Js as expandedCapabilities, Ka as normalizeAnnotationDraft, Kc as PdfQuad, Ki as AppearanceAction, Kn as PageRotateInput, Ko as PageImageSource, Kr as FormSetValueResult, Ks as checkSetGroup, La as GeometryStylePatchFields, Lc as Size, Li as FormValueEntry, Ln as PageFlattenInput, Lo as PageState, Lr as textGlyphAt, Ls as TokenSource, M as FileAttachmentPatch, Ma as FilledStyleDraftFields, Mc as NO_ANNOTATION_FLAGS, Mi as RadioFieldDTO, Mn as MetadataUpdateResult, Mo as AnnotationAppearanceMode, Mr as TextLayoutGlyph, Ms as OpenInputLayerBytes, N as FileAttachmentAnnotationDTO, Na as FilledStyleFields, Nc as PdfRectDifferences, Ni as SignatureFieldDTO, Nn as RedactionApplyItemResult, No as AnnotationAppearanceRaster, Nr as TextLayoutRun, Ns as OpenInputLayerSource, Oa as WireAttachmentFile, Oc as FreeTextIntent, Oi as FormFieldOption, On as HighlightPatch, Oo as AnnotationAppearanceImageOptions, Or as SearchSnippet, Os as MetadataPatch, Ot as LinePatch, Pa as FilledStylePatchFields, Pc as Point, Pi as TextFieldDTO, Pn as RedactionApplyResult, Po as AnnotationAppearanceRenderOptions, Pr as buildPageTextLayout, Ps as OpenInputShare, Pt as PolylinePatch, Qa as BinarySource, Qc as NamedJavaScriptAction, Qi as changesAnnotationList, Qn as searchContentEpoch, Qo as PageRenderOptions, Qr as FormFieldDisplay, Qs as PermissionDenied, R as StampPatch, Ra as AttachmentContent, Rc as StandardFont, Ri as FormFieldRef, Rn as PageFlattenItemResult, Ro as UNKNOWN_WEAK_ANNOTATION_STATE, Rr as textGlyphQuad, Rs as caps, S as RedactAnnotationDTO, Sa as AttachmentDeleteResult, Sc as AnnotationFlags, Si as CheckboxFieldDTO, Sn as UnderlinePatch, So as FontKey, Sr as SearchMatch, Ss as pdfRectToOriginSize, St as LinkPatch, T as WidgetAnnotationDTO, Ta as FileAttachmentDraft, Tc as CaretIntent, Ti as FormFieldDTO, To as PdfSaveMode, Tr as SearchRequest, Ts as PageBoxes, U as StampWireDraft, Ua as EmbeddedFileRef, Uc as InkStroke, Ui as AnnotationDeleteResult, Un as PageDeleteResult, Uo as PageImageObjectUrl, Ur as FormFieldUpdateResult, Us as checkAnyCapability, Ut as VertexAnnotationFields, V as StampDraft, Va as AttachmentFileSource, Vc as CalloutLine, Vi as encodeFieldRefKey, Vn as PageFlattenUsage, Vo as PageImageBlobSource, Vr as FormFieldCreateResult, Vs as pdfPermissions, Vt as PolygonAnnotationDTO, Wa as NormalizedDraft, Wc as LinePoints, Wi as AnnotationMoveResult, Wn as PageDeleteInput, Wo as PageImageOptions, Wr as FormImportResult, Ws as checkCapability, Wt as VertexDraftFields, X as NoteIcon, Xa as sniffBinaryMetadata, Xc as ActionReadBudget, Xi as semanticEqual, Xn as PageMoveInput, Xo as PageRenderEncodedFormat, Xr as FormEffectStatus, Xs as InvalidScope, Xt as SquareAnnotationDTO, Y as TextAnnotationDTO, Ya as BinaryMimeType, Yc as PdfSize, Yi as appearanceImpactOf, Yn as PageStructureCache, Yo as PageRenderBackground, Yr as FormEffectResult, Ys as filterMatches, Yt as SquarePatch, Z as TextDraft, Za as BinaryPayload, Zc as DocumentActionsSnapshot, Zi as AnnotationMutationKind, Zn as canonicalSearchQuery, Zo as PageRenderFormat, Zr as FormEffectsResult, Zs as MissingIdentity, Zt as SquareDraft, _a as AnnotationKindModule, _c as RevisionToken, _i as WidgetAppearance, _n as SquigglyAnnotationDTO, _o as SerializedEngineError, _r as FoldedText, _s as pdfQuadCorners, aa as PdfLinkTarget, ac as CollabEntity, ai as RadioFieldPatch, al as PdfPageActions, an as ShapeDraftFields, ao as PDF_CODE_TO_SUBTYPE, ar as SearchQueryIssue, as as PageGeometrySnapshot, b as UnsupportedAnnotationDTO, ba as PatchOfKind, bc as isValidPageObjectNumber, bi as WidgetStyleFields, bo as EngineErrorCode, br as foldText, bs as pdfRectHeight, c as AnnotationKind, ca as DocumentManifest, cc as IdentityClaims, ci as ComboBoxFieldDraft, co as subtypeFromCode, cr as SearchRegexValidation, cs as UprightGeometryRun, ct as FreeTextAnnotationDTO, d as AnnotationSubtypeOfKind, da as LayerScopes, dc as ParsedScope, di as ListBoxFieldDraft, dn as StrikeoutAnnotationDTO, do as AnnotationIdentityQuality, dr as validateSearchRegex, ds as isRotatedGeometryRun, ea as shiftsExistingAnnotationIndices, ec as validateScopeArray, ei as FormFieldValue, el as PdfActionTree, eo as WireResource, er as searchSegmentsForRange, es as PageRenderTarget, fa as AnnotationRelationKind, fc as ParsedVirtual, fi as RadioFieldDraft, fn as StrikeoutDraft, fo as AnnotationStableId, fr as foldOptionsFor, fs as PageTextSnapshot, ga as refKey, gc as AnnotationRef, gi as FormSnapshot, gn as SquigglyPatch, go as EngineErrorOptions, gr as FoldOptions, gs as pdfQuadBounds, ha as classifyRelation, hc as AnnotationDraftBase, hi as FormKind, ho as EngineError, hr as wordBefore, hs as normalizePdfRect, ht as InkDraft, i as AnnotationDTO, ia as MutationMeta, ic as CollabAction, ii as ListBoxFieldPatch, il as PdfFieldActions, in as ShapeAnnotationFields, io as AnnotationSubtype, ir as SEARCH_REGEX_MAX_LENGTH, is as PageGeometryRun, ja as ColorStylePatchFields, jc as LineEndings, ji as PushButtonFieldDTO, jn as MetadataCache, jo as AnnotationAppearanceManifestEntry, jr as TextLayoutFrame, js as OpenInputBytes, ka as ColorStyleDraftFields, kc as InkIntent, ki as FormFieldOrigin, kn as HighlightAnnotationDTO, ko as AnnotationAppearanceImagesResult, kr as PageTextLayout, ks as OpenInput, kt as LineAnnotationDTO, l as AnnotationPatch, la as ManifestPage, lc as ParsedCapability, li as FormFieldDraft, lo as AnnotationPatchBase, lr as matchRegex, ls as glyphLooseBounds, lt as FreeTextDraft, m as WireAnnotationPatch, ma as buildThreads, mc as PdfBits, mi as WidgetPlacement, mo as encodeStableIdKey, mr as wordAt, ms as PdfQuadCorners, mt as InkAnnotationDTO, n as AnnotationListSnapshotAllPages, na as RefetchReason, nc as decodePdfBits, ni as ComboBoxFieldPatch, nl as PdfActionWarning, nn as CircleAnnotationDTO, no as resolveBinarySource, nr as buildSnippet, ns as createPageImageHandle, nt as CaretAnnotationDTO, o as AnnotationDraft, oa as PdfLinkTargetWritable, oc as CollabFilter, oi as TextFieldPatch, ol as DocumentMetadata, on as ShapePatchFields, oo as PDF_SUBTYPE_TO_CODE, or as SearchQueryValidation, os as RotatedGeometryGlyph, p as WireAnnotationDraft, pa as AnnotationThread, pc as ParsedWildcard, pi as TextFieldDraft, po as decodeStableIdKey, pr as matchLiteral, ps as PdfOriginSize, pt as InkPatch, qa as normalizeAnnotationPatch, qc as PdfRect, qi as AppearanceImpact, qn as PageMoveCache, qo as PageNetworkRenderFormat, qr as FormWidgetLinkResult, qs as expandRawScope, ra as CacheDelta, rc as AnnotationActor, ri as FormFieldPatch, rl as PdfAnnotationActions, rn as CircleDraft, ro as ANNOTATION_SUBTYPES, rr as matchPageText, rs as PageGeometryGlyph, rt as CaretDraft, sa as PdfDestination, sc as DocCapability, si as CheckboxFieldDraft, sl as DocumentMetadataTrapped, so as PdfAnnotationSubtypeCode, sr as SearchRegexIssue, ss as RotatedGeometryRun, st as FreeTextPatch, t as AnnotationListPageSnapshot, ta as AnnotationListMutationMeta, tc as PDF_BITS, ti as CheckboxFieldPatch, tl as PdfActionType, tn as CirclePatch, to as WireResourceMap, tr as SEARCH_SNIPPET_CONTEXT, ts as PageRenderViewport, tt as CaretPatch, ua as LayerScopePlane, uc as ParsedCollab, ui as FormFieldOptionInput, un as StrikeoutPatch, uo as AnnotationBase, ur as validateSearchQuery, us as glyphLooseQuad, v as UnsupportedPatch, va as DTOOfKind, vc as revisionTokensEqual, vn as SquigglyDraft, vo as deserializeError, vr as SEARCH_FOLD_VERSION, vs as pdfQuadFromCorners, w as WidgetPatch, wa as normalizeAttachmentFileSource, wc as BlendMode, wi as FormFieldBase, wn as UnderlineDraft, wo as DEFAULT_PDF_SAVE_MODE, wr as SearchQuery, ws as PageListSnapshot, wt as LinkDraft, x as RedactPatch, xa as AttachmentCreateResult, xc as AnnotationBorderStyle, xi as WidgetStylePatchFields, xo as FontHandle, xr as toOriginalRange, xs as pdfRectSize, y as UnsupportedDraft, ya as DraftOfKind, yc as PageObjectNumber, yi as WidgetStyleDraftFields, yo as serializeError, yr as SearchMatchRange, ys as pdfRectFromOriginSize, z as StampWirePatch, za as AttachmentFileBase, zc as StrikeoutIntent, zi as FormWidgetRef, zn as PageFlattenResult, zo as WeakAnnotationState, zr as textSegmentsForRange, zs as collab } from "./AnnotationListSnapshot-_Z600IzD.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-BR4tesJK.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-h_6P4pjM.js";
1
+ import { $a as ResourceRef, $c as PdfQuad, $i as invalidatesWeakIndexRefs, $n as searchRectsForRange, $o as PageRenderQuery, $r as FormDataFormat, $s as checkSetGroup, Aa as ColorStyleFields, Ac as AnnotationReplyType, Ai as ListBoxFieldDTO, An as HighlightDraft, Ao as AnnotationAppearanceManifest, Ar as PdfTextSegment, As as pdfRectWidth, At as LineDraft, B as StampAnnotationDTO, Ba as AttachmentFileInfo, Bc as PdfRectDifferences, Bi as decodeFieldRefKey, Bn as PageFlattenStatus, Bo as knownWeakAnnotationState, Br as FormDataExport, Bs as OpenInputLayerSource, Bt as PolygonPatch, C as RedactDraft, Ca as AttachmentsCache, Cc as AnnotationRef, Ci as ComboBoxFieldDTO, Cn as UnderlineAnnotationDTO, Co as FontSpec, Cr as SearchMode, Cs as pdfQuadBounds, Ct as LinkAnnotationDTO, Da as FileAttachmentWireDraft, Dc as isValidPageObjectNumber, Di as FormFieldFlags, Do as AnnotationAppearanceImage, Dr as SearchSliceBudget, Ds as pdfRectHeight, E as WidgetDraft, Ea as FileAttachmentIcon, Ec as PageObjectNumber, Ei as FormFieldFamily, Eo as CachePins, Er as SearchSlice, Es as pdfRectFromOriginSize, Fa as GeometryStyleDraftFields, Fc as FreeTextIntent, Fi as ToggleFieldWidget, Fn as RedactionApplyScope, Fo as AnnotationAppearancesQuery, Fr as expandTextRangeToLine, Fs as MetadataPatch, Ft as PolylineAnnotationDTO, Ga as NormalizedPatch, Gc as StandardFont, Gi as AnnotationUpdateResult, Gn as PageRotateResult, Go as PageImageResult, Gr as FormRepairResult, Gs as caps, Gt as VertexPatchFields, H as StampFit, Ha as EmbeddedFileItem, Hc as Rect, Hi as AnnotationCreateResult, Hn as PageInsertResult, Ho as PageImageHandle, Hr as FormFieldDeleteResult, Hs as OpenInputToken, Ht as PolygonDraft, Ia as GeometryStyleFields, Ic as InkIntent, Ii as UnknownFieldDTO, In as RedactionApplyStatus, Io as AnnotationAppearancesResult, Ir as expandTextRangeToWord, Is as OpenInput, It as PolylineDraft, J as TextPatch, Ja as BinaryMetadata, Jc as CalloutLine, Ji as AppearanceOutcome, Jn as PageMoveResult, Jo as PageRaster, Jr as FormEffect, Js as pdfPermissions, Ka as normalizeAnnotationDraft, Kc as StrikeoutIntent, Ki as AppearanceAction, Kn as PageRotateInput, Ko as PageImageSource, Kr as FormSetValueResult, Ks as collab, La as GeometryStylePatchFields, Lc as LineEnding, Li as FormValueEntry, Ln as PageFlattenInput, Lo as PageState, Lr as textGlyphAt, Ls as OpenInputById, M as FileAttachmentPatch, Ma as FilledStyleDraftFields, Mc as CaretIntent, Mi as RadioFieldDTO, Mn as MetadataUpdateResult, Mo as AnnotationAppearanceMode, Mr as TextLayoutGlyph, Ms as PageBoxes, N as FileAttachmentAnnotationDTO, Na as FilledStyleFields, Nc as Color, Ni as SignatureFieldDTO, Nn as RedactionApplyItemResult, No as AnnotationAppearanceRaster, Nr as TextLayoutRun, Ns as PageLayout, Oa as WireAttachmentFile, Oc as AnnotationBorderStyle, Oi as FormFieldOption, On as HighlightPatch, Oo as AnnotationAppearanceImageOptions, Or as SearchSnippet, Os as pdfRectSize, Ot as LinePatch, Pa as FilledStylePatchFields, Pc as FreeTextFont, Pi as TextFieldDTO, Pn as RedactionApplyResult, Po as AnnotationAppearanceRenderOptions, Pr as buildPageTextLayout, Ps as PageRotation, Pt as PolylinePatch, Qa as BinarySource, Qc as PdfPoint, Qi as changesAnnotationList, Qn as searchContentEpoch, Qo as PageRenderOptions, Qr as FormFieldDisplay, Qs as checkCollab, R as StampPatch, Ra as AttachmentContent, Rc as LineEndings, Ri as FormFieldRef, Rn as PageFlattenItemResult, Ro as UNKNOWN_WEAK_ANNOTATION_STATE, Rr as textGlyphQuad, Rs as OpenInputBytes, S as RedactAnnotationDTO, Sa as AttachmentDeleteResult, Sc as AnnotationDraftBase, Si as CheckboxFieldDTO, Sn as UnderlinePatch, So as FontKey, Sr as SearchMatch, Ss as normalizePdfRect, St as LinkPatch, T as WidgetAnnotationDTO, Ta as FileAttachmentDraft, Tc as revisionTokensEqual, Ti as FormFieldDTO, To as PdfSaveMode, Tr as SearchRequest, Ts as pdfQuadFromCorners, U as StampWireDraft, Ua as EmbeddedFileRef, Uc as Rotation, Ui as AnnotationDeleteResult, Un as PageDeleteResult, Uo as PageImageObjectUrl, Ur as FormFieldUpdateResult, Us as OpenOptions, Ut as VertexAnnotationFields, V as StampDraft, Va as AttachmentFileSource, Vc as Point, Vi as encodeFieldRefKey, Vn as PageFlattenUsage, Vo as PageImageBlobSource, Vr as FormFieldCreateResult, Vs as OpenInputShare, Vt as PolygonAnnotationDTO, Wa as NormalizedDraft, Wc as Size, Wi as AnnotationMoveResult, Wn as PageDeleteInput, Wo as PageImageOptions, Wr as FormImportResult, Ws as TokenSource, Wt as VertexDraftFields, X as NoteIcon, Xa as sniffBinaryMetadata, Xc as InkStroke, Xi as semanticEqual, Xn as PageMoveInput, Xo as PageRenderEncodedFormat, Xr as FormEffectStatus, Xs as checkAnyCapability, Xt as SquareAnnotationDTO, Y as TextAnnotationDTO, Ya as BinaryMimeType, Yc as InkList, Yi as appearanceImpactOf, Yn as PageStructureCache, Yo as PageRenderBackground, Yr as FormEffectResult, Ys as CollabTarget, Yt as SquarePatch, Z as TextDraft, Za as BinaryPayload, Zc as LinePoints, Zi as AnnotationMutationKind, Zn as canonicalSearchQuery, Zo as PageRenderFormat, Zr as FormEffectsResult, Zs as checkCapability, Zt as SquareDraft, _a as AnnotationKindModule, _c as ParsedCollab, _i as WidgetAppearance, _n as SquigglyAnnotationDTO, _o as SerializedEngineError, _r as FoldedText, _s as charMapViolation, aa as PdfLinkTarget, ac as PermissionDenied, ai as RadioFieldPatch, al as NamedJavaScriptAction, an as ShapeDraftFields, ao as PDF_CODE_TO_SUBTYPE, ar as SearchQueryIssue, as as PageGeometrySnapshot, b as UnsupportedAnnotationDTO, ba as PatchOfKind, bc as ParsedWildcard, bi as WidgetStyleFields, bo as EngineErrorCode, br as foldText, bs as PdfOriginSize, c as AnnotationKind, ca as DocumentManifest, cc as PDF_BITS, ci as ComboBoxFieldDraft, cl as PdfActionType, co as subtypeFromCode, cr as SearchRegexValidation, cs as UprightGeometryRun, ct as FreeTextAnnotationDTO, d as AnnotationSubtypeOfKind, da as LayerScopes, dc as CollabAction, di as ListBoxFieldDraft, dl as PdfFieldActions, dn as StrikeoutAnnotationDTO, do as AnnotationIdentityQuality, dr as validateSearchRegex, ds as isRotatedGeometryRun, ea as shiftsExistingAnnotationIndices, ec as expandRawScope, ei as FormFieldValue, el as PdfRect, eo as WireResource, er as searchSegmentsForRange, es as PageRenderTarget, fa as AnnotationRelationKind, fc as CollabEntity, fi as RadioFieldDraft, fl as PdfPageActions, fn as StrikeoutDraft, fo as AnnotationStableId, fr as foldOptionsFor, fs as PageTextSnapshot, ga as refKey, gc as ParsedCapability, gi as FormSnapshot, gn as SquigglyPatch, go as EngineErrorOptions, gr as FoldOptions, gs as charBoundaryAtTextOffset, ha as classifyRelation, hc as IdentityClaims, hi as FormKind, ho as EngineError, hr as wordBefore, hs as boundaryTextOffset, ht as InkDraft, i as AnnotationDTO, ia as MutationMeta, ic as MissingIdentity, ii as ListBoxFieldPatch, il as DocumentActionsSnapshot, in as ShapeAnnotationFields, io as AnnotationSubtype, ir as SEARCH_REGEX_MAX_LENGTH, is as PageGeometryRun, ja as ColorStylePatchFields, jc as BlendMode, ji as PushButtonFieldDTO, jn as MetadataCache, jo as AnnotationAppearanceManifestEntry, jr as TextLayoutFrame, js as PageListSnapshot, ka as ColorStyleDraftFields, kc as AnnotationFlags, ki as FormFieldOrigin, kn as HighlightAnnotationDTO, ko as AnnotationAppearanceImagesResult, kr as PageTextLayout, ks as pdfRectToOriginSize, kt as LineAnnotationDTO, l as AnnotationPatch, la as ManifestPage, lc as decodePdfBits, li as FormFieldDraft, ll as PdfActionWarning, lo as AnnotationPatchBase, lr as matchRegex, ls as glyphLooseBounds, lt as FreeTextDraft, m as WireAnnotationPatch, ma as buildThreads, mc as DocCapability, mi as WidgetPlacement, ml as DocumentMetadataTrapped, mo as encodeStableIdKey, mr as wordAt, ms as CharMapAnchor, mt as InkAnnotationDTO, n as AnnotationListSnapshotAllPages, na as RefetchReason, nc as filterMatches, ni as ComboBoxFieldPatch, nl as PdfSize, nn as CircleAnnotationDTO, no as resolveBinarySource, nr as buildSnippet, ns as createPageImageHandle, nt as CaretAnnotationDTO, o as AnnotationDraft, oa as PdfLinkTargetWritable, oc as parseScope, oi as TextFieldPatch, ol as PdfActionNode, on as ShapePatchFields, oo as PDF_SUBTYPE_TO_CODE, or as SearchQueryValidation, os as RotatedGeometryGlyph, p as WireAnnotationDraft, pa as AnnotationThread, pc as CollabFilter, pi as TextFieldDraft, pl as DocumentMetadata, po as decodeStableIdKey, pr as matchLiteral, ps as CharBoundaryBias, pt as InkPatch, qa as normalizeAnnotationPatch, qc as TextAlignment, qi as AppearanceImpact, qn as PageMoveCache, qo as PageNetworkRenderFormat, qr as FormWidgetLinkResult, qs as materializePdfPermissions, ra as CacheDelta, rc as InvalidScope, ri as FormFieldPatch, rl as ActionReadBudget, rn as CircleDraft, ro as ANNOTATION_SUBTYPES, rr as matchPageText, rs as PageGeometryGlyph, rt as CaretDraft, sa as PdfDestination, sc as validateScopeArray, si as CheckboxFieldDraft, sl as PdfActionTree, so as PdfAnnotationSubtypeCode, sr as SearchRegexIssue, ss as RotatedGeometryRun, st as FreeTextPatch, t as AnnotationListPageSnapshot, ta as AnnotationListMutationMeta, tc as expandedCapabilities, ti as CheckboxFieldPatch, tl as PdfRotation, tn as CirclePatch, to as WireResourceMap, tr as SEARCH_SNIPPET_CONTEXT, ts as PageRenderViewport, tt as CaretPatch, ua as LayerScopePlane, uc as AnnotationActor, ui as FormFieldOptionInput, ul as PdfAnnotationActions, un as StrikeoutPatch, uo as AnnotationBase, ur as validateSearchQuery, us as glyphLooseQuad, v as UnsupportedPatch, va as DTOOfKind, vc as ParsedScope, vn as SquigglyDraft, vo as deserializeError, vr as SEARCH_FOLD_VERSION, vs as charRangeForTextOffsets, w as WidgetPatch, wa as normalizeAttachmentFileSource, wc as RevisionToken, wi as FormFieldBase, wn as UnderlineDraft, wo as DEFAULT_PDF_SAVE_MODE, wr as SearchQuery, ws as pdfQuadCorners, wt as LinkDraft, x as RedactPatch, xa as AttachmentCreateResult, xc as PdfBits, xi as WidgetStylePatchFields, xo as FontHandle, xr as toOriginalRange, xs as PdfQuadCorners, y as UnsupportedDraft, ya as DraftOfKind, yc as ParsedVirtual, yi as WidgetStyleDraftFields, yo as serializeError, yr as SearchMatchRange, ys as sliceTextByChars, z as StampWirePatch, za as AttachmentFileBase, zc as NO_ANNOTATION_FLAGS, zi as FormWidgetRef, zn as PageFlattenResult, zo as WeakAnnotationState, zr as textSegmentsForRange, zs as OpenInputLayerBytes } from "./AnnotationListSnapshot-CHjkcIaL.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-CrxGktMI.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-BE6r06QI.js";
4
4
  //#region src/promise/AbortError.d.ts
5
5
  declare class AbortError extends Error {
6
6
  readonly name = "AbortError";
@@ -998,5 +998,5 @@ declare const EMPTY_TRANSFER: readonly Transferable[];
998
998
  */
999
999
  declare function wirePack<P>(payload: P, transfer?: readonly Transferable[]): WirePack<P>;
1000
1000
  //#endregion
1001
- 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 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 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, CONTINUOUS_RENDER_POLICY, type CacheDelta, type CachePins, type CalloutLine, type CaretAnnotationDTO, type CaretDraft, type CaretIntent, type CaretPatch, type CdnAccessInfo, type CdnAdapter, 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, 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 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 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, 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 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 PagesInsertWorkerRequest, type PagesListWorkerRequest, type PagesMoveWorkerRequest, 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 ResourceRef, 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, buildPageTextLayout, buildSnippet, buildThreads, canonicalSearchQuery, caps, changesAnnotationList, 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, 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, snapAppearanceScale, snapFullPageViewport, snapTileScale, sniffBinaryMetadata, subtypeFromCode, textGlyphAt, textGlyphQuad, textSegmentsForRange, toOriginalRange, validateScopeArray, validateSearchQuery, validateSearchRegex, wirePack, wordAt, wordBefore };
1001
+ 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 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 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, 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, 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 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 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, 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 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 PagesInsertWorkerRequest, type PagesListWorkerRequest, type PagesMoveWorkerRequest, 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 ResourceRef, 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, 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, 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 };
1002
1002
  //# sourceMappingURL=runtime.d.ts.map
package/dist/runtime.js CHANGED
@@ -1,8 +1,8 @@
1
- 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-D3_ZiKOg.js";
2
- import { a as subtypeFromCode, i as PdfAnnotationSubtypeCode, n as PDF_CODE_TO_SUBTYPE, o as EngineErrorCode, r as PDF_SUBTYPE_TO_CODE, t as ANNOTATION_SUBTYPES } from "./subtype-DsxZbJtP.js";
3
- import { A as appearanceImpactOf, B as normalizeAttachmentFileSource, C as validateSearchRegex, D as wordBefore, E as wordAt, F as buildThreads, G as knownWeakAnnotationState, H as resolveBinarySource, I as classifyRelation, J as encodeStableIdKey, K as revisionTokensEqual, L as refKey, M as changesAnnotationList, N as invalidatesWeakIndexRefs, O as decodeFieldRefKey, P as shiftsExistingAnnotationIndices, R as normalizeAnnotationDraft, S as validateSearchQuery, T as matchLiteral, U as NO_ANNOTATION_FLAGS, V as sniffBinaryMetadata, W as UNKNOWN_WEAK_ANNOTATION_STATE, X as DEFAULT_PDF_SAVE_MODE, Y as isValidPageObjectNumber, Z as createPageImageHandle, _ 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 decodeStableIdKey, 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 normalizeAnnotationPatch } from "./builders-BWgXkLKd.js";
1
+ 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-DemV94jf.js";
2
+ import { a as sliceTextByChars, c as PDF_SUBTYPE_TO_CODE, d as EngineErrorCode, i as charRangeForTextOffsets, l as PdfAnnotationSubtypeCode, n as charBoundaryAtTextOffset, o as ANNOTATION_SUBTYPES, r as charMapViolation, s as PDF_CODE_TO_SUBTYPE, t as boundaryTextOffset, u as subtypeFromCode } from "./charmap-CUukAMhR.js";
3
+ import { A as appearanceImpactOf, B as normalizeAttachmentFileSource, C as validateSearchRegex, D as wordBefore, E as wordAt, F as buildThreads, G as knownWeakAnnotationState, H as resolveBinarySource, I as classifyRelation, J as encodeStableIdKey, K as revisionTokensEqual, L as refKey, M as changesAnnotationList, N as invalidatesWeakIndexRefs, O as decodeFieldRefKey, P as shiftsExistingAnnotationIndices, R as normalizeAnnotationDraft, S as validateSearchQuery, T as matchLiteral, U as NO_ANNOTATION_FLAGS, V as sniffBinaryMetadata, W as UNKNOWN_WEAK_ANNOTATION_STATE, X as DEFAULT_PDF_SAVE_MODE, Y as isValidPageObjectNumber, Z as createPageImageHandle, _ 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 decodeStableIdKey, 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 normalizeAnnotationPatch } from "./builders-CF5gKkOa.js";
4
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";
5
- import { n as isAbortError, t as AbortError } from "./AbortError-D0w0N4pJ.js";
5
+ import { n as isAbortError, t as AbortError } from "./AbortError-BsHuCO1S.js";
6
6
  //#region src/promise/AbortablePromise.ts
7
7
  let _Symbol$species;
8
8
  _Symbol$species = 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, 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, buildPageTextLayout, buildSnippet, buildThreads, canonicalSearchQuery, caps, changesAnnotationList, 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, 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, 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, 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, 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, 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
@@ -1,4 +1,4 @@
1
- const require_subtype = require("./subtype-C4XA7C16.cjs");
1
+ const require_charmap = require("./charmap-D6PLtRiC.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/geometry/schemas.ts
4
4
  /**
@@ -388,7 +388,7 @@ const CaretPatchSchema = zod.z.object({
388
388
  //#region src/annotation/kinds/caret/index.ts
389
389
  const CaretKind = {
390
390
  subtype: "caret",
391
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.CARET,
391
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.CARET,
392
392
  dtoSchema: CaretDTOSchema,
393
393
  draftSchema: CaretDraftSchema,
394
394
  patchSchema: CaretPatchSchema
@@ -439,7 +439,7 @@ const CirclePatchSchema = zod.z.object({
439
439
  //#region src/annotation/kinds/circle/index.ts
440
440
  const CircleKind = {
441
441
  subtype: "circle",
442
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.CIRCLE,
442
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.CIRCLE,
443
443
  dtoSchema: CircleDTOSchema,
444
444
  draftSchema: CircleDraftSchema,
445
445
  patchSchema: CirclePatchSchema
@@ -523,7 +523,7 @@ const FileAttachmentPatchSchema = zod.z.object({
523
523
  */
524
524
  const FileAttachmentKind = {
525
525
  subtype: "file-attachment",
526
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.FILEATTACHMENT,
526
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.FILEATTACHMENT,
527
527
  dtoSchema: FileAttachmentDTOSchema,
528
528
  draftSchema: FileAttachmentWireDraftSchema,
529
529
  patchSchema: FileAttachmentPatchSchema
@@ -601,7 +601,7 @@ const FreeTextPatchSchema = zod.z.object({
601
601
  //#region src/annotation/kinds/free-text/index.ts
602
602
  const FreeTextKind = {
603
603
  subtype: "free-text",
604
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.FREETEXT,
604
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.FREETEXT,
605
605
  dtoSchema: FreeTextDTOSchema,
606
606
  draftSchema: FreeTextDraftSchema,
607
607
  patchSchema: FreeTextPatchSchema
@@ -641,7 +641,7 @@ const HighlightPatchSchema = zod.z.object({
641
641
  //#region src/annotation/kinds/highlight/index.ts
642
642
  const HighlightKind = {
643
643
  subtype: "highlight",
644
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.HIGHLIGHT,
644
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.HIGHLIGHT,
645
645
  dtoSchema: HighlightDTOSchema,
646
646
  draftSchema: HighlightDraftSchema,
647
647
  patchSchema: HighlightPatchSchema
@@ -678,7 +678,7 @@ const InkPatchSchema = zod.z.object({
678
678
  //#region src/annotation/kinds/ink/index.ts
679
679
  const InkKind = {
680
680
  subtype: "ink",
681
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.INK,
681
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.INK,
682
682
  dtoSchema: InkDTOSchema,
683
683
  draftSchema: InkDraftSchema,
684
684
  patchSchema: InkPatchSchema
@@ -715,7 +715,7 @@ const LinePatchSchema = zod.z.object({
715
715
  //#region src/annotation/kinds/line/index.ts
716
716
  const LineKind = {
717
717
  subtype: "line",
718
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.LINE,
718
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.LINE,
719
719
  dtoSchema: LineDTOSchema,
720
720
  draftSchema: LineDraftSchema,
721
721
  patchSchema: LinePatchSchema
@@ -823,7 +823,7 @@ const LinkPatchSchema = zod.z.object({
823
823
  //#region src/annotation/kinds/link/index.ts
824
824
  const LinkKind = {
825
825
  subtype: "link",
826
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.LINK,
826
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.LINK,
827
827
  dtoSchema: LinkDTOSchema,
828
828
  draftSchema: LinkDraftSchema,
829
829
  patchSchema: LinkPatchSchema
@@ -874,7 +874,7 @@ const PolygonPatchSchema = zod.z.object({
874
874
  //#region src/annotation/kinds/polygon/index.ts
875
875
  const PolygonKind = {
876
876
  subtype: "polygon",
877
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.POLYGON,
877
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.POLYGON,
878
878
  dtoSchema: PolygonDTOSchema,
879
879
  draftSchema: PolygonDraftSchema,
880
880
  patchSchema: PolygonPatchSchema
@@ -905,7 +905,7 @@ const PolylinePatchSchema = zod.z.object({
905
905
  //#region src/annotation/kinds/polyline/index.ts
906
906
  const PolylineKind = {
907
907
  subtype: "polyline",
908
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.POLYLINE,
908
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.POLYLINE,
909
909
  dtoSchema: PolylineDTOSchema,
910
910
  draftSchema: PolylineDraftSchema,
911
911
  patchSchema: PolylinePatchSchema
@@ -968,7 +968,7 @@ const RedactPatchSchema = zod.z.object({
968
968
  //#region src/annotation/kinds/redact/index.ts
969
969
  const RedactKind = {
970
970
  subtype: "redact",
971
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.REDACT,
971
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.REDACT,
972
972
  dtoSchema: RedactDTOSchema,
973
973
  draftSchema: RedactDraftSchema,
974
974
  patchSchema: RedactPatchSchema
@@ -993,7 +993,7 @@ const SquarePatchSchema = zod.z.object({
993
993
  //#region src/annotation/kinds/square/index.ts
994
994
  const SquareKind = {
995
995
  subtype: "square",
996
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.SQUARE,
996
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.SQUARE,
997
997
  dtoSchema: SquareDTOSchema,
998
998
  draftSchema: SquareDraftSchema,
999
999
  patchSchema: SquarePatchSchema
@@ -1018,7 +1018,7 @@ const SquigglyPatchSchema = zod.z.object({
1018
1018
  //#region src/annotation/kinds/squiggly/index.ts
1019
1019
  const SquigglyKind = {
1020
1020
  subtype: "squiggly",
1021
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.SQUIGGLY,
1021
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.SQUIGGLY,
1022
1022
  dtoSchema: SquigglyDTOSchema,
1023
1023
  draftSchema: SquigglyDraftSchema,
1024
1024
  patchSchema: SquigglyPatchSchema
@@ -1073,7 +1073,7 @@ const StampWirePatchSchema = zod.z.object({
1073
1073
  */
1074
1074
  const StampKind = {
1075
1075
  subtype: "stamp",
1076
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.STAMP,
1076
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.STAMP,
1077
1077
  dtoSchema: StampDTOSchema,
1078
1078
  draftSchema: StampWireDraftSchema,
1079
1079
  patchSchema: StampWirePatchSchema
@@ -1101,7 +1101,7 @@ const StrikeoutPatchSchema = zod.z.object({
1101
1101
  //#region src/annotation/kinds/strikeout/index.ts
1102
1102
  const StrikeoutKind = {
1103
1103
  subtype: "strikeout",
1104
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.STRIKEOUT,
1104
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.STRIKEOUT,
1105
1105
  dtoSchema: StrikeoutDTOSchema,
1106
1106
  draftSchema: StrikeoutDraftSchema,
1107
1107
  patchSchema: StrikeoutPatchSchema
@@ -1141,7 +1141,7 @@ const TextPatchSchema = zod.z.object({
1141
1141
  //#region src/annotation/kinds/text/index.ts
1142
1142
  const TextKind = {
1143
1143
  subtype: "text",
1144
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.TEXT,
1144
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.TEXT,
1145
1145
  dtoSchema: TextDTOSchema,
1146
1146
  draftSchema: TextDraftSchema,
1147
1147
  patchSchema: TextPatchSchema
@@ -1166,7 +1166,7 @@ const UnderlinePatchSchema = zod.z.object({
1166
1166
  //#region src/annotation/kinds/underline/index.ts
1167
1167
  const UnderlineKind = {
1168
1168
  subtype: "underline",
1169
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.UNDERLINE,
1169
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.UNDERLINE,
1170
1170
  dtoSchema: UnderlineDTOSchema,
1171
1171
  draftSchema: UnderlineDraftSchema,
1172
1172
  patchSchema: UnderlinePatchSchema
@@ -1185,7 +1185,7 @@ const UnsupportedPatchSchema = zod.z.never();
1185
1185
  //#region src/annotation/kinds/unsupported/index.ts
1186
1186
  const UnsupportedKind = {
1187
1187
  subtype: "unsupported",
1188
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.UNKNOWN,
1188
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.UNKNOWN,
1189
1189
  dtoSchema: UnsupportedDTOSchema,
1190
1190
  draftSchema: UnsupportedDraftSchema,
1191
1191
  patchSchema: UnsupportedPatchSchema
@@ -1248,7 +1248,7 @@ const WidgetPatchSchema = zod.z.object({
1248
1248
  //#region src/annotation/kinds/widget/index.ts
1249
1249
  const WidgetKind = {
1250
1250
  subtype: "widget",
1251
- pdfSubtypeCode: require_subtype.PdfAnnotationSubtypeCode.WIDGET,
1251
+ pdfSubtypeCode: require_charmap.PdfAnnotationSubtypeCode.WIDGET,
1252
1252
  dtoSchema: WidgetDTOSchema,
1253
1253
  draftSchema: WidgetDraftSchema,
1254
1254
  patchSchema: WidgetPatchSchema
@@ -1880,7 +1880,7 @@ const AccessResponseSchema = zod.z.object({
1880
1880
  }).optional()
1881
1881
  });
1882
1882
  const PdfSaveModeSchema = zod.z.enum(["incremental", "rewrite"]);
1883
- const engineErrorCodeValues = Object.values(require_subtype.EngineErrorCode);
1883
+ const engineErrorCodeValues = Object.values(require_charmap.EngineErrorCode);
1884
1884
  const EngineErrorPayloadSchema = zod.z.object({
1885
1885
  name: zod.z.literal("EngineError"),
1886
1886
  code: zod.z.enum(engineErrorCodeValues),
@@ -1962,15 +1962,24 @@ const AnnotationListPageSnapshotSchema = zod.z.object({
1962
1962
  });
1963
1963
  const AnnotationListSnapshotAllPagesSchema = zod.z.object({ pages: zod.z.array(AnnotationListPageSnapshotSchema) });
1964
1964
  /**
1965
- * Wire shape of `GET /v1/docs/:docId/pages/:pon/text@contentVersion=N` and the
1966
- * `pages.text` worker result. Carries the same `pageState` envelope
1967
- * every page-scoped read returns, plus the full plain-text extraction
1968
- * in display order and PDFium's char-count (which may exceed
1969
- * `text.length / 1` when astral-plane characters are present).
1965
+ * Wire shape of `GET …/text/pages/:pon/data@<contentVersion>` and the
1966
+ * `pages.text` worker result: the UTF-16-faithful extraction, the CHARACTER
1967
+ * space size (`charCount` — the space geometry runs tile; NOT `text.length`),
1968
+ * and the optional character→text anchor map. Malformed maps are rejected
1969
+ * here with the shared `charMapViolation` invariants — absent/empty map
1970
+ * REQUIRES `charCount === text.length` (identity).
1970
1971
  */
1971
1972
  const PageTextSnapshotSchema = zod.z.object({
1972
1973
  text: zod.z.string(),
1973
- charCount: zod.z.number().int().nonnegative()
1974
+ charCount: zod.z.number().int().nonnegative(),
1975
+ charMap: zod.z.array(zod.z.tuple([zod.z.number().int().nonnegative(), zod.z.number().int().nonnegative()])).optional()
1976
+ }).superRefine((snapshot, ctx) => {
1977
+ const violation = require_charmap.charMapViolation(snapshot.charCount, snapshot.text.length, snapshot.charMap);
1978
+ if (violation !== null) ctx.addIssue({
1979
+ code: zod.z.ZodIssueCode.custom,
1980
+ path: ["charMap"],
1981
+ message: violation
1982
+ });
1974
1983
  });
1975
1984
  const PageGeometryGlyphSchema = zod.z.object({
1976
1985
  looseBox: PdfRectSchema,
@@ -3630,4 +3639,4 @@ Object.defineProperty(exports, "WireAttachmentFileSchema", {
3630
3639
  }
3631
3640
  });
3632
3641
 
3633
- //# sourceMappingURL=schemas-CLByd6ze.cjs.map
3642
+ //# sourceMappingURL=schemas-CyWwm0Zf.cjs.map