@beyondwork/docx-react-component 1.0.132 → 1.0.133

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 (94) hide show
  1. package/dist/api/public-types.cjs +158 -67
  2. package/dist/api/public-types.d.cts +1 -1
  3. package/dist/api/public-types.d.ts +1 -1
  4. package/dist/api/public-types.js +3 -3
  5. package/dist/api/v3.cjs +9326 -7478
  6. package/dist/api/v3.d.cts +2 -2
  7. package/dist/api/v3.d.ts +2 -2
  8. package/dist/api/v3.js +10 -10
  9. package/dist/{chunk-XYTWOJII.js → chunk-224TSMEB.js} +635 -89
  10. package/dist/{chunk-43JAPM2F.js → chunk-3JEE5RJU.js} +92 -131
  11. package/dist/{chunk-UP2KDOYE.js → chunk-57HTKX3P.js} +6 -2
  12. package/dist/{chunk-RYMMKOFI.js → chunk-5KTJKTNE.js} +32 -0
  13. package/dist/{chunk-LPLJZJT2.js → chunk-CVSD3UNK.js} +128 -69
  14. package/dist/{chunk-JVTDBX67.js → chunk-EFEW7BTT.js} +2 -2
  15. package/dist/{chunk-UFPBYJMA.js → chunk-INLRCC4N.js} +2 -2
  16. package/dist/{chunk-6736GA6J.js → chunk-KL4TZSZV.js} +1 -1
  17. package/dist/{chunk-N5FTU4HZ.js → chunk-MQ5GAJ54.js} +68 -39
  18. package/dist/{chunk-W2I47J2Q.js → chunk-NJFKPDNG.js} +216 -2
  19. package/dist/{chunk-YUHNDEV5.js → chunk-OTRVGNZQ.js} +2934 -1815
  20. package/dist/{chunk-4HGFJ6Z2.js → chunk-PZIEOEJZ.js} +1 -1
  21. package/dist/{chunk-C5LXKR54.js → chunk-QTRJLKR2.js} +1 -1
  22. package/dist/{chunk-SZ6BJA4Q.js → chunk-REFHJ2FN.js} +3 -3
  23. package/dist/{chunk-ZDYGRO2Z.js → chunk-RP76USJE.js} +1 -1
  24. package/dist/{chunk-QUTVR72L.js → chunk-S3PEKX6H.js} +246 -43
  25. package/dist/{chunk-RBWJHRNP.js → chunk-T66OS7MN.js} +8 -3
  26. package/dist/{chunk-ALWXYGXP.js → chunk-V2JF42SI.js} +2 -2
  27. package/dist/{chunk-6TLZ6CMP.js → chunk-WDDFU2N2.js} +2 -2
  28. package/dist/{chunk-U3UMKA7B.js → chunk-XBQFDBXE.js} +1 -1
  29. package/dist/{chunk-CDEZGLQ3.js → chunk-ZFCZ7XXH.js} +1 -1
  30. package/dist/core/commands/formatting-commands.d.cts +1 -1
  31. package/dist/core/commands/formatting-commands.d.ts +1 -1
  32. package/dist/core/commands/image-commands.cjs +32 -0
  33. package/dist/core/commands/image-commands.d.cts +1 -1
  34. package/dist/core/commands/image-commands.d.ts +1 -1
  35. package/dist/core/commands/image-commands.js +5 -5
  36. package/dist/core/commands/section-layout-commands.d.cts +1 -1
  37. package/dist/core/commands/section-layout-commands.d.ts +1 -1
  38. package/dist/core/commands/style-commands.d.cts +1 -1
  39. package/dist/core/commands/style-commands.d.ts +1 -1
  40. package/dist/core/commands/table-structure-commands.cjs +32 -0
  41. package/dist/core/commands/table-structure-commands.d.cts +1 -1
  42. package/dist/core/commands/table-structure-commands.d.ts +1 -1
  43. package/dist/core/commands/table-structure-commands.js +4 -4
  44. package/dist/core/commands/text-commands.cjs +99 -38
  45. package/dist/core/commands/text-commands.d.cts +12 -1
  46. package/dist/core/commands/text-commands.d.ts +12 -1
  47. package/dist/core/commands/text-commands.js +5 -5
  48. package/dist/core/selection/mapping.d.cts +1 -1
  49. package/dist/core/selection/mapping.d.ts +1 -1
  50. package/dist/core/state/editor-state.d.cts +1 -1
  51. package/dist/core/state/editor-state.d.ts +1 -1
  52. package/dist/index.cjs +4827 -2434
  53. package/dist/index.d.cts +4 -4
  54. package/dist/index.d.ts +4 -4
  55. package/dist/index.js +292 -53
  56. package/dist/io/docx-session.cjs +7 -2
  57. package/dist/io/docx-session.d.cts +3 -3
  58. package/dist/io/docx-session.d.ts +3 -3
  59. package/dist/io/docx-session.js +4 -4
  60. package/dist/legal.js +3 -3
  61. package/dist/{loader-MAa8VpzW.d.cts → loader-B2H99237.d.cts} +2 -2
  62. package/dist/{loader-CfpeEPAa.d.ts → loader-DfTjqVwn.d.ts} +2 -2
  63. package/dist/{public-types-Cjs8glST.d.ts → public-types-B5lOUIrP.d.ts} +689 -232
  64. package/dist/{public-types-KBS6JnOs.d.cts → public-types-S8gTYwKo.d.cts} +689 -232
  65. package/dist/public-types.cjs +158 -67
  66. package/dist/public-types.d.cts +1 -1
  67. package/dist/public-types.d.ts +1 -1
  68. package/dist/public-types.js +3 -3
  69. package/dist/runtime/collab.d.cts +2 -2
  70. package/dist/runtime/collab.d.ts +2 -2
  71. package/dist/runtime/document-runtime.cjs +1032 -416
  72. package/dist/runtime/document-runtime.d.cts +1 -1
  73. package/dist/runtime/document-runtime.d.ts +1 -1
  74. package/dist/runtime/document-runtime.js +14 -14
  75. package/dist/{session-CkoH8FoY.d.ts → session-CBDIOYXA.d.ts} +2 -2
  76. package/dist/{session-wwe0Gib-.d.cts → session-CR2A1hGZ.d.cts} +2 -2
  77. package/dist/session.cjs +7 -2
  78. package/dist/session.d.cts +4 -4
  79. package/dist/session.d.ts +4 -4
  80. package/dist/session.js +5 -5
  81. package/dist/tailwind.cjs +398 -105
  82. package/dist/tailwind.d.cts +1 -1
  83. package/dist/tailwind.d.ts +1 -1
  84. package/dist/tailwind.js +7 -7
  85. package/dist/{types-CH7NWqVL.d.ts → types-B-90ywjU.d.ts} +1 -1
  86. package/dist/{types-B3SGRW0w.d.cts → types-yty2K-hk.d.cts} +1 -1
  87. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +2 -2
  88. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +2 -2
  89. package/dist/ui-tailwind/editor-surface/search-plugin.js +4 -4
  90. package/dist/ui-tailwind.cjs +398 -105
  91. package/dist/ui-tailwind.d.cts +3 -2
  92. package/dist/ui-tailwind.d.ts +3 -2
  93. package/dist/ui-tailwind.js +7 -7
  94. package/package.json +1 -1
@@ -4494,7 +4494,20 @@ function sourceJoinHash(refs) {
4494
4494
  if (sourceIds.length === 0) return void 0;
4495
4495
  return hashText(sourceIds.join("\0"));
4496
4496
  }
4497
+ var numberingCatalogHashCache = /* @__PURE__ */ new WeakMap();
4498
+ var numberingTargetHashCache = /* @__PURE__ */ new WeakMap();
4497
4499
  function createNumberingCatalogRevisionHash(doc) {
4500
+ const numbering = doc.numbering;
4501
+ if (numbering !== void 0) {
4502
+ const cached = numberingCatalogHashCache.get(numbering);
4503
+ if (cached !== void 0) return cached;
4504
+ const fresh = computeNumberingCatalogRevisionHash(doc);
4505
+ numberingCatalogHashCache.set(numbering, fresh);
4506
+ return fresh;
4507
+ }
4508
+ return computeNumberingCatalogRevisionHash(doc);
4509
+ }
4510
+ function computeNumberingCatalogRevisionHash(doc) {
4498
4511
  const catalog = doc.numbering ?? { abstractDefinitions: {}, instances: {} };
4499
4512
  const abstractDefinitions = catalog.abstractDefinitions ?? {};
4500
4513
  const instances = catalog.instances ?? {};
@@ -4545,8 +4558,27 @@ function createNumberingCatalogRevisionHash(doc) {
4545
4558
  }));
4546
4559
  }
4547
4560
  function createNumberingTargetRevisionHash(doc) {
4561
+ const numbering = doc.numbering;
4562
+ const styles = doc.styles;
4563
+ if (numbering !== void 0 && styles !== void 0) {
4564
+ let inner = numberingTargetHashCache.get(numbering);
4565
+ if (inner === void 0) {
4566
+ inner = /* @__PURE__ */ new WeakMap();
4567
+ numberingTargetHashCache.set(numbering, inner);
4568
+ }
4569
+ const cached = inner.get(styles);
4570
+ if (cached !== void 0) return cached;
4571
+ const fresh = computeNumberingTargetRevisionHash(doc);
4572
+ inner.set(styles, fresh);
4573
+ return fresh;
4574
+ }
4575
+ return computeNumberingTargetRevisionHash(doc);
4576
+ }
4577
+ function computeNumberingTargetRevisionHash(doc) {
4548
4578
  const paragraphStyles = doc.styles?.paragraphs ?? {};
4549
4579
  return hashText(JSON.stringify({
4580
+ // Reuses the memoized catalog hash on the hot path so a typing edit
4581
+ // pays for the catalog hash at most once across both helpers.
4550
4582
  numberingCatalogHash: createNumberingCatalogRevisionHash(doc),
4551
4583
  paragraphStyleNumbering: Object.keys(paragraphStyles).sort().map((styleId) => {
4552
4584
  const style = paragraphStyles[styleId];
@@ -15731,7 +15763,7 @@ function fnv1a2(input) {
15731
15763
  }
15732
15764
 
15733
15765
  // src/runtime/layout/layout-engine-version.ts
15734
- var LAYOUT_ENGINE_VERSION = 93;
15766
+ var LAYOUT_ENGINE_VERSION = 94;
15735
15767
 
15736
15768
  // src/runtime/layout/layout-engine-instance.ts
15737
15769
  var FULL_VIEWPORT_WINDOW_KEY = "full";
@@ -15957,11 +15989,45 @@ function createLayoutEngine(options = {}) {
15957
15989
  const telemetryBus = options.telemetryBus;
15958
15990
  const dirtyFieldFamilies = /* @__PURE__ */ new Set();
15959
15991
  const listeners = /* @__PURE__ */ new Set();
15960
- let cachedKey = null;
15961
- let cachedGraph = null;
15962
- let cachedFormatting = null;
15963
- let cachedMapper = null;
15992
+ let cachedFull = null;
15993
+ let cachedWindowed = null;
15964
15994
  let previousPageCount = 0;
15995
+ function isFullViewportKey(key) {
15996
+ return key === FULL_VIEWPORT_WINDOW_KEY;
15997
+ }
15998
+ function getCachedSlot(viewportWindowKeyValue) {
15999
+ return isFullViewportKey(viewportWindowKeyValue) ? cachedFull : cachedWindowed;
16000
+ }
16001
+ function preferredCachedGraph() {
16002
+ return cachedFull?.graph ?? cachedWindowed?.graph ?? null;
16003
+ }
16004
+ function clearAllSlots() {
16005
+ cachedFull = null;
16006
+ cachedWindowed = null;
16007
+ }
16008
+ function clearWindowedSlot() {
16009
+ cachedWindowed = null;
16010
+ }
16011
+ function evictStaleSiblingSlot(freshKey) {
16012
+ const sibling = isFullViewportKey(freshKey.viewportWindowKey) ? cachedWindowed : cachedFull;
16013
+ if (sibling === null) return;
16014
+ if (sibling.key.content === freshKey.content && sibling.key.styles === freshKey.styles && sibling.key.subParts === freshKey.subParts) {
16015
+ return;
16016
+ }
16017
+ if (isFullViewportKey(freshKey.viewportWindowKey)) {
16018
+ cachedWindowed = null;
16019
+ } else {
16020
+ cachedFull = null;
16021
+ }
16022
+ }
16023
+ function commitSlot(slot) {
16024
+ if (isFullViewportKey(slot.key.viewportWindowKey)) {
16025
+ cachedFull = slot;
16026
+ } else {
16027
+ cachedWindowed = slot;
16028
+ }
16029
+ evictStaleSiblingSlot(slot.key);
16030
+ }
15965
16031
  let pendingInvalidation = null;
15966
16032
  function emit(event) {
15967
16033
  for (const listener of listeners) {
@@ -16107,27 +16173,31 @@ function createLayoutEngine(options = {}) {
16107
16173
  subParts: document2.subParts,
16108
16174
  anchors: layoutInputs.anchors
16109
16175
  });
16176
+ const priorGraphForMaterialization = preferredCachedGraph();
16110
16177
  const graph = applyViewportWindowMaterialization(
16111
16178
  measuredGraph,
16112
16179
  viewportWindow,
16113
- cachedGraph
16180
+ priorGraphForMaterialization
16114
16181
  );
16115
- const dirtyFamilies = computeFieldDirtiness(cachedGraph, graph);
16182
+ const priorGraphForFieldDirtiness = preferredCachedGraph();
16183
+ const dirtyFamilies = computeFieldDirtiness(priorGraphForFieldDirtiness, graph);
16116
16184
  for (const family of dirtyFamilies) {
16117
16185
  dirtyFieldFamilies.add(family);
16118
16186
  }
16119
16187
  const formatting = buildResolvedFormattingState(document2, mainSurface);
16120
16188
  const currentPageCount = graph.contentPageCount;
16121
16189
  const pageCountDelta = currentPageCount !== previousPageCount ? { previous: previousPageCount, current: currentPageCount } : void 0;
16122
- cachedKey = {
16123
- content: document2.content,
16124
- styles: document2.styles,
16125
- subParts: document2.subParts,
16126
- viewportWindowKey: viewportWindowKey(viewportWindow)
16127
- };
16128
- cachedGraph = graph;
16129
- cachedFormatting = formatting;
16130
- cachedMapper = createPageFragmentMapper(graph);
16190
+ commitSlot({
16191
+ key: {
16192
+ content: document2.content,
16193
+ styles: document2.styles,
16194
+ subParts: document2.subParts,
16195
+ viewportWindowKey: viewportWindowKey(viewportWindow)
16196
+ },
16197
+ graph,
16198
+ formatting,
16199
+ mapper: createPageFragmentMapper(graph)
16200
+ });
16131
16201
  if (pageCountDelta) {
16132
16202
  emit({
16133
16203
  kind: "page_count_changed",
@@ -16168,7 +16238,7 @@ function createLayoutEngine(options = {}) {
16168
16238
  return graph;
16169
16239
  }
16170
16240
  function incrementalRelayout(input, pending) {
16171
- const priorGraph = cachedGraph;
16241
+ const priorGraph = cachedFull?.graph ?? null;
16172
16242
  const range = pending.result.dirtyPageRange;
16173
16243
  if (!priorGraph || !range) return null;
16174
16244
  const telemetryOn = telemetryBus?.isEnabled("layout") ?? false;
@@ -16261,6 +16331,22 @@ function createLayoutEngine(options = {}) {
16261
16331
  deriveDocumentPageSnapshots(splicedGraph)
16262
16332
  );
16263
16333
  const pageCountDelta = currentPageCount !== previousPageCount ? { previous: previousPageCount, current: currentPageCount } : void 0;
16334
+ const priorMapper = cachedFull?.mapper ?? null;
16335
+ commitSlot({
16336
+ key: {
16337
+ content: document2.content,
16338
+ styles: document2.styles,
16339
+ subParts: document2.subParts,
16340
+ viewportWindowKey: FULL_VIEWPORT_WINDOW_KEY
16341
+ },
16342
+ graph: splicedGraph,
16343
+ formatting,
16344
+ mapper: rebuildMapper(
16345
+ priorMapper ?? createPageFragmentMapper(splicedGraph),
16346
+ splicedGraph,
16347
+ firstDirty
16348
+ )
16349
+ });
16264
16350
  if (pageCountDelta) {
16265
16351
  emit({
16266
16352
  kind: "page_count_changed",
@@ -16290,19 +16376,6 @@ function createLayoutEngine(options = {}) {
16290
16376
  ...dirtyFamilies.length > 0 ? { dirtyFieldFamilies: dirtyFamilies } : {},
16291
16377
  ...pageCountDelta ? { pageCountDelta } : {}
16292
16378
  });
16293
- cachedKey = {
16294
- content: document2.content,
16295
- styles: document2.styles,
16296
- subParts: document2.subParts,
16297
- viewportWindowKey: FULL_VIEWPORT_WINDOW_KEY
16298
- };
16299
- cachedGraph = splicedGraph;
16300
- cachedFormatting = formatting;
16301
- cachedMapper = rebuildMapper(
16302
- cachedMapper ?? createPageFragmentMapper(splicedGraph),
16303
- splicedGraph,
16304
- firstDirty
16305
- );
16306
16379
  if (telemetryOn) {
16307
16380
  emitRecomputeCompleted(
16308
16381
  "bounded",
@@ -16319,13 +16392,14 @@ function createLayoutEngine(options = {}) {
16319
16392
  const document2 = input.document;
16320
16393
  const normalizedWindow = normalizeViewportPageWindow(input.viewportPageWindow);
16321
16394
  const currentViewportWindowKey = viewportWindowKey(normalizedWindow);
16322
- const keyEqual = cachedGraph !== null && cachedKey !== null && cachedKey.content === document2.content && cachedKey.styles === document2.styles && cachedKey.subParts === document2.subParts && cachedKey.viewportWindowKey === currentViewportWindowKey;
16395
+ const slot = getCachedSlot(currentViewportWindowKey);
16396
+ const keyEqual = slot !== null && slot.key.content === document2.content && slot.key.styles === document2.styles && slot.key.subParts === document2.subParts && slot.key.viewportWindowKey === currentViewportWindowKey;
16323
16397
  if (keyEqual && pendingInvalidation === null) {
16324
- return cachedGraph;
16398
+ return slot.graph;
16325
16399
  }
16326
16400
  const pending = pendingInvalidation;
16327
16401
  pendingInvalidation = null;
16328
- if (pending !== null && pending.result.scope === "bounded" && cachedGraph !== null && normalizedWindow === void 0) {
16402
+ if (pending !== null && pending.result.scope === "bounded" && cachedFull !== null && normalizedWindow === void 0) {
16329
16403
  const spliced = incrementalRelayout(input, pending);
16330
16404
  if (spliced !== null) {
16331
16405
  return spliced;
@@ -16334,16 +16408,39 @@ function createLayoutEngine(options = {}) {
16334
16408
  }
16335
16409
  return fullRebuild(input, pending?.reason);
16336
16410
  }
16411
+ function ensureSlotMapperAndFormatting(slot, document2) {
16412
+ if (slot.mapper === null) {
16413
+ slot.mapper = createPageFragmentMapper(slot.graph);
16414
+ }
16415
+ if (slot.formatting === null) {
16416
+ const mainSurface = createEditorSurfaceSnapshot(
16417
+ document2,
16418
+ createSelectionSnapshot(0, 0),
16419
+ MAIN_STORY_TARGET
16420
+ );
16421
+ slot.formatting = buildResolvedFormattingState(document2, mainSurface);
16422
+ }
16423
+ }
16337
16424
  function getMapper(input) {
16338
16425
  getGraphInternal(input);
16339
- return cachedMapper;
16426
+ const currentViewportWindowKey = viewportWindowKey(
16427
+ normalizeViewportPageWindow(input.viewportPageWindow)
16428
+ );
16429
+ const slot = getCachedSlot(currentViewportWindowKey);
16430
+ ensureSlotMapperAndFormatting(slot, input.document);
16431
+ return slot.mapper;
16340
16432
  }
16341
16433
  function getFormatting(input) {
16342
16434
  getGraphInternal(input);
16343
- return cachedFormatting;
16435
+ const currentViewportWindowKey = viewportWindowKey(
16436
+ normalizeViewportPageWindow(input.viewportPageWindow)
16437
+ );
16438
+ const slot = getCachedSlot(currentViewportWindowKey);
16439
+ ensureSlotMapperAndFormatting(slot, input.document);
16440
+ return slot.formatting;
16344
16441
  }
16345
16442
  if (autoUpgradeToCanvas && options.measurementProvider === void 0 && typeof document !== "undefined" && typeof HTMLCanvasElement !== "undefined") {
16346
- const readCachedRevision = () => cachedGraph?.revision ?? 0;
16443
+ const readCachedRevision = () => preferredCachedGraph()?.revision ?? 0;
16347
16444
  void (async () => {
16348
16445
  try {
16349
16446
  const mod = await Promise.resolve().then(() => (init_measurement_backend_canvas(), measurement_backend_canvas_exports));
@@ -16353,10 +16450,7 @@ function createLayoutEngine(options = {}) {
16353
16450
  options.measurementCache,
16354
16451
  telemetryBus
16355
16452
  );
16356
- cachedKey = null;
16357
- cachedGraph = null;
16358
- cachedFormatting = null;
16359
- cachedMapper = null;
16453
+ clearAllSlots();
16360
16454
  emit({
16361
16455
  kind: "measurement_backend_ready",
16362
16456
  revision: readCachedRevision(),
@@ -16400,22 +16494,19 @@ function createLayoutEngine(options = {}) {
16400
16494
  return getMapper(input);
16401
16495
  },
16402
16496
  invalidate(reason) {
16403
- const result = analyzeInvalidation(reason, cachedGraph);
16497
+ const result = analyzeInvalidation(reason, preferredCachedGraph());
16404
16498
  for (const family of result.dirtyFieldFamilies) {
16405
16499
  dirtyFieldFamilies.add(family);
16406
16500
  }
16407
16501
  if (result.scope === "bounded") {
16408
16502
  pendingInvalidation = { reason, result };
16409
16503
  } else {
16410
- cachedKey = null;
16411
- cachedGraph = null;
16412
- cachedFormatting = null;
16413
- cachedMapper = null;
16504
+ clearAllSlots();
16414
16505
  pendingInvalidation = { reason, result };
16415
16506
  }
16416
16507
  },
16417
16508
  analyzeInvalidation(reason) {
16418
- return analyzeInvalidation(reason, cachedGraph);
16509
+ return analyzeInvalidation(reason, preferredCachedGraph());
16419
16510
  },
16420
16511
  getDirtyFieldFamilies() {
16421
16512
  return Array.from(dirtyFieldFamilies);
@@ -16443,14 +16534,11 @@ function createLayoutEngine(options = {}) {
16443
16534
  telemetryBus
16444
16535
  );
16445
16536
  if (previousFidelity !== provider.fidelity) {
16446
- cachedKey = null;
16447
- cachedGraph = null;
16448
- cachedFormatting = null;
16449
- cachedMapper = null;
16537
+ clearAllSlots();
16450
16538
  }
16451
16539
  emit({
16452
16540
  kind: "measurement_backend_ready",
16453
- revision: cachedGraph?.revision ?? 0,
16541
+ revision: preferredCachedGraph()?.revision ?? 0,
16454
16542
  fidelity: provider.fidelity
16455
16543
  });
16456
16544
  },
@@ -16465,30 +16553,33 @@ function createLayoutEngine(options = {}) {
16465
16553
  */
16466
16554
  invalidateMeasurementCache() {
16467
16555
  measurementProvider.invalidateCache();
16468
- cachedKey = null;
16469
- cachedGraph = null;
16470
- cachedFormatting = null;
16471
- cachedMapper = null;
16556
+ clearAllSlots();
16472
16557
  },
16473
16558
  getMeasurementCacheStats() {
16474
16559
  if (!isCachedLayoutMeasurementProvider(measurementProvider)) return null;
16475
16560
  return measurementProvider.measurementCacheStats();
16476
16561
  },
16477
16562
  /**
16478
- * L7 Phase 2.5 — seed the cached graph from a prerender envelope.
16479
- * Populates both `cachedGraph` and `cachedKey` (keyed on the provided
16480
- * document's identity-equal slots) so the next getPageGraph query
16481
- * returns the seeded graph directly. Any subsequent mutation
16482
- * invalidates normally through the existing path.
16563
+ * L7 Phase 2.5 — seed the full-slot cached graph from a prerender
16564
+ * envelope. Populates the full slot (graph + key, with formatting and
16565
+ * mapper computed lazily on first read) so the next viewport-
16566
+ * independent `getPageGraph` query returns the seeded graph directly.
16567
+ * Any subsequent mutation invalidates normally through the existing
16568
+ * path; sibling eviction in `commitSlot` clears `cachedWindowed` if
16569
+ * it carried a different document tuple.
16483
16570
  */
16484
16571
  seedCachedGraph(graph, document2) {
16485
- cachedGraph = graph;
16486
- cachedKey = {
16487
- content: document2.content,
16488
- styles: document2.styles,
16489
- subParts: document2.subParts,
16490
- viewportWindowKey: FULL_VIEWPORT_WINDOW_KEY
16491
- };
16572
+ commitSlot({
16573
+ key: {
16574
+ content: document2.content,
16575
+ styles: document2.styles,
16576
+ subParts: document2.subParts,
16577
+ viewportWindowKey: FULL_VIEWPORT_WINDOW_KEY
16578
+ },
16579
+ graph,
16580
+ formatting: null,
16581
+ mapper: null
16582
+ });
16492
16583
  previousPageCount = graph.contentPageCount;
16493
16584
  }
16494
16585
  };
@@ -1,5 +1,5 @@
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, hj as LayoutInputIdentity, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hk as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hl as OverlayKind, hm as OverlayVisibilityAuthorship, hn as OverlayVisibilityEnforcement, ho as OverlayVisibilityPolicy, hp as PERCENTAGE_PARTS, hq as PageChromeReservations, hr as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hs as PagePatchEntry, ht as PagePatchPlan, hu as PagePatchReason, hv as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hw as ProtectionRange, t as ProtectionSnapshot, hx as PublicBlockFragment, hy as PublicBlockMeasurement, hz as PublicBorderSpec, hA as PublicCellLocator, hB as PublicCellShading, hC as PublicFieldDirtinessReport, hD as PublicLayoutDivergence, hE as PublicLineBox, hF as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hG as PublicNoteAllocation, hH as PublicPageAnchor, hI as PublicPageFrame, hJ as PublicPageLocalStoryInstance, hK as PublicPageNode, hL as PublicPagePaginationTelemetry, hM as PublicPageRegion, hN as PublicPageRegions, hO as PublicPageSpan, hP as PublicPaginationTelemetry, hQ as PublicRegionBlock, hR as PublicRegionKind, hS as PublicResolvedPageStories, hT as PublicResolvedParagraphFormatting, hU as PublicResolvedRunFormatting, hV as PublicResolvedStoryField, hW as PublicSectionNode, hX as PublicStoryAnchoredObject, hY as PublicTableBorders, hZ as PublicTableCellBorders, h_ as PublicTableCellMargins, h$ as PublicTableEvent, i0 as PublicTableRenderPlan, i1 as PublicTableRowHeight, i2 as PublicTableStyle, i3 as PublicTableSummary, i4 as PublicTableWidth, i5 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i6 as ROTATION_UNITS_PER_DEGREE, i7 as RenderAnchorIndex, i8 as RenderAnchorQuery, i9 as RenderBlock, ia as RenderBlockDecoration, ib as RenderFrame, ic as RenderFrameQueryOptions, id as RenderFrameRect, ie as RenderHitResult, ig as RenderKernelEvent, ih as RenderLine, ii as RenderLineAnchor, ij as RenderPage, ik as RenderPageRegions, il as RenderPoint, im as RenderStoryRegion, io as RenderZoom, ip as RenderZoomSummary, iq as ResolveMetadataConflictInput, ir as ResolvedNumberingGeometrySnapshot, is 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, it as RuntimeEditTargetContext, be as RuntimePageGraph, iu as RuntimePageNode, R as RuntimeRenderSnapshot, iv as SRCRECT_UNITS_PER_PERCENT, iw as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, ix as ScopeBundle, iy as ScopeBundleEvidence, iz as ScopeBundleNeighborhood, dA as ScopeCardModel, iA as ScopeChromeVisibility, iB as ScopeChromeVisibilityState, iC as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iD as ScopeQueryFilter, iE as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iF as ScopeRailSnapshot, iG as ScopeTagRegistry, dF as ScopeTagTouch, iH as ScopeVisibility, j as SearchOptions, iI as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iJ as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iK as SemanticScope, iL as SemanticScopeKind, e_ as SessionCapabilities, iM as SetSelectionOptions, aL as SharedWorkflowState, iN as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iO as StorageReference, iP as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iQ as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iR as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iS as SurfacePictureEffects, iT as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iU as SurfaceTextBoxBodyProperties, iV as SurfaceTextBoxBodySnapshot, iW as SurfaceTextBoxBodyStatus, iX as SurfaceTextBoxParagraphSnapshot, iY as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iZ as TWIPS_PER_PX, i_ as TableOp, i$ as TableOpResult, j0 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, j1 as TextStyleFilter, ea as TocEntrySnapshot, j2 as TocRefreshOptions, j3 as TocRefreshResult, j4 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j5 as UpdateFieldsOptions, j6 as UpdateFieldsResult, ef as ViewMode, j7 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j8 as WordReviewEditorCommentsFacet, j9 as WordReviewEditorDiagnosticsFacet, ja as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, jb as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, jc as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, jd as WordReviewEditorScopesFacet, je as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jf as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jg as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jh as WorkflowMarkupMode, ji as WorkflowMarkupModeEnforcement, jj 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, jk as WorkflowScopeGuardPolicy, jl as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, jm as buildPagePreviewMaps, jn as buildSearchPattern, jo as createCanvasBackend, jp as createPagePatchPlan, jq as createPublicNodeAnchor, jr as createPublicRangeAnchor, js as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jt as estimateBlockHeight, ju as estimateParagraphLineCount, jv as estimateParagraphLineHeight, jw as findPageForOffset, n as findSearchMatches, jx as getUsableColumnWidth, jy as resolvePageFieldDisplayText, jz as sanitizeMarkdown, s as searchSecondaryStories, jA as storyTargetKey, fF as storyTargetsEqual } from '../public-types-KBS6JnOs.cjs';
2
+ export { bn as ActiveListContext, gT as ActiveMarginPreset, bo as ActiveNoteContext, gU as ActivePageFormat, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, gV as AddScopeParams, gW as AddScopeResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, bw as AutosaveConfig, bx as AutosaveState, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, gX as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gY as CanonicalDocumentFragment, gZ as CapabilityBlockReason, g_ as CapabilityCategory, g$ as CapabilityKind, h0 as CapabilityShortcut, bD as CaretAffinity, bE as ChangeAnchor, bF as ChangeFilter, bG as ChartPreviewResolveParams, bH as ChartSnapshot, bI as ChartSnapshotBubbleSeries, bJ as ChartSnapshotData, bK as ChartSnapshotScatterSeries, bL as ChartSnapshotSeries, f2 as ChromePinSurface, fl as ChromePinsState, h1 as ClearHighlightOptions, bN as CollabSession, bT as CommandStateSnapshot, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, r as CompatibilityReport, h2 as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, h3 as DEFAULT_PX_PER_TWIP, h4 as DecorationIndex, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, h5 as DocumentMode, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, h6 as EMU_PER_INCH, h7 as EMU_PER_PX, fo as EditableTargetRef, cs as EditorAnchorProjection, h8 as EditorApiError, h9 as EditorCapability, ct as EditorDatastoreAdapter, ha as EditorDiagnostic, hb as EditorDiagnosticCode, hc as EditorDiagnosticLlmMetadata, hd as EditorDiagnosticRecoveryClass, he as EditorDiagnosticRemediation, hf as EditorDiagnosticSource, hg as EditorDiagnosticTechnical, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, fh as EditorRole, a as EditorSessionState, cv as EditorStateBlob, aA as EditorStateLocation, az as EditorStateNamespace, cw as EditorStatePartLoadFailure, cx as EditorStatePartPersistFailure, cy as EditorStatePersister, cz as EditorStatePolicy, cA as EditorStatePolicyEntry, cB as EditorStatePolicyMigration, cC as EditorStateResolveErrorMode, cD as EditorStateResolver, cE as EditorStateStorageRef, cF as EditorStoryTarget, d as EditorSurfaceSnapshot, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, hh as EffectiveSelectionMode, hi as EmbeddedDocumentManifestLike, hj as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cM as ExternalDocumentSource, hk as FieldEntrySnapshot, hl as FieldFamily, hm as FieldRefreshStatus, hn as FieldSnapshot, f4 as FormattingAlignment, ho as FormattingBreadcrumbItem, fc as FormattingStateSnapshot, f8 as GeometryFacet, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, f5 as InsertImageOptions, I as InsertTableOptions, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, hp as LayoutFacetEvent, hq as LayoutFacetInvalidationReason, hr as LayoutInputIdentity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, L as LoadStage, fw as MAIN_STORY_TARGET, M as MarginPresetDefinition, hs as MetadataConflictPolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, ht as OverlayKind, hu as OverlayVisibilityAuthorship, hv as OverlayVisibilityEnforcement, hw as OverlayVisibilityPolicy, hx as PERCENTAGE_PARTS, hy as PageChromeReservations, hz as PageFieldContext, k as PageFormatDefinition, d8 as PageLayoutSnapshot, hA as PagePatchEntry, hB as PagePatchPlan, hC as PagePatchReason, hD as PagePreviewMaps, d9 as PageRegionHitTest, P as PersistedEditorSnapshot, f3 as PinState, hE as ProtectionRange, u as ProtectionSnapshot, hF as PublicBlockFragment, hG as PublicBlockMeasurement, hH as PublicBorderSpec, hI as PublicCellLocator, hJ as PublicCellShading, hK as PublicFieldDirtinessReport, hL as PublicLayoutDivergence, hM as PublicLineBox, hN as PublicLineRunAnchor, fm as PublicMeasurementFidelity, hO as PublicNoteAllocation, hP as PublicPageAnchor, hQ as PublicPageFrame, hR as PublicPageLocalStoryInstance, hS as PublicPageNode, hT as PublicPagePaginationTelemetry, hU as PublicPageRegion, hV as PublicPageRegions, hW as PublicPageSpan, hX as PublicPaginationTelemetry, hY as PublicRegionBlock, hZ as PublicRegionKind, h_ as PublicResolvedPageStories, h$ as PublicResolvedParagraphFormatting, i0 as PublicResolvedRunFormatting, i1 as PublicResolvedStoryField, i2 as PublicSectionNode, i3 as PublicStoryAnchoredObject, i4 as PublicTableBorders, i5 as PublicTableCellBorders, i6 as PublicTableCellMargins, i7 as PublicTableEvent, i8 as PublicTableRenderPlan, i9 as PublicTableRowHeight, ia as PublicTableStyle, ib as PublicTableSummary, ic as PublicTableWidth, id as PublicTwipsRect, de as REVIEW_ACTION_METADATA_ID, ie as ROTATION_UNITS_PER_DEGREE, ig as RenderAnchorIndex, ih as RenderAnchorQuery, ii as RenderBlock, ij as RenderBlockDecoration, ik as RenderFrame, il as RenderFrameQueryOptions, im as RenderFrameRect, io as RenderHitResult, ip as RenderKernelEvent, iq as RenderLine, ir as RenderLineAnchor, is as RenderPage, it as RenderPageRegions, iu as RenderPoint, iv as RenderStoryRegion, iw as RenderZoom, ix as RenderZoomSummary, iy as ResolveMetadataConflictInput, iz as ResolvedNumberingGeometrySnapshot, iA as ResolvedNumberingSnapshot, df as RestorePointCheckpointType, dg as RestorePointSnapshot, dh as RestoreResult, di as ReviewActionKind, dj as ReviewActionMetadataValue, dk as ReviewQueueItem, dl as ReviewQueueItemKind, dm as ReviewQueueSnapshot, dn as ReviewWorkItemSnapshot, dp as ReviewWorkSnapshot, dq as RuntimeContextAnalyticsActionHint, dr as RuntimeContextAnalyticsBadge, ds as RuntimeContextAnalyticsCounts, dt as RuntimeContextAnalyticsProvenance, du as RuntimeContextAnalyticsQuery, dv as RuntimeContextAnalyticsScopeKind, dw as RuntimeContextAnalyticsSnapshot, dx as RuntimeContextAnalyticsState, dy as RuntimeContextAnalyticsUnavailableField, iB as RuntimeEditTargetContext, bm as RuntimePageGraph, iC as RuntimePageNode, R as RuntimeRenderSnapshot, iD as SRCRECT_UNITS_PER_PERCENT, iE as SanitizeResult, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, iF as ScopeBundle, iG as ScopeBundleEvidence, iH as ScopeBundleNeighborhood, dI as ScopeCardModel, iI as ScopeChromeVisibility, iJ as ScopeChromeVisibilityState, iK as ScopeHandle, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, iL as ScopeQueryFilter, iM as ScopeQueryResult, fk as ScopeRailPosture, f1 as ScopeRailSegment, iN as ScopeRailSnapshot, iO as ScopeTagRegistry, dN as ScopeTagTouch, iP as ScopeVisibility, l as SearchOptions, iQ as SearchResultSnapshot, m as SearchTextOptions, n as SecondaryStorySearchResult, iR as SecondaryStorySurface, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, iS as SemanticScope, iT as SemanticScopeKind, f6 as SessionCapabilities, iU as SetSelectionOptions, aT as SharedWorkflowState, iV as ShortcutDelegationContext, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, iW as StorageReference, iX as StoreEmbeddedDocParams, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, iY as SupportedFieldFamily, e3 as SurfaceBlockSnapshot, iZ as SurfaceDrawingAnchor, e4 as SurfaceInlineSegment, i_ as SurfacePictureEffects, i$ as SurfacePreserveOnlyObjectSizing, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, j0 as SurfaceTextBoxBodyProperties, j1 as SurfaceTextBoxBodySnapshot, j2 as SurfaceTextBoxBodyStatus, j3 as SurfaceTextBoxParagraphSnapshot, j4 as SurfaceTextBoxRunSnapshot, e7 as SurfaceTextMark, j5 as TWIPS_PER_PX, j6 as TableOp, j7 as TableOpResult, j8 as TableOperationCapabilitySnapshot, fg as TableStructureContextSnapshot, b8 as TextCommandAck, ed as TextCommandAckKind, b9 as TextCommandRefreshClass, h as TextFormattingDirective, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, j9 as TextStyleFilter, ei as TocEntrySnapshot, ja as TocRefreshOptions, jb as TocRefreshResult, jc as TocRefreshTrigger, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, jd as UpdateFieldsOptions, je as UpdateFieldsResult, en as ViewMode, jf as WordReviewEditorChangesFacet, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, jg as WordReviewEditorCommentsFacet, jh as WordReviewEditorDiagnosticsFacet, ji as WordReviewEditorDocumentFacet, er as WordReviewEditorEvent, jj as WordReviewEditorFieldsFacet, f7 as WordReviewEditorLayoutFacet, jk as WordReviewEditorPasteEvent, ba as WordReviewEditorProps, bb as WordReviewEditorRef, jl as WordReviewEditorScopesFacet, jm as WordReviewEditorTablesFacet, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, jn as WorkflowEventOrigin, f9 as WorkflowFacet, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, jo as WorkflowLockedZone, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, jp as WorkflowMarkupMode, jq as WorkflowMarkupModeEnforcement, jr as WorkflowMarkupModePolicy, eB as WorkflowMarkupSnapshot, eC as WorkflowMetadataDefinition, eD as WorkflowMetadataEntry, eE as WorkflowMetadataMarkup, eF as WorkflowMetadataPersistence, eG as WorkflowMetadataSnapshot, eH as WorkflowOpaqueFragmentMarkup, eI as WorkflowOverlay, eJ as WorkflowOverlayPatch, eK as WorkflowProtectedRangeMarkup, eL as WorkflowRevisionMarkup, eM as WorkflowScope, js as WorkflowScopeGuardPolicy, jt as WorkflowScopeMetadataField, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ju as buildPagePreviewMaps, jv as buildSearchPattern, jw as createCanvasBackend, jx as createPagePatchPlan, jy as createPublicNodeAnchor, jz as createPublicRangeAnchor, jA as createScopeTagRegistry, o as createSearchExcerpt, fp as deriveCapabilities, jB as estimateBlockHeight, jC as estimateParagraphLineCount, jD as estimateParagraphLineHeight, jE as findPageForOffset, p as findSearchMatches, jF as getUsableColumnWidth, jG as resolvePageFieldDisplayText, jH as sanitizeMarkdown, s as searchSecondaryStories, jI as storyTargetKey, fN as storyTargetsEqual } from '../public-types-S8gTYwKo.cjs';
3
3
  import 'y-protocols/awareness';
4
4
  import 'yjs';
5
5
  export { ad as AreaChartModel, ae as Axis, af as AxisBase, ag as BarChartModel, B as BlockNode, ah as BubbleChartModel, ai as BubbleSeries, a2 as CanonicalParagraphFormatting, a0 as CanonicalRunFormatting, aj as CategoryAxis, ak as CategoryLikeAxis, al as ChartCommon, a6 as ChartModel, am as ColorMod, a8 as ColorRef, an as ComboChartModel, ao as DataLabelsSpec, ap as DataPointOverride, aq as DateAxis, a3 as FillSpec, ar as Legend, as as LineChartModel, at as LineSeries, au as MarkerSpec, av as PieChartModel, aw as PieSeries, a7 as ResolvedTheme, ax as ScatterChartModel, ay as ScatterSeries, az as Series, aA as SeriesAxis, aB as SeriesBase, aC as ShapeProperties, a5 as StrokeSpec, G as TextMark, a4 as TextProperties, aD as Title, aE as UnsupportedChartModel, aF as UnsupportedReason, aG as ValueAxis } from '../canonical-document-CfZIc-fC.cjs';
@@ -1,5 +1,5 @@
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, hj as LayoutInputIdentity, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hk as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hl as OverlayKind, hm as OverlayVisibilityAuthorship, hn as OverlayVisibilityEnforcement, ho as OverlayVisibilityPolicy, hp as PERCENTAGE_PARTS, hq as PageChromeReservations, hr as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hs as PagePatchEntry, ht as PagePatchPlan, hu as PagePatchReason, hv as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hw as ProtectionRange, t as ProtectionSnapshot, hx as PublicBlockFragment, hy as PublicBlockMeasurement, hz as PublicBorderSpec, hA as PublicCellLocator, hB as PublicCellShading, hC as PublicFieldDirtinessReport, hD as PublicLayoutDivergence, hE as PublicLineBox, hF as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hG as PublicNoteAllocation, hH as PublicPageAnchor, hI as PublicPageFrame, hJ as PublicPageLocalStoryInstance, hK as PublicPageNode, hL as PublicPagePaginationTelemetry, hM as PublicPageRegion, hN as PublicPageRegions, hO as PublicPageSpan, hP as PublicPaginationTelemetry, hQ as PublicRegionBlock, hR as PublicRegionKind, hS as PublicResolvedPageStories, hT as PublicResolvedParagraphFormatting, hU as PublicResolvedRunFormatting, hV as PublicResolvedStoryField, hW as PublicSectionNode, hX as PublicStoryAnchoredObject, hY as PublicTableBorders, hZ as PublicTableCellBorders, h_ as PublicTableCellMargins, h$ as PublicTableEvent, i0 as PublicTableRenderPlan, i1 as PublicTableRowHeight, i2 as PublicTableStyle, i3 as PublicTableSummary, i4 as PublicTableWidth, i5 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i6 as ROTATION_UNITS_PER_DEGREE, i7 as RenderAnchorIndex, i8 as RenderAnchorQuery, i9 as RenderBlock, ia as RenderBlockDecoration, ib as RenderFrame, ic as RenderFrameQueryOptions, id as RenderFrameRect, ie as RenderHitResult, ig as RenderKernelEvent, ih as RenderLine, ii as RenderLineAnchor, ij as RenderPage, ik as RenderPageRegions, il as RenderPoint, im as RenderStoryRegion, io as RenderZoom, ip as RenderZoomSummary, iq as ResolveMetadataConflictInput, ir as ResolvedNumberingGeometrySnapshot, is 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, it as RuntimeEditTargetContext, be as RuntimePageGraph, iu as RuntimePageNode, R as RuntimeRenderSnapshot, iv as SRCRECT_UNITS_PER_PERCENT, iw as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, ix as ScopeBundle, iy as ScopeBundleEvidence, iz as ScopeBundleNeighborhood, dA as ScopeCardModel, iA as ScopeChromeVisibility, iB as ScopeChromeVisibilityState, iC as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iD as ScopeQueryFilter, iE as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iF as ScopeRailSnapshot, iG as ScopeTagRegistry, dF as ScopeTagTouch, iH as ScopeVisibility, j as SearchOptions, iI as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iJ as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iK as SemanticScope, iL as SemanticScopeKind, e_ as SessionCapabilities, iM as SetSelectionOptions, aL as SharedWorkflowState, iN as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iO as StorageReference, iP as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iQ as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iR as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iS as SurfacePictureEffects, iT as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iU as SurfaceTextBoxBodyProperties, iV as SurfaceTextBoxBodySnapshot, iW as SurfaceTextBoxBodyStatus, iX as SurfaceTextBoxParagraphSnapshot, iY as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iZ as TWIPS_PER_PX, i_ as TableOp, i$ as TableOpResult, j0 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, j1 as TextStyleFilter, ea as TocEntrySnapshot, j2 as TocRefreshOptions, j3 as TocRefreshResult, j4 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j5 as UpdateFieldsOptions, j6 as UpdateFieldsResult, ef as ViewMode, j7 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j8 as WordReviewEditorCommentsFacet, j9 as WordReviewEditorDiagnosticsFacet, ja as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, jb as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, jc as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, jd as WordReviewEditorScopesFacet, je as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jf as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jg as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jh as WorkflowMarkupMode, ji as WorkflowMarkupModeEnforcement, jj 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, jk as WorkflowScopeGuardPolicy, jl as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, jm as buildPagePreviewMaps, jn as buildSearchPattern, jo as createCanvasBackend, jp as createPagePatchPlan, jq as createPublicNodeAnchor, jr as createPublicRangeAnchor, js as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jt as estimateBlockHeight, ju as estimateParagraphLineCount, jv as estimateParagraphLineHeight, jw as findPageForOffset, n as findSearchMatches, jx as getUsableColumnWidth, jy as resolvePageFieldDisplayText, jz as sanitizeMarkdown, s as searchSecondaryStories, jA as storyTargetKey, fF as storyTargetsEqual } from '../public-types-Cjs8glST.js';
2
+ export { bn as ActiveListContext, gT as ActiveMarginPreset, bo as ActiveNoteContext, gU as ActivePageFormat, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, gV as AddScopeParams, gW as AddScopeResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, bw as AutosaveConfig, bx as AutosaveState, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, gX as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gY as CanonicalDocumentFragment, gZ as CapabilityBlockReason, g_ as CapabilityCategory, g$ as CapabilityKind, h0 as CapabilityShortcut, bD as CaretAffinity, bE as ChangeAnchor, bF as ChangeFilter, bG as ChartPreviewResolveParams, bH as ChartSnapshot, bI as ChartSnapshotBubbleSeries, bJ as ChartSnapshotData, bK as ChartSnapshotScatterSeries, bL as ChartSnapshotSeries, f2 as ChromePinSurface, fl as ChromePinsState, h1 as ClearHighlightOptions, bN as CollabSession, bT as CommandStateSnapshot, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, r as CompatibilityReport, h2 as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, h3 as DEFAULT_PX_PER_TWIP, h4 as DecorationIndex, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, h5 as DocumentMode, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, h6 as EMU_PER_INCH, h7 as EMU_PER_PX, fo as EditableTargetRef, cs as EditorAnchorProjection, h8 as EditorApiError, h9 as EditorCapability, ct as EditorDatastoreAdapter, ha as EditorDiagnostic, hb as EditorDiagnosticCode, hc as EditorDiagnosticLlmMetadata, hd as EditorDiagnosticRecoveryClass, he as EditorDiagnosticRemediation, hf as EditorDiagnosticSource, hg as EditorDiagnosticTechnical, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, fh as EditorRole, a as EditorSessionState, cv as EditorStateBlob, aA as EditorStateLocation, az as EditorStateNamespace, cw as EditorStatePartLoadFailure, cx as EditorStatePartPersistFailure, cy as EditorStatePersister, cz as EditorStatePolicy, cA as EditorStatePolicyEntry, cB as EditorStatePolicyMigration, cC as EditorStateResolveErrorMode, cD as EditorStateResolver, cE as EditorStateStorageRef, cF as EditorStoryTarget, d as EditorSurfaceSnapshot, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, hh as EffectiveSelectionMode, hi as EmbeddedDocumentManifestLike, hj as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cM as ExternalDocumentSource, hk as FieldEntrySnapshot, hl as FieldFamily, hm as FieldRefreshStatus, hn as FieldSnapshot, f4 as FormattingAlignment, ho as FormattingBreadcrumbItem, fc as FormattingStateSnapshot, f8 as GeometryFacet, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, f5 as InsertImageOptions, I as InsertTableOptions, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, hp as LayoutFacetEvent, hq as LayoutFacetInvalidationReason, hr as LayoutInputIdentity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, L as LoadStage, fw as MAIN_STORY_TARGET, M as MarginPresetDefinition, hs as MetadataConflictPolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, ht as OverlayKind, hu as OverlayVisibilityAuthorship, hv as OverlayVisibilityEnforcement, hw as OverlayVisibilityPolicy, hx as PERCENTAGE_PARTS, hy as PageChromeReservations, hz as PageFieldContext, k as PageFormatDefinition, d8 as PageLayoutSnapshot, hA as PagePatchEntry, hB as PagePatchPlan, hC as PagePatchReason, hD as PagePreviewMaps, d9 as PageRegionHitTest, P as PersistedEditorSnapshot, f3 as PinState, hE as ProtectionRange, u as ProtectionSnapshot, hF as PublicBlockFragment, hG as PublicBlockMeasurement, hH as PublicBorderSpec, hI as PublicCellLocator, hJ as PublicCellShading, hK as PublicFieldDirtinessReport, hL as PublicLayoutDivergence, hM as PublicLineBox, hN as PublicLineRunAnchor, fm as PublicMeasurementFidelity, hO as PublicNoteAllocation, hP as PublicPageAnchor, hQ as PublicPageFrame, hR as PublicPageLocalStoryInstance, hS as PublicPageNode, hT as PublicPagePaginationTelemetry, hU as PublicPageRegion, hV as PublicPageRegions, hW as PublicPageSpan, hX as PublicPaginationTelemetry, hY as PublicRegionBlock, hZ as PublicRegionKind, h_ as PublicResolvedPageStories, h$ as PublicResolvedParagraphFormatting, i0 as PublicResolvedRunFormatting, i1 as PublicResolvedStoryField, i2 as PublicSectionNode, i3 as PublicStoryAnchoredObject, i4 as PublicTableBorders, i5 as PublicTableCellBorders, i6 as PublicTableCellMargins, i7 as PublicTableEvent, i8 as PublicTableRenderPlan, i9 as PublicTableRowHeight, ia as PublicTableStyle, ib as PublicTableSummary, ic as PublicTableWidth, id as PublicTwipsRect, de as REVIEW_ACTION_METADATA_ID, ie as ROTATION_UNITS_PER_DEGREE, ig as RenderAnchorIndex, ih as RenderAnchorQuery, ii as RenderBlock, ij as RenderBlockDecoration, ik as RenderFrame, il as RenderFrameQueryOptions, im as RenderFrameRect, io as RenderHitResult, ip as RenderKernelEvent, iq as RenderLine, ir as RenderLineAnchor, is as RenderPage, it as RenderPageRegions, iu as RenderPoint, iv as RenderStoryRegion, iw as RenderZoom, ix as RenderZoomSummary, iy as ResolveMetadataConflictInput, iz as ResolvedNumberingGeometrySnapshot, iA as ResolvedNumberingSnapshot, df as RestorePointCheckpointType, dg as RestorePointSnapshot, dh as RestoreResult, di as ReviewActionKind, dj as ReviewActionMetadataValue, dk as ReviewQueueItem, dl as ReviewQueueItemKind, dm as ReviewQueueSnapshot, dn as ReviewWorkItemSnapshot, dp as ReviewWorkSnapshot, dq as RuntimeContextAnalyticsActionHint, dr as RuntimeContextAnalyticsBadge, ds as RuntimeContextAnalyticsCounts, dt as RuntimeContextAnalyticsProvenance, du as RuntimeContextAnalyticsQuery, dv as RuntimeContextAnalyticsScopeKind, dw as RuntimeContextAnalyticsSnapshot, dx as RuntimeContextAnalyticsState, dy as RuntimeContextAnalyticsUnavailableField, iB as RuntimeEditTargetContext, bm as RuntimePageGraph, iC as RuntimePageNode, R as RuntimeRenderSnapshot, iD as SRCRECT_UNITS_PER_PERCENT, iE as SanitizeResult, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, iF as ScopeBundle, iG as ScopeBundleEvidence, iH as ScopeBundleNeighborhood, dI as ScopeCardModel, iI as ScopeChromeVisibility, iJ as ScopeChromeVisibilityState, iK as ScopeHandle, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, iL as ScopeQueryFilter, iM as ScopeQueryResult, fk as ScopeRailPosture, f1 as ScopeRailSegment, iN as ScopeRailSnapshot, iO as ScopeTagRegistry, dN as ScopeTagTouch, iP as ScopeVisibility, l as SearchOptions, iQ as SearchResultSnapshot, m as SearchTextOptions, n as SecondaryStorySearchResult, iR as SecondaryStorySurface, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, iS as SemanticScope, iT as SemanticScopeKind, f6 as SessionCapabilities, iU as SetSelectionOptions, aT as SharedWorkflowState, iV as ShortcutDelegationContext, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, iW as StorageReference, iX as StoreEmbeddedDocParams, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, iY as SupportedFieldFamily, e3 as SurfaceBlockSnapshot, iZ as SurfaceDrawingAnchor, e4 as SurfaceInlineSegment, i_ as SurfacePictureEffects, i$ as SurfacePreserveOnlyObjectSizing, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, j0 as SurfaceTextBoxBodyProperties, j1 as SurfaceTextBoxBodySnapshot, j2 as SurfaceTextBoxBodyStatus, j3 as SurfaceTextBoxParagraphSnapshot, j4 as SurfaceTextBoxRunSnapshot, e7 as SurfaceTextMark, j5 as TWIPS_PER_PX, j6 as TableOp, j7 as TableOpResult, j8 as TableOperationCapabilitySnapshot, fg as TableStructureContextSnapshot, b8 as TextCommandAck, ed as TextCommandAckKind, b9 as TextCommandRefreshClass, h as TextFormattingDirective, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, j9 as TextStyleFilter, ei as TocEntrySnapshot, ja as TocRefreshOptions, jb as TocRefreshResult, jc as TocRefreshTrigger, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, jd as UpdateFieldsOptions, je as UpdateFieldsResult, en as ViewMode, jf as WordReviewEditorChangesFacet, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, jg as WordReviewEditorCommentsFacet, jh as WordReviewEditorDiagnosticsFacet, ji as WordReviewEditorDocumentFacet, er as WordReviewEditorEvent, jj as WordReviewEditorFieldsFacet, f7 as WordReviewEditorLayoutFacet, jk as WordReviewEditorPasteEvent, ba as WordReviewEditorProps, bb as WordReviewEditorRef, jl as WordReviewEditorScopesFacet, jm as WordReviewEditorTablesFacet, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, jn as WorkflowEventOrigin, f9 as WorkflowFacet, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, jo as WorkflowLockedZone, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, jp as WorkflowMarkupMode, jq as WorkflowMarkupModeEnforcement, jr as WorkflowMarkupModePolicy, eB as WorkflowMarkupSnapshot, eC as WorkflowMetadataDefinition, eD as WorkflowMetadataEntry, eE as WorkflowMetadataMarkup, eF as WorkflowMetadataPersistence, eG as WorkflowMetadataSnapshot, eH as WorkflowOpaqueFragmentMarkup, eI as WorkflowOverlay, eJ as WorkflowOverlayPatch, eK as WorkflowProtectedRangeMarkup, eL as WorkflowRevisionMarkup, eM as WorkflowScope, js as WorkflowScopeGuardPolicy, jt as WorkflowScopeMetadataField, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ju as buildPagePreviewMaps, jv as buildSearchPattern, jw as createCanvasBackend, jx as createPagePatchPlan, jy as createPublicNodeAnchor, jz as createPublicRangeAnchor, jA as createScopeTagRegistry, o as createSearchExcerpt, fp as deriveCapabilities, jB as estimateBlockHeight, jC as estimateParagraphLineCount, jD as estimateParagraphLineHeight, jE as findPageForOffset, p as findSearchMatches, jF as getUsableColumnWidth, jG as resolvePageFieldDisplayText, jH as sanitizeMarkdown, s as searchSecondaryStories, jI as storyTargetKey, fN as storyTargetsEqual } from '../public-types-B5lOUIrP.js';
3
3
  import 'y-protocols/awareness';
4
4
  import 'yjs';
5
5
  export { ad as AreaChartModel, ae as Axis, af as AxisBase, ag as BarChartModel, B as BlockNode, ah as BubbleChartModel, ai as BubbleSeries, a2 as CanonicalParagraphFormatting, a0 as CanonicalRunFormatting, aj as CategoryAxis, ak as CategoryLikeAxis, al as ChartCommon, a6 as ChartModel, am as ColorMod, a8 as ColorRef, an as ComboChartModel, ao as DataLabelsSpec, ap as DataPointOverride, aq as DateAxis, a3 as FillSpec, ar as Legend, as as LineChartModel, at as LineSeries, au as MarkerSpec, av as PieChartModel, aw as PieSeries, a7 as ResolvedTheme, ax as ScatterChartModel, ay as ScatterSeries, az as Series, aA as SeriesAxis, aB as SeriesBase, aC as ShapeProperties, a5 as StrokeSpec, G as TextMark, a4 as TextProperties, aD as Title, aE as UnsupportedChartModel, aF as UnsupportedReason, aG as ValueAxis } from '../canonical-document-CfZIc-fC.js';
@@ -20,7 +20,7 @@ import {
20
20
  getUsableColumnWidth,
21
21
  sanitizeMarkdown,
22
22
  searchSecondaryStories
23
- } from "../chunk-LPLJZJT2.js";
23
+ } from "../chunk-CVSD3UNK.js";
24
24
  import {
25
25
  createCanvasBackend
26
26
  } from "../chunk-OVLZQ6FZ.js";
@@ -28,7 +28,7 @@ import "../chunk-QIO6V46H.js";
28
28
  import {
29
29
  resolvePageFieldDisplayText,
30
30
  storyTargetKey
31
- } from "../chunk-U3UMKA7B.js";
31
+ } from "../chunk-XBQFDBXE.js";
32
32
  import "../chunk-OYGMRRR7.js";
33
33
  import {
34
34
  EMU_PER_INCH,
@@ -37,7 +37,7 @@ import {
37
37
  ROTATION_UNITS_PER_DEGREE,
38
38
  SRCRECT_UNITS_PER_PERCENT,
39
39
  TWIPS_PER_PX
40
- } from "../chunk-RYMMKOFI.js";
40
+ } from "../chunk-5KTJKTNE.js";
41
41
  import "../chunk-UFVDIR2C.js";
42
42
  import {
43
43
  createPublicNodeAnchor,