@beyondwork/docx-react-component 1.0.124 → 1.0.126

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 (101) hide show
  1. package/dist/api/public-types.cjs +147 -35
  2. package/dist/api/public-types.d.cts +2 -2
  3. package/dist/api/public-types.d.ts +2 -2
  4. package/dist/api/public-types.js +3 -3
  5. package/dist/api/v3.cjs +796 -102
  6. package/dist/api/v3.d.cts +3 -3
  7. package/dist/api/v3.d.ts +3 -3
  8. package/dist/api/v3.js +10 -10
  9. package/dist/{canonical-document-CG2TgAzj.d.cts → canonical-document-CXCFCbAz.d.cts} +2 -0
  10. package/dist/{canonical-document-CG2TgAzj.d.ts → canonical-document-CXCFCbAz.d.ts} +2 -0
  11. package/dist/{chunk-PFYUJU3Q.js → chunk-2QL5DAKF.js} +98 -43
  12. package/dist/{chunk-4IPEZYQX.js → chunk-4EENH4FG.js} +1 -1
  13. package/dist/{chunk-BOHHIVQ2.js → chunk-4G3OS2H6.js} +3 -3
  14. package/dist/{chunk-A74Y5NE4.js → chunk-4YJVRIUB.js} +52 -21
  15. package/dist/{chunk-FNWKE74J.js → chunk-5DGKFNQT.js} +5 -1
  16. package/dist/{chunk-RSYN6FTS.js → chunk-6F5QW44A.js} +2 -2
  17. package/dist/{chunk-ZMRO6P3A.js → chunk-6IGWPAR4.js} +505 -44
  18. package/dist/{chunk-KOHQFZMM.js → chunk-BYSRJ4FE.js} +1 -1
  19. package/dist/{chunk-H6IL5ABU.js → chunk-CXSYRB37.js} +64 -20
  20. package/dist/{chunk-32ZAOQ54.js → chunk-D5HYZQTG.js} +1 -1
  21. package/dist/{chunk-TY4DIJO3.js → chunk-ESJ2MES5.js} +1 -1
  22. package/dist/{chunk-Q76XPPTA.js → chunk-FPRWV54X.js} +101 -14
  23. package/dist/{chunk-MPH4ZQS4.js → chunk-GL7XRYBY.js} +624 -87
  24. package/dist/{chunk-IR7QV2BX.js → chunk-KV435YXO.js} +2 -2
  25. package/dist/{chunk-N4VIXI2Z.js → chunk-MWSBGJQO.js} +137 -18
  26. package/dist/{chunk-7PC6XUNO.js → chunk-TQDQU2E3.js} +2 -2
  27. package/dist/{chunk-4B74ETJI.js → chunk-V6XVZFFH.js} +2 -2
  28. package/dist/{chunk-NAMAWCXN.js → chunk-YD2JE54B.js} +1 -1
  29. package/dist/{chunk-ZRHLLPSJ.js → chunk-YHZHPXDB.js} +85 -18
  30. package/dist/{chunk-HXHQA4BU.js → chunk-YIYM4ZAP.js} +1 -1
  31. package/dist/{chunk-LGWNN3L2.js → chunk-ZDOAUP3V.js} +2 -2
  32. package/dist/compare.d.cts +1 -1
  33. package/dist/compare.d.ts +1 -1
  34. package/dist/core/commands/formatting-commands.d.cts +2 -2
  35. package/dist/core/commands/formatting-commands.d.ts +2 -2
  36. package/dist/core/commands/image-commands.cjs +65 -20
  37. package/dist/core/commands/image-commands.d.cts +2 -2
  38. package/dist/core/commands/image-commands.d.ts +2 -2
  39. package/dist/core/commands/image-commands.js +5 -5
  40. package/dist/core/commands/section-layout-commands.d.cts +2 -2
  41. package/dist/core/commands/section-layout-commands.d.ts +2 -2
  42. package/dist/core/commands/style-commands.d.cts +2 -2
  43. package/dist/core/commands/style-commands.d.ts +2 -2
  44. package/dist/core/commands/table-structure-commands.cjs +65 -20
  45. package/dist/core/commands/table-structure-commands.d.cts +2 -2
  46. package/dist/core/commands/table-structure-commands.d.ts +2 -2
  47. package/dist/core/commands/table-structure-commands.js +4 -4
  48. package/dist/core/commands/text-commands.cjs +66 -21
  49. package/dist/core/commands/text-commands.d.cts +2 -2
  50. package/dist/core/commands/text-commands.d.ts +2 -2
  51. package/dist/core/commands/text-commands.js +5 -5
  52. package/dist/core/selection/mapping.d.cts +2 -2
  53. package/dist/core/selection/mapping.d.ts +2 -2
  54. package/dist/core/state/editor-state.d.cts +2 -2
  55. package/dist/core/state/editor-state.d.ts +2 -2
  56. package/dist/index.cjs +1677 -240
  57. package/dist/index.d.cts +5 -5
  58. package/dist/index.d.ts +5 -5
  59. package/dist/index.js +62 -25
  60. package/dist/io/docx-session.cjs +51 -20
  61. package/dist/io/docx-session.d.cts +4 -4
  62. package/dist/io/docx-session.d.ts +4 -4
  63. package/dist/io/docx-session.js +4 -4
  64. package/dist/legal.cjs +36 -12
  65. package/dist/legal.d.cts +1 -1
  66. package/dist/legal.d.ts +1 -1
  67. package/dist/legal.js +3 -3
  68. package/dist/{loader-D9y4ZRjj.d.ts → loader-CS9-9KFa.d.ts} +3 -3
  69. package/dist/{loader-D9KCtj4m.d.cts → loader-OoWJ1_17.d.cts} +3 -3
  70. package/dist/{public-types-CNnMHZM9.d.ts → public-types-BP3vqJR5.d.cts} +157 -11
  71. package/dist/{public-types-DajNGKV4.d.cts → public-types-DdcHqcow.d.ts} +157 -11
  72. package/dist/public-types.cjs +147 -35
  73. package/dist/public-types.d.cts +2 -2
  74. package/dist/public-types.d.ts +2 -2
  75. package/dist/public-types.js +3 -3
  76. package/dist/runtime/collab.d.cts +3 -3
  77. package/dist/runtime/collab.d.ts +3 -3
  78. package/dist/runtime/document-runtime.cjs +945 -134
  79. package/dist/runtime/document-runtime.d.cts +2 -2
  80. package/dist/runtime/document-runtime.d.ts +2 -2
  81. package/dist/runtime/document-runtime.js +14 -14
  82. package/dist/{session-DyQGlryH.d.cts → session-Cq-fzx3B.d.cts} +3 -3
  83. package/dist/{session-DEmaOEjA.d.ts → session-DyFQt8Ph.d.ts} +3 -3
  84. package/dist/session.cjs +51 -20
  85. package/dist/session.d.cts +5 -5
  86. package/dist/session.d.ts +5 -5
  87. package/dist/session.js +5 -5
  88. package/dist/tailwind.cjs +238 -73
  89. package/dist/tailwind.d.cts +2 -2
  90. package/dist/tailwind.d.ts +2 -2
  91. package/dist/tailwind.js +7 -7
  92. package/dist/{types-CxE1aZiv.d.cts → types-Bg7D-GD3.d.cts} +2 -2
  93. package/dist/{types-DjJNaE9c.d.ts → types-bJAgMq1M.d.ts} +2 -2
  94. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
  95. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
  96. package/dist/ui-tailwind/editor-surface/search-plugin.js +4 -4
  97. package/dist/ui-tailwind.cjs +238 -73
  98. package/dist/ui-tailwind.d.cts +3 -3
  99. package/dist/ui-tailwind.d.ts +3 -3
  100. package/dist/ui-tailwind.js +7 -7
  101. package/package.json +1 -1
@@ -3145,7 +3145,7 @@ function createParagraphEditableTarget(paragraph, kind, storyKey, blockPath, tar
3145
3145
  context: { storyKey, insideSdt: contentControl !== void 0 },
3146
3146
  ...tableTarget
3147
3147
  }) : void 0;
3148
- const listAddress = tableIdentity === void 0 && paragraph.numbering !== void 0 ? createCanonicalAddress({
3148
+ const listAddress = paragraph.numbering !== void 0 ? createCanonicalAddress({
3149
3149
  addressKind: "list-item-text",
3150
3150
  storyKey,
3151
3151
  staleCheckKind: "paragraph",
@@ -3179,6 +3179,7 @@ function createParagraphEditableTarget(paragraph, kind, storyKey, blockPath, tar
3179
3179
  ...contentControl !== void 0 ? { contentControl } : {},
3180
3180
  ...tableIdentity !== void 0 ? { table: tableIdentity } : {},
3181
3181
  ...editableOwner !== void 0 ? { editableOwner } : {},
3182
+ ...listAddress !== void 0 ? { listAddress } : {},
3182
3183
  ...tableIdentity !== void 0 ? {
3183
3184
  canonicalAddress: createTableTargetCanonicalAddress(
3184
3185
  tableIdentity,
@@ -5482,6 +5483,7 @@ function mergeLevelDefinition(base, override, startOverride, fallbackLevel) {
5482
5483
  );
5483
5484
  const runProperties = override?.runProperties ?? base?.runProperties;
5484
5485
  const restartAfterLevel = override?.restartAfterLevel ?? base?.restartAfterLevel;
5486
+ const picBulletId = override?.picBulletId ?? base?.picBulletId;
5485
5487
  return {
5486
5488
  level,
5487
5489
  format,
@@ -5492,7 +5494,8 @@ function mergeLevelDefinition(base, override, startOverride, fallbackLevel) {
5492
5494
  ...override?.suffix ?? base?.suffix ? { suffix: override?.suffix ?? base?.suffix } : {},
5493
5495
  ...paragraphGeometry ? { paragraphGeometry } : {},
5494
5496
  ...runProperties ? { runProperties } : {},
5495
- ...restartAfterLevel !== void 0 ? { restartAfterLevel } : {}
5497
+ ...restartAfterLevel !== void 0 ? { restartAfterLevel } : {},
5498
+ ...picBulletId !== void 0 ? { picBulletId } : {}
5496
5499
  };
5497
5500
  }
5498
5501
  function withDefaultStartAt(level) {
@@ -5620,7 +5623,7 @@ function resolveHangingWidth(indentation) {
5620
5623
  // src/runtime/formatting/numbering/prefix.ts
5621
5624
  function createNumberingPrefixResolver(catalog) {
5622
5625
  const sequenceStates = /* @__PURE__ */ new Map();
5623
- function resolveInternal(numbering, paragraph) {
5626
+ function resolveInternal(numbering, paragraph, options = {}) {
5624
5627
  const resolved = resolveNumberingDefinitionSet(
5625
5628
  catalog,
5626
5629
  paragraph?.numbering ?? numbering,
@@ -5633,29 +5636,44 @@ function createNumberingPrefixResolver(catalog) {
5633
5636
  if (!resolvedNumbering) {
5634
5637
  return null;
5635
5638
  }
5636
- const sequenceState = getSequenceState(sequenceStates, resolvedNumbering.numberingInstanceId);
5637
- advanceSequence(sequenceState, resolved.effectiveLevel.level, resolved.effectiveLevels);
5639
+ const advance = options.advance !== false;
5640
+ const sequenceState = getSequenceState(
5641
+ sequenceStates,
5642
+ resolvedNumbering.numberingInstanceId,
5643
+ { create: advance }
5644
+ );
5645
+ if (!sequenceState) {
5646
+ return null;
5647
+ }
5648
+ const workingState = advance ? sequenceState : cloneSequenceState(sequenceState);
5649
+ advanceSequence(workingState, resolved.effectiveLevel.level, resolved.effectiveLevels);
5650
+ const currentCounter = workingState.counters[resolved.effectiveLevel.level];
5638
5651
  const effectiveLevelDefs = resolved.effectiveLevel.isLegalNumbering ? new Map(
5639
5652
  Array.from(resolved.effectiveLevels.entries()).map(([level, definition]) => [
5640
5653
  level,
5641
5654
  { ...definition, format: "decimal" }
5642
5655
  ])
5643
5656
  ) : resolved.effectiveLevels;
5657
+ const picBulletId = resolved.effectiveLevel.picBulletId;
5644
5658
  const text = renderLevelText(
5645
5659
  resolved.effectiveLevel.text,
5646
- sequenceState.counters,
5660
+ workingState.counters,
5647
5661
  effectiveLevelDefs
5648
5662
  );
5649
- if (resolved.effectiveLevel.format !== "none" && text === null) {
5663
+ if (picBulletId == null && resolved.effectiveLevel.format !== "none" && text === null) {
5650
5664
  return null;
5651
5665
  }
5652
5666
  const visibleText = resolved.effectiveLevel.format === "none" ? null : text;
5653
- const picBulletId = resolved.effectiveLevel.picBulletId;
5667
+ const formatPosture = getNumberingFormatPosture(
5668
+ resolved.effectiveLevel.format,
5669
+ currentCounter
5670
+ );
5654
5671
  const picBulletMediaId = picBulletId != null ? catalog.numPicBullets?.[picBulletId]?.mediaId : void 0;
5655
5672
  return {
5656
5673
  text: visibleText,
5657
5674
  level: resolved.effectiveLevel.level,
5658
5675
  format: resolved.effectiveLevel.format,
5676
+ ...formatPosture !== void 0 ? { formatPosture } : {},
5659
5677
  startAt: resolved.effectiveLevel.startAt ?? DEFAULT_NUMBERING_START_AT,
5660
5678
  ...resolved.effectiveLevel.suffix ? { suffix: resolved.effectiveLevel.suffix } : {},
5661
5679
  ...resolved.effectiveLevel.paragraphStyleId ? { paragraphStyleId: resolved.effectiveLevel.paragraphStyleId } : {},
@@ -5666,23 +5684,26 @@ function createNumberingPrefixResolver(catalog) {
5666
5684
  };
5667
5685
  }
5668
5686
  return {
5669
- resolve(numbering) {
5670
- const result = resolveInternal(numbering);
5687
+ resolve(numbering, options) {
5688
+ const result = resolveInternal(numbering, void 0, options);
5671
5689
  return result?.text ?? null;
5672
5690
  },
5673
- resolveDetailed(numbering, paragraph) {
5674
- return resolveInternal(numbering, paragraph);
5691
+ resolveDetailed(numbering, paragraph, options) {
5692
+ return resolveInternal(numbering, paragraph, options);
5675
5693
  },
5676
- resolveParagraph(paragraph) {
5677
- return resolveInternal(paragraph.numbering, paragraph);
5694
+ resolveParagraph(paragraph, options) {
5695
+ return resolveInternal(paragraph.numbering, paragraph, options);
5678
5696
  }
5679
5697
  };
5680
5698
  }
5681
- function getSequenceState(states, numberingInstanceId) {
5699
+ function getSequenceState(states, numberingInstanceId, options = { create: true }) {
5682
5700
  const existing = states.get(numberingInstanceId);
5683
5701
  if (existing) {
5684
5702
  return existing;
5685
5703
  }
5704
+ if (options.create === false) {
5705
+ return { counters: [], lastLevel: null };
5706
+ }
5686
5707
  const created = {
5687
5708
  counters: [],
5688
5709
  lastLevel: null
@@ -5690,6 +5711,12 @@ function getSequenceState(states, numberingInstanceId) {
5690
5711
  states.set(numberingInstanceId, created);
5691
5712
  return created;
5692
5713
  }
5714
+ function cloneSequenceState(state) {
5715
+ return {
5716
+ counters: [...state.counters],
5717
+ lastLevel: state.lastLevel
5718
+ };
5719
+ }
5693
5720
  function advanceSequence(state, currentLevel, levelDefinitions) {
5694
5721
  for (let level = currentLevel + 1; level < state.counters.length; level += 1) {
5695
5722
  if (shouldResetDeeperLevel(level, currentLevel, levelDefinitions)) {
@@ -5721,6 +5748,25 @@ function shouldResetDeeperLevel(level, triggeringLevel, levelDefinitions) {
5721
5748
  function getLevelStartAt(level, levelDefinitions) {
5722
5749
  return levelDefinitions.get(level)?.startAt ?? DEFAULT_NUMBERING_START_AT;
5723
5750
  }
5751
+ function getNumberingFormatPosture(format, value) {
5752
+ if (!isSupportedNumberingFormat(format)) {
5753
+ return {
5754
+ status: "approximated",
5755
+ requestedFormat: format,
5756
+ renderedFormat: "decimal",
5757
+ reason: "unsupported-numbering-format-decimal-fallback"
5758
+ };
5759
+ }
5760
+ if (value !== void 0 && ((format === "upperRoman" || format === "lowerRoman") && (value <= 0 || value >= 4e3) || (format === "cardinalText" || format === "ordinalText") && (!Number.isInteger(value) || value < 1 || value > 999) || (format === "upperLetter" || format === "lowerLetter" || format === "chicago") && value < 1)) {
5761
+ return {
5762
+ status: "approximated",
5763
+ requestedFormat: format,
5764
+ renderedFormat: "decimal",
5765
+ reason: "numbering-format-range-decimal-fallback"
5766
+ };
5767
+ }
5768
+ return void 0;
5769
+ }
5724
5770
  function renderLevelText(text, counters, levelDefinitions) {
5725
5771
  if (!text) {
5726
5772
  return null;
@@ -6563,6 +6609,7 @@ function toNumberingLayoutInput(numbering) {
6563
6609
  associatedTabStops: toLayoutTabStops(numbering.geometry.tabStops, "numbering"),
6564
6610
  level: numbering.level,
6565
6611
  format: numbering.format,
6612
+ ...numbering.formatPosture !== void 0 ? { formatPosture: { ...numbering.formatPosture } } : {},
6566
6613
  startAt: numbering.startAt,
6567
6614
  ...numbering.isLegalNumbering ? { isLegalNumbering: true } : {},
6568
6615
  ...numbering.picBulletMediaId ? { pictureBulletMediaId: numbering.picBulletMediaId } : {}
@@ -6792,13 +6839,10 @@ var FormattingContextImpl = class {
6792
6839
  const effectiveNumbering = this.resolveEffectiveParagraphNumbering(para);
6793
6840
  if (!effectiveNumbering) return null;
6794
6841
  if (!emitGeometry) {
6795
- if (advance) this.numbering.resolve(effectiveNumbering);
6842
+ this.numbering.resolve(effectiveNumbering, { advance });
6796
6843
  return null;
6797
6844
  }
6798
- if (!advance) {
6799
- console.warn("[formatting-context] resolveParagraphNumbering({advance:false}) is not supported; counter always advances");
6800
- }
6801
- return this.numbering.resolveDetailed(effectiveNumbering, para);
6845
+ return this.numbering.resolveDetailed(effectiveNumbering, para, { advance });
6802
6846
  }
6803
6847
  resolveNumberingLayoutInput(para, options = {}) {
6804
6848
  return toNumberingLayoutInput(this.resolveParagraphNumbering(para, options));
@@ -8992,6 +9036,7 @@ function toSurfaceResolvedNumbering(numbering) {
8992
9036
  return {
8993
9037
  level: numbering.level,
8994
9038
  format: numbering.format,
9039
+ ...numbering.formatPosture !== void 0 ? { formatPosture: { ...numbering.formatPosture } } : {},
8995
9040
  ...numbering.text !== null ? { text: numbering.text } : {},
8996
9041
  startAt: numbering.startAt,
8997
9042
  ...numbering.paragraphStyleId ? { paragraphStyleId: numbering.paragraphStyleId } : {},
@@ -13272,8 +13317,9 @@ function projectSurfaceBlocksToPageFragments(surface, pages, splits, columnByBlo
13272
13317
  const perPageCounter = /* @__PURE__ */ new Map();
13273
13318
  const fieldRegionsByParagraphIndex = buildFieldRegionsByParagraphIndex(fieldRegions);
13274
13319
  const generatedTargets = buildGeneratedTargets(editableTargets);
13320
+ const numberingTargets = buildNumberingTargets(editableTargets);
13275
13321
  const bookmarkRanges = buildBookmarkRanges(editableTargets);
13276
- const numberingByParagraphIndex = buildNumberingByParagraphIndex(numberingInputs);
13322
+ const numberingIndex = buildNumberingInputIndex(numberingInputs);
13277
13323
  const pushFragment = (pageIndex, fragment) => {
13278
13324
  const existing = byPage.get(pageIndex);
13279
13325
  if (existing) {
@@ -13309,8 +13355,9 @@ function projectSurfaceBlocksToPageFragments(surface, pages, splits, columnByBlo
13309
13355
  },
13310
13356
  fieldRegionsByParagraphIndex,
13311
13357
  generatedTargets,
13358
+ numberingTargets,
13312
13359
  bookmarkRanges,
13313
- numberingByParagraphIndex,
13360
+ numberingIndex,
13314
13361
  blockPath
13315
13362
  );
13316
13363
  continue;
@@ -13331,8 +13378,9 @@ function projectSurfaceBlocksToPageFragments(surface, pages, splits, columnByBlo
13331
13378
  },
13332
13379
  fieldRegionsByParagraphIndex,
13333
13380
  generatedTargets,
13381
+ numberingTargets,
13334
13382
  bookmarkRanges,
13335
- numberingByParagraphIndex,
13383
+ numberingIndex,
13336
13384
  blockPath
13337
13385
  );
13338
13386
  continue;
@@ -13364,8 +13412,9 @@ function projectSurfaceBlocksToPageFragments(surface, pages, splits, columnByBlo
13364
13412
  paginationRole: "whole",
13365
13413
  fieldRegionsByParagraphIndex,
13366
13414
  generatedTargets,
13415
+ numberingTargets,
13367
13416
  bookmarkRanges,
13368
- numberingByParagraphIndex,
13417
+ numberingIndex,
13369
13418
  blockPath
13370
13419
  }),
13371
13420
  ...columnIndex !== void 0 ? { columnIndex } : {}
@@ -13512,7 +13561,7 @@ function buildRunAnchorsForLine(input) {
13512
13561
  }
13513
13562
  return anchors;
13514
13563
  }
13515
- function emitSlicedParagraph(block, slices, emit, fieldRegionsByParagraphIndex = /* @__PURE__ */ new Map(), generatedTargets = [], bookmarkRanges = [], numberingByParagraphIndex = /* @__PURE__ */ new Map(), blockPath) {
13564
+ function emitSlicedParagraph(block, slices, emit, fieldRegionsByParagraphIndex = /* @__PURE__ */ new Map(), generatedTargets = [], numberingTargets = [], bookmarkRanges = [], numberingIndex = EMPTY_NUMBERING_INPUT_INDEX, blockPath) {
13516
13565
  for (let i = 0; i < slices.length; i += 1) {
13517
13566
  const slice = slices[i];
13518
13567
  const heightTwips = slice.heightTwips ?? estimateSliceHeightFromLines(slice.lineRange);
@@ -13537,8 +13586,9 @@ function emitSlicedParagraph(block, slices, emit, fieldRegionsByParagraphIndex =
13537
13586
  paginationRole: slice.lineRange.from > 0 ? "continuation" : "slice",
13538
13587
  fieldRegionsByParagraphIndex,
13539
13588
  generatedTargets,
13589
+ numberingTargets,
13540
13590
  bookmarkRanges,
13541
- numberingByParagraphIndex,
13591
+ numberingIndex,
13542
13592
  blockPath
13543
13593
  })
13544
13594
  };
@@ -13559,7 +13609,7 @@ function estimateSliceHeightFromLines(lineRange) {
13559
13609
  const lines = Math.max(0, lineRange.to - lineRange.from);
13560
13610
  return lines * 240;
13561
13611
  }
13562
- function emitSlicedTable(block, slices, emit, fieldRegionsByParagraphIndex = /* @__PURE__ */ new Map(), generatedTargets = [], bookmarkRanges = [], numberingByParagraphIndex = /* @__PURE__ */ new Map(), blockPath) {
13612
+ function emitSlicedTable(block, slices, emit, fieldRegionsByParagraphIndex = /* @__PURE__ */ new Map(), generatedTargets = [], numberingTargets = [], bookmarkRanges = [], numberingIndex = EMPTY_NUMBERING_INPUT_INDEX, blockPath) {
13563
13613
  for (let i = 0; i < slices.length; i += 1) {
13564
13614
  const slice = slices[i];
13565
13615
  const heightTwips = slice.heightTwips ?? estimateSliceHeightFromRows(slice.rowRange);
@@ -13583,8 +13633,9 @@ function emitSlicedTable(block, slices, emit, fieldRegionsByParagraphIndex = /*
13583
13633
  paginationRole: slice.rowRange.from > 0 ? "continuation" : "slice",
13584
13634
  fieldRegionsByParagraphIndex,
13585
13635
  generatedTargets,
13636
+ numberingTargets,
13586
13637
  bookmarkRanges,
13587
- numberingByParagraphIndex,
13638
+ numberingIndex,
13588
13639
  blockPath
13589
13640
  }),
13590
13641
  ...slice.columnIndex !== void 0 ? { columnIndex: slice.columnIndex } : {}
@@ -13658,7 +13709,8 @@ function buildFragmentLayoutObject(input) {
13658
13709
  const numberingRows = collectNumberingLayoutFactsForBlock(
13659
13710
  input.block,
13660
13711
  input.blockPath,
13661
- input.numberingByParagraphIndex
13712
+ input.numberingIndex,
13713
+ input.numberingTargets
13662
13714
  );
13663
13715
  const numbering = input.block.kind === "paragraph" ? numberingRows[0] : void 0;
13664
13716
  const fieldRegions = collectFieldRegionLayoutFacts(
@@ -13829,6 +13881,11 @@ function buildGeneratedTargets(targets) {
13829
13881
  (target) => target.kind === "field-result-text" || target.kind === "hyperlink-text" || target.kind === "hyperlink-destination" || target.kind === "bookmark-anchor" || target.kind === "bookmark-content-range"
13830
13882
  );
13831
13883
  }
13884
+ function buildNumberingTargets(targets) {
13885
+ return targets.filter(
13886
+ (target) => target.listAddress !== void 0 || target.canonicalAddress?.addressKind === "list-item-text"
13887
+ );
13888
+ }
13832
13889
  function buildBookmarkRanges(targets) {
13833
13890
  const anchors = /* @__PURE__ */ new Map();
13834
13891
  const contentRanges = /* @__PURE__ */ new Map();
@@ -13876,14 +13933,27 @@ function buildBookmarkRanges(targets) {
13876
13933
  }
13877
13934
  return ranges;
13878
13935
  }
13879
- function buildNumberingByParagraphIndex(numberingInputs) {
13936
+ var EMPTY_NUMBERING_INPUT_INDEX = {
13937
+ byNumberingKey: /* @__PURE__ */ new Map(),
13938
+ byBlockPath: /* @__PURE__ */ new Map(),
13939
+ byParagraphIndex: /* @__PURE__ */ new Map()
13940
+ };
13941
+ function buildNumberingInputIndex(numberingInputs) {
13942
+ const byNumberingKey = /* @__PURE__ */ new Map();
13943
+ const byBlockPath = /* @__PURE__ */ new Map();
13880
13944
  const byParagraph = /* @__PURE__ */ new Map();
13881
13945
  for (const input of numberingInputs) {
13946
+ if (!byNumberingKey.has(input.numberingKey)) {
13947
+ byNumberingKey.set(input.numberingKey, input);
13948
+ }
13949
+ if (!byBlockPath.has(input.blockPath)) {
13950
+ byBlockPath.set(input.blockPath, input);
13951
+ }
13882
13952
  if (!byParagraph.has(input.paragraphIndex)) {
13883
13953
  byParagraph.set(input.paragraphIndex, input);
13884
13954
  }
13885
13955
  }
13886
- return byParagraph;
13956
+ return { byNumberingKey, byBlockPath, byParagraphIndex: byParagraph };
13887
13957
  }
13888
13958
  function collectBookmarkRangeLayoutFacts(fragmentId, blockPath, bookmarkRanges) {
13889
13959
  if (!blockPath || !bookmarkRanges || bookmarkRanges.length === 0) return [];
@@ -13964,6 +14034,7 @@ function collectNumberingLayoutFacts(block) {
13964
14034
  ...block.numbering?.numberingInstanceId !== void 0 ? { numberingInstanceId: block.numbering.numberingInstanceId } : {},
13965
14035
  ...block.numbering?.level !== void 0 ? { level: block.numbering.level } : {},
13966
14036
  ...block.resolvedNumbering?.format !== void 0 ? { format: block.resolvedNumbering.format } : {},
14037
+ ...block.resolvedNumbering?.formatPosture !== void 0 ? { formatPosture: { ...block.resolvedNumbering.formatPosture } } : {},
13967
14038
  ...block.numberingPrefix !== void 0 ? { markerText: block.numberingPrefix } : {},
13968
14039
  ...block.numberingSuffix !== void 0 ? { markerSuffix: block.numberingSuffix } : {},
13969
14040
  ...block.resolvedNumbering?.geometry.markerJustification !== void 0 ? { markerJustification: block.resolvedNumbering.geometry.markerJustification } : {},
@@ -13991,15 +14062,21 @@ function collectNumberingLayoutFacts(block) {
13991
14062
  } : {}
13992
14063
  };
13993
14064
  }
13994
- function collectNumberingLayoutFactsForBlock(block, blockPath, numberingByParagraphIndex) {
14065
+ function collectNumberingLayoutFactsForBlock(block, blockPath, numberingIndex, numberingTargets = []) {
13995
14066
  const rows = [];
13996
14067
  const seen = /* @__PURE__ */ new Set();
13997
14068
  visitParagraphBlocks(block, (paragraph, context) => {
13998
14069
  const numbering = collectNumberingLayoutFacts(paragraph);
13999
14070
  if (!numbering) return;
14000
14071
  const paragraphIndex = parseParagraphBlockIndex(paragraph.blockId);
14001
- const canonical = paragraphIndex !== void 0 ? numberingByParagraphIndex?.get(paragraphIndex) : void 0;
14002
14072
  const numberingKey = context.path !== void 0 ? `main:${context.path}:numbering` : void 0;
14073
+ const canonical = lookupNumberingInput(
14074
+ numberingIndex,
14075
+ numberingKey,
14076
+ context.path,
14077
+ paragraphIndex
14078
+ );
14079
+ const target = findNumberingTarget(numberingTargets, context.path);
14003
14080
  const numberingLayoutId = numberingKey ?? [
14004
14081
  "numbering",
14005
14082
  paragraph.blockId,
@@ -14008,6 +14085,7 @@ function collectNumberingLayoutFactsForBlock(block, blockPath, numberingByParagr
14008
14085
  ].join(":");
14009
14086
  if (seen.has(numberingLayoutId)) return;
14010
14087
  seen.add(numberingLayoutId);
14088
+ const unavailableReasons = collectNumberingUnavailableReasons(numbering, canonical);
14011
14089
  rows.push({
14012
14090
  numberingLayoutId,
14013
14091
  ...numberingKey !== void 0 ? { numberingKey } : {},
@@ -14015,6 +14093,10 @@ function collectNumberingLayoutFactsForBlock(block, blockPath, numberingByParagr
14015
14093
  ...canonical?.blockPath !== void 0 ? { sourceBlockPath: canonical.blockPath } : context.path !== void 0 ? { sourceBlockPath: context.path } : {},
14016
14094
  sourceBlockId: paragraph.blockId,
14017
14095
  ...paragraphIndex !== void 0 ? { paragraphIndex } : {},
14096
+ ...target?.targetKey !== void 0 ? { targetKey: target.targetKey } : {},
14097
+ ...target?.kind !== void 0 ? { targetKind: target.kind } : {},
14098
+ ...target?.canonicalAddress?.addressKey !== void 0 ? { canonicalAddressKey: target.canonicalAddress.addressKey } : {},
14099
+ ...target?.listAddress?.addressKey !== void 0 ? { listAddressKey: target.listAddress.addressKey } : {},
14018
14100
  ...canonical?.sourceRef !== void 0 ? { sourceRef: { ...canonical.sourceRef } } : {},
14019
14101
  ...canonical?.numberingSourceRef !== void 0 ? { numberingSourceRef: { ...canonical.numberingSourceRef } } : {},
14020
14102
  ...canonical?.numberingOrigin !== void 0 ? { numberingOrigin: canonical.numberingOrigin } : {},
@@ -14022,11 +14104,41 @@ function collectNumberingLayoutFactsForBlock(block, blockPath, numberingByParagr
14022
14104
  ...canonical?.numberingInstanceSourceRef !== void 0 ? { numberingInstanceSourceRef: { ...canonical.numberingInstanceSourceRef } } : {},
14023
14105
  ...canonical?.abstractNumberingId !== void 0 ? { abstractNumberingId: canonical.abstractNumberingId } : {},
14024
14106
  ...canonical?.abstractNumberingSourceRef !== void 0 ? { abstractNumberingSourceRef: { ...canonical.abstractNumberingSourceRef } } : {},
14025
- ...numbering
14107
+ ...numbering,
14108
+ ...unavailableReasons.length > 0 ? { unavailableReasons } : {}
14026
14109
  });
14027
14110
  }, blockPath);
14028
14111
  return rows;
14029
14112
  }
14113
+ function findNumberingTarget(numberingTargets, blockPath) {
14114
+ if (blockPath === void 0) return void 0;
14115
+ return numberingTargets.find((target) => target.blockPath === blockPath);
14116
+ }
14117
+ function lookupNumberingInput(numberingIndex, numberingKey, blockPath, paragraphIndex) {
14118
+ if (!numberingIndex) return void 0;
14119
+ if (numberingKey !== void 0) {
14120
+ const byKey = numberingIndex.byNumberingKey.get(numberingKey);
14121
+ if (byKey !== void 0) return byKey;
14122
+ }
14123
+ if (blockPath !== void 0) {
14124
+ const byPath = numberingIndex.byBlockPath.get(blockPath);
14125
+ if (byPath !== void 0) return byPath;
14126
+ }
14127
+ return paragraphIndex !== void 0 ? numberingIndex.byParagraphIndex.get(paragraphIndex) : void 0;
14128
+ }
14129
+ function collectNumberingUnavailableReasons(numbering, canonical) {
14130
+ const reasons = [];
14131
+ if (canonical === void 0) {
14132
+ reasons.push("canonical-numbering-input-missing");
14133
+ }
14134
+ if (numbering.markerLane === void 0) {
14135
+ reasons.push("numbering-marker-lane-unavailable");
14136
+ }
14137
+ if (numbering.textColumn === void 0) {
14138
+ reasons.push("numbering-text-column-unavailable");
14139
+ }
14140
+ return reasons;
14141
+ }
14030
14142
  function findPageIndexForOffset(pages, offset) {
14031
14143
  for (let i = 0; i < pages.length; i += 1) {
14032
14144
  const page = pages[i];
@@ -14403,7 +14515,7 @@ function createEmpiricalProvider() {
14403
14515
  }
14404
14516
 
14405
14517
  // src/runtime/layout/layout-engine-version.ts
14406
- var LAYOUT_ENGINE_VERSION = 87;
14518
+ var LAYOUT_ENGINE_VERSION = 88;
14407
14519
 
14408
14520
  // src/runtime/layout/layout-engine-instance.ts
14409
14521
  var FULL_VIEWPORT_WINDOW_KEY = "full";
@@ -1,7 +1,7 @@
1
1
  import 'react';
2
- export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-DajNGKV4.cjs';
2
+ export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-BP3vqJR5.cjs';
3
3
  import 'y-protocols/awareness';
4
4
  import 'yjs';
5
- export { a8 as AreaChartModel, a9 as Axis, aa as AxisBase, ab as BarChartModel, B as BlockNode, ac as BubbleChartModel, ad as BubbleSeries, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, ae as CategoryAxis, af as CategoryLikeAxis, ag as ChartCommon, a1 as ChartModel, ah as ColorMod, a3 as ColorRef, ai as ComboChartModel, aj as DataLabelsSpec, ak as DataPointOverride, al as DateAxis, _ as FillSpec, am as Legend, an as LineChartModel, ao as LineSeries, ap as MarkerSpec, aq as PieChartModel, ar as PieSeries, a2 as ResolvedTheme, as as ScatterChartModel, at as ScatterSeries, au as Series, av as SeriesAxis, aw as SeriesBase, ax as ShapeProperties, a0 as StrokeSpec, G as TextMark, $ as TextProperties, ay as Title, az as UnsupportedChartModel, aA as UnsupportedReason, aB as ValueAxis } from '../canonical-document-CG2TgAzj.cjs';
5
+ export { a8 as AreaChartModel, a9 as Axis, aa as AxisBase, ab as BarChartModel, B as BlockNode, ac as BubbleChartModel, ad as BubbleSeries, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, ae as CategoryAxis, af as CategoryLikeAxis, ag as ChartCommon, a1 as ChartModel, ah as ColorMod, a3 as ColorRef, ai as ComboChartModel, aj as DataLabelsSpec, ak as DataPointOverride, al as DateAxis, _ as FillSpec, am as Legend, an as LineChartModel, ao as LineSeries, ap as MarkerSpec, aq as PieChartModel, ar as PieSeries, a2 as ResolvedTheme, as as ScatterChartModel, at as ScatterSeries, au as Series, av as SeriesAxis, aw as SeriesBase, ax as ShapeProperties, a0 as StrokeSpec, G as TextMark, $ as TextProperties, ay as Title, az as UnsupportedChartModel, aA as UnsupportedReason, aB as ValueAxis } from '../canonical-document-CXCFCbAz.cjs';
6
6
  import 'prosemirror-state';
7
7
  import 'prosemirror-model';
@@ -1,7 +1,7 @@
1
1
  import 'react';
2
- export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-CNnMHZM9.js';
2
+ export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-DdcHqcow.js';
3
3
  import 'y-protocols/awareness';
4
4
  import 'yjs';
5
- export { a8 as AreaChartModel, a9 as Axis, aa as AxisBase, ab as BarChartModel, B as BlockNode, ac as BubbleChartModel, ad as BubbleSeries, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, ae as CategoryAxis, af as CategoryLikeAxis, ag as ChartCommon, a1 as ChartModel, ah as ColorMod, a3 as ColorRef, ai as ComboChartModel, aj as DataLabelsSpec, ak as DataPointOverride, al as DateAxis, _ as FillSpec, am as Legend, an as LineChartModel, ao as LineSeries, ap as MarkerSpec, aq as PieChartModel, ar as PieSeries, a2 as ResolvedTheme, as as ScatterChartModel, at as ScatterSeries, au as Series, av as SeriesAxis, aw as SeriesBase, ax as ShapeProperties, a0 as StrokeSpec, G as TextMark, $ as TextProperties, ay as Title, az as UnsupportedChartModel, aA as UnsupportedReason, aB as ValueAxis } from '../canonical-document-CG2TgAzj.js';
5
+ export { a8 as AreaChartModel, a9 as Axis, aa as AxisBase, ab as BarChartModel, B as BlockNode, ac as BubbleChartModel, ad as BubbleSeries, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, ae as CategoryAxis, af as CategoryLikeAxis, ag as ChartCommon, a1 as ChartModel, ah as ColorMod, a3 as ColorRef, ai as ComboChartModel, aj as DataLabelsSpec, ak as DataPointOverride, al as DateAxis, _ as FillSpec, am as Legend, an as LineChartModel, ao as LineSeries, ap as MarkerSpec, aq as PieChartModel, ar as PieSeries, a2 as ResolvedTheme, as as ScatterChartModel, at as ScatterSeries, au as Series, av as SeriesAxis, aw as SeriesBase, ax as ShapeProperties, a0 as StrokeSpec, G as TextMark, $ as TextProperties, ay as Title, az as UnsupportedChartModel, aA as UnsupportedReason, aB as ValueAxis } from '../canonical-document-CXCFCbAz.js';
6
6
  import 'prosemirror-state';
7
7
  import 'prosemirror-model';
@@ -19,7 +19,7 @@ import {
19
19
  getUsableColumnWidth,
20
20
  sanitizeMarkdown,
21
21
  searchSecondaryStories
22
- } from "../chunk-ZRHLLPSJ.js";
22
+ } from "../chunk-YHZHPXDB.js";
23
23
  import {
24
24
  createCanvasBackend
25
25
  } from "../chunk-KFCQYZXR.js";
@@ -27,7 +27,7 @@ import "../chunk-QIO6V46H.js";
27
27
  import {
28
28
  resolvePageFieldDisplayText,
29
29
  storyTargetKey
30
- } from "../chunk-H6IL5ABU.js";
30
+ } from "../chunk-CXSYRB37.js";
31
31
  import "../chunk-OYGMRRR7.js";
32
32
  import {
33
33
  EMU_PER_INCH,
@@ -36,7 +36,7 @@ import {
36
36
  ROTATION_UNITS_PER_DEGREE,
37
37
  SRCRECT_UNITS_PER_PERCENT,
38
38
  TWIPS_PER_PX
39
- } from "../chunk-FNWKE74J.js";
39
+ } from "../chunk-5DGKFNQT.js";
40
40
  import "../chunk-UFVDIR2C.js";
41
41
  import {
42
42
  createPublicNodeAnchor,