docxodus 7.1.0 → 9.0.0

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 (91) hide show
  1. package/README.md +65 -24
  2. package/dist/docxodus.worker.js +2 -2
  3. package/dist/docxodus.worker.js.map +1 -1
  4. package/dist/editor-headerfooter.d.ts +166 -0
  5. package/dist/editor-headerfooter.d.ts.map +1 -0
  6. package/dist/editor-headerfooter.js +530 -0
  7. package/dist/editor-headerfooter.js.map +1 -0
  8. package/dist/editor-reconcile.d.ts +75 -0
  9. package/dist/editor-reconcile.d.ts.map +1 -0
  10. package/dist/editor-reconcile.js +125 -0
  11. package/dist/editor-reconcile.js.map +1 -0
  12. package/dist/editor.bundle.js +1861 -110
  13. package/dist/editor.d.ts +200 -6
  14. package/dist/editor.d.ts.map +1 -1
  15. package/dist/editor.js +868 -86
  16. package/dist/editor.js.map +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +3 -4
  20. package/dist/index.js.map +1 -1
  21. package/dist/page-number-format.d.ts +22 -0
  22. package/dist/page-number-format.d.ts.map +1 -0
  23. package/dist/page-number-format.js +60 -0
  24. package/dist/page-number-format.js.map +1 -0
  25. package/dist/pagination.bundle.js +635 -37
  26. package/dist/pagination.d.ts +119 -0
  27. package/dist/pagination.d.ts.map +1 -1
  28. package/dist/pagination.js +706 -52
  29. package/dist/pagination.js.map +1 -1
  30. package/dist/react.d.ts +3 -1
  31. package/dist/react.d.ts.map +1 -1
  32. package/dist/react.js +6 -4
  33. package/dist/react.js.map +1 -1
  34. package/dist/session.bundle.js +241 -4
  35. package/dist/session.d.ts +160 -6
  36. package/dist/session.d.ts.map +1 -1
  37. package/dist/session.js +202 -4
  38. package/dist/session.js.map +1 -1
  39. package/dist/types.d.ts +238 -14
  40. package/dist/types.d.ts.map +1 -1
  41. package/dist/types.js +9 -11
  42. package/dist/types.js.map +1 -1
  43. package/dist/wasm/_framework/Docxodus.wasm +0 -0
  44. package/dist/wasm/_framework/DocxodusWasm.wasm +0 -0
  45. package/dist/wasm/_framework/System.Collections.Concurrent.wasm +0 -0
  46. package/dist/wasm/_framework/System.Collections.Immutable.wasm +0 -0
  47. package/dist/wasm/_framework/System.Collections.NonGeneric.wasm +0 -0
  48. package/dist/wasm/_framework/System.Collections.Specialized.wasm +0 -0
  49. package/dist/wasm/_framework/System.Collections.wasm +0 -0
  50. package/dist/wasm/_framework/System.ComponentModel.Primitives.wasm +0 -0
  51. package/dist/wasm/_framework/System.ComponentModel.TypeConverter.wasm +0 -0
  52. package/dist/wasm/_framework/System.ComponentModel.wasm +0 -0
  53. package/dist/wasm/_framework/System.Console.wasm +0 -0
  54. package/dist/wasm/_framework/System.Diagnostics.Process.wasm +0 -0
  55. package/dist/wasm/_framework/System.IO.Compression.wasm +0 -0
  56. package/dist/wasm/_framework/System.IO.Pipelines.wasm +0 -0
  57. package/dist/wasm/_framework/System.Linq.Expressions.wasm +0 -0
  58. package/dist/wasm/_framework/System.Linq.wasm +0 -0
  59. package/dist/wasm/_framework/System.Memory.wasm +0 -0
  60. package/dist/wasm/_framework/System.Net.Http.wasm +0 -0
  61. package/dist/wasm/_framework/System.Net.Primitives.wasm +0 -0
  62. package/dist/wasm/_framework/System.ObjectModel.wasm +0 -0
  63. package/dist/wasm/_framework/System.Private.CoreLib.wasm +0 -0
  64. package/dist/wasm/_framework/System.Private.Uri.wasm +0 -0
  65. package/dist/wasm/_framework/System.Private.Xml.Linq.wasm +0 -0
  66. package/dist/wasm/_framework/System.Private.Xml.wasm +0 -0
  67. package/dist/wasm/_framework/System.Runtime.InteropServices.JavaScript.wasm +0 -0
  68. package/dist/wasm/_framework/System.Runtime.wasm +0 -0
  69. package/dist/wasm/_framework/System.Security.Cryptography.wasm +0 -0
  70. package/dist/wasm/_framework/System.Text.Encoding.Extensions.wasm +0 -0
  71. package/dist/wasm/_framework/System.Text.Encodings.Web.wasm +0 -0
  72. package/dist/wasm/_framework/System.Text.Json.wasm +0 -0
  73. package/dist/wasm/_framework/System.Text.RegularExpressions.wasm +0 -0
  74. package/dist/wasm/_framework/System.Threading.Thread.wasm +0 -0
  75. package/dist/wasm/_framework/System.Threading.wasm +0 -0
  76. package/dist/wasm/_framework/System.Xml.Linq.wasm +0 -0
  77. package/dist/wasm/_framework/System.Xml.ReaderWriter.wasm +0 -0
  78. package/dist/wasm/_framework/System.Xml.XDocument.wasm +0 -0
  79. package/dist/wasm/_framework/System.Xml.XPath.XDocument.wasm +0 -0
  80. package/dist/wasm/_framework/System.Xml.XPath.wasm +0 -0
  81. package/dist/wasm/_framework/System.wasm +0 -0
  82. package/dist/wasm/_framework/dotnet.boot.js +41 -41
  83. package/dist/wasm/_framework/dotnet.js +1 -1
  84. package/dist/wasm/_framework/dotnet.js.map +1 -1
  85. package/dist/wasm/_framework/dotnet.native.js +3 -3
  86. package/dist/wasm/_framework/dotnet.native.js.symbols +2102 -2101
  87. package/dist/wasm/_framework/dotnet.native.wasm +0 -0
  88. package/dist/wasm/_framework/dotnet.runtime.js +1 -1
  89. package/dist/wasm/_framework/dotnet.runtime.js.map +1 -1
  90. package/dist/wasm/index.html +2 -1
  91. package/package.json +17 -4
package/dist/editor.d.ts CHANGED
@@ -16,6 +16,8 @@
16
16
  * edited block is not preserved — a documented MVP limit); UNTOUCHED blocks keep
17
17
  * full fidelity, and save() is lossless for them.
18
18
  */
19
+ import type { BandWhich } from "./editor-headerfooter.js";
20
+ import type { HeaderFooterKind, NumberFormat } from "./types.js";
19
21
  /** The subset of WASM bridge exports the editor needs (as exposed on `window.Docxodus`). */
20
22
  export interface DocxEditorExports {
21
23
  DocxSessionBridge: {
@@ -44,8 +46,28 @@ export interface DocxEditorExports {
44
46
  /** Session-attached full-document render (optional: older WASM bundles lack it). */
45
47
  RenderHtml?: (handle: number, cssPrefix: string, fabricateClasses: boolean, paginated: boolean, scale: number) => string;
46
48
  Save: (handle: number) => Uint8Array;
49
+ /** Save keeping the projector's Unid bookkeeping — remount only, never a user download.
50
+ * Optional so a bridge predating it still satisfies this type. */
51
+ SaveWithAnchorIds?: (handle: number) => Uint8Array;
47
52
  Undo: (handle: number) => boolean;
48
53
  Redo: (handle: number) => boolean;
54
+ /** Header/footer region: the section a body anchor belongs to (kind → part mapping). */
55
+ GetSectionInfo: (handle: number, anchorId: string) => string;
56
+ SetHeaderText: (handle: number, anchor: string, kind: string, markdown: string) => string;
57
+ SetFooterText: (handle: number, anchor: string, kind: string, markdown: string) => string;
58
+ InsertPageNumberField: (handle: number, anchor: string, field: string, format: string) => string;
59
+ EnsureHeaderFooterVisible: (handle: number, anchor: string, kind: string) => string;
60
+ SetPageNumbering: (handle: number, anchor: string, opJson: string) => string;
61
+ ClearPageNumbering: (handle: number, anchor: string) => string;
62
+ /** Note authoring (optional: older WASM bundles predate it). */
63
+ InsertFootnote?: (handle: number, anchor: string, characterOffset: number, markdown: string) => string;
64
+ InsertEndnote?: (handle: number, anchor: string, characterOffset: number, markdown: string) => string;
65
+ /** Incremental-reconcile endpoints (optional: older WASM bundles predate them;
66
+ * the editor falls back to full remounts / full projections without them). */
67
+ ListBlocks?: (handle: number) => string;
68
+ ListNotes?: (handle: number, endnotes: boolean) => string;
69
+ ListAnchors?: (handle: number) => string;
70
+ RenderBlocksHtml?: (handle: number, anchorIdsJson: string, cssPrefix: string, fabricateClasses: boolean) => string;
49
71
  };
50
72
  DocumentConverter: {
51
73
  ConvertDocxToHtmlComplete: (...args: any[]) => string;
@@ -67,6 +89,13 @@ export interface DocxEditorOptions {
67
89
  paginated?: boolean;
68
90
  /** Page render scale for paginated mode (1.0 = 100%). Default 1. */
69
91
  scale?: number;
92
+ /**
93
+ * Render docked Header/Footer editing bands around the body flow. Default FALSE — with it off
94
+ * the editor's DOM is unchanged, so existing consumers are unaffected. When on, the body flow
95
+ * is wrapped in a `.docx-body-flow` element that becomes the edit root, keeping band blocks out
96
+ * of the body's block list (which indexes remount focus).
97
+ */
98
+ headerFooter?: boolean;
70
99
  /** Called after a block edit commits (with the affected anchor). */
71
100
  onEdit?: (info: {
72
101
  anchorId: string;
@@ -110,11 +139,35 @@ export declare class DocxEditor {
110
139
  * block, and cleared when a caret is collapsed inside a block (so it never goes stale).
111
140
  */
112
141
  private lastSelection;
142
+ /** The docked header/footer bands, when `options.headerFooter` is on. */
143
+ private region;
144
+ /** Why the last reconcile() fell back to a full remount (null = it patched). For
145
+ * diagnostics/specs; not part of the public API. */
146
+ private lastReconcileFallback;
113
147
  private constructor();
114
148
  /** Track the last meaningful selection so focus-stealing toolbar controls can still target it. */
115
149
  private readonly onSelectionChange;
116
- /** The editable block (contenteditable [data-anchor]) containing `node`, if any, within this editor. */
150
+ /** The editable block (contenteditable [data-anchor]) containing `node`, if any, within this editor.
151
+ * Fenced by `container`, not `editRoot`, so header/footer band blocks — which live outside the
152
+ * body edit root by design — also register. The fence still rejects other editors on the page. */
117
153
  private editableBlockOf;
154
+ /**
155
+ * The root owning `el`'s sibling block list: its header/footer band's story container, else the
156
+ * body edit root. Keeps a multi-block selection from spanning a band and the body, whose block
157
+ * lists belong to different OOXML parts.
158
+ */
159
+ private ownerRoot;
160
+ /** True when `el` is a header/footer band block rather than a body block. */
161
+ private isBandBlock;
162
+ /**
163
+ * Repaint after an edit to `block` that would otherwise remount the whole document: a band
164
+ * repaints only itself (a story is one to three paragraphs), leaving the body DOM — and the
165
+ * user's place in it — untouched; a body edit reconciles incrementally. `forceRemount` is
166
+ * for ops whose repaint provably needs whole-document context the reconciler cannot see:
167
+ * list membership/level changes (sibling numbering shifts without sibling XML changing)
168
+ * and border-div regrouping (HR insert, clearBorders).
169
+ */
170
+ private refreshAfter;
118
171
  /** Open a document, render it into `container`, and wire up editing. */
119
172
  static open(container: HTMLElement, bytes: Uint8Array, exports: DocxEditorExports, options?: DocxEditorOptions): DocxEditor;
120
173
  /**
@@ -136,8 +189,39 @@ export declare class DocxEditor {
136
189
  /** The editor's current DOM (for inspection/tests). */
137
190
  get root(): HTMLElement;
138
191
  private assertOpen;
139
- /** Rebuild unid → full-anchor-id from the live session projection. */
192
+ /**
193
+ * Rebuild unid → full-anchor-id from the live session projection.
194
+ *
195
+ * Unids are CONTENT-ADDRESSED, so blocks with identical content in DIFFERENT parts collide —
196
+ * e.g. a document with empty default/first/even header stories has one unid for several
197
+ * header parts. A collision must resolve to the BODY entry: body blocks carry only
198
+ * `data-anchor` (the bare unid) and have nothing else to resolve through, whereas a
199
+ * header/footer band block carries its full anchor in `data-hf-anchor` and is resolved from
200
+ * that (see `anchorIdOf`). Letting a non-body scope win here would silently redirect a body
201
+ * edit into a header part.
202
+ */
140
203
  private refreshAnchorMap;
204
+ /**
205
+ * The full `kind:scope:unid` anchor for a rendered block. A header/footer band block carries
206
+ * its own — the unid map cannot disambiguate one, since several parts' story paragraphs can
207
+ * share a content-addressed unid (a real Word document with empty default/first/even stories
208
+ * does exactly that, and a unid-keyed lookup would land the edit in the wrong header part).
209
+ */
210
+ private anchorIdOf;
211
+ /** Build the header/footer region (called once, before the first mount). */
212
+ private createRegion;
213
+ /**
214
+ * Point the bands at the section governing the current focus (or the first body block).
215
+ * Called after every mount, and on focus of a body block, so a multi-section document shows
216
+ * the stories that actually apply where the caret is.
217
+ */
218
+ private syncRegionToBody;
219
+ /**
220
+ * Insert the bands around `bodyRoot` and make `bodyRoot` the edit root. Band blocks must stay
221
+ * OUT of the edit root: `editableList()`/`blockIndex()` enumerate it to compute remount focus
222
+ * indices, and band blocks in that list would shift every index.
223
+ */
224
+ private dockBands;
141
225
  /** Continuous (non-paginated) mount: inject the converter's styles + body, wire blocks. */
142
226
  private mountHtml;
143
227
  /** Paginated mount: flow blocks into page boxes via pagination.ts, wire the page clones. */
@@ -182,7 +266,7 @@ export declare class DocxEditor {
182
266
  private syncBlock;
183
267
  /** Render a block by anchor and parse it into a detached element (null on error). */
184
268
  private renderInto;
185
- /** The editable block immediately before `el` in document order, or null. */
269
+ /** The editable block immediately before `el` within its own root, or null. */
186
270
  private previousEditable;
187
271
  private parseEdit;
188
272
  /** Editable blocks the current selection covers, in document order. Uses Range.comparePoint
@@ -296,14 +380,65 @@ export declare class DocxEditor {
296
380
  * smoke-test "no block-delete affordance" gap.
297
381
  */
298
382
  deleteBlock(): void;
383
+ /**
384
+ * Cite a new footnote from the caret position in the active body block. The note definition is
385
+ * created (writing the whole Word scaffold — part, reserved separator notes, settings
386
+ * declaration, styles — on a document that has none yet) and its body renders as ordinary
387
+ * editable `data-anchor` blocks in the notes section, so editing it afterwards needs no new op.
388
+ *
389
+ * Body blocks only: Word disallows a note reference inside a header/footer story or inside
390
+ * another note, and the session rejects those with `AnchorWrongKind`. Remounts, because a new
391
+ * note renumbers the citations after it and can add a whole part.
392
+ */
393
+ insertFootnote(markdown?: string): void;
394
+ /** Cite a new endnote from the caret — see {@link insertFootnote}; writes the endnotes part. */
395
+ insertEndnote(markdown?: string): void;
396
+ private insertNote;
299
397
  private applyParagraphFormat;
300
398
  /** Set the paragraph style of the active block — or of every block in a multi-block selection
301
399
  * (e.g. "Heading1", "Heading2", "Normal"). */
302
400
  setParagraphStyle(styleId: string): void;
303
- /** Undo the last edit (re-renders the document). */
401
+ /** Undo the last edit (incremental repaint; falls back to a full re-render). */
304
402
  undo(): void;
305
- /** Redo the last undone edit (re-renders the document). */
403
+ /** Redo the last undone edit (incremental repaint; falls back to a full re-render). */
306
404
  redo(): void;
405
+ /**
406
+ * Select which story kind a band edits (`"default"` / `"first"` / `"even"`). A kind with no
407
+ * existing part is created empty, so the band always presents something editable. `"first"`
408
+ * sets the section's `w:titlePg`; `"even"` sets the document-global `w:evenAndOddHeaders`
409
+ * (which also governs footers — the band surfaces that caveat inline).
410
+ */
411
+ setHeaderFooterKind(which: BandWhich, kind: HeaderFooterKind): void;
412
+ /** The story kind a band is currently editing, or null when the region is off. */
413
+ headerFooterKind(which: BandWhich): HeaderFooterKind | null;
414
+ /**
415
+ * Append a page-number field to the focused header/footer story paragraph (falling back to the
416
+ * band's last paragraph — Word's convention). No-op outside a band.
417
+ */
418
+ insertPageNumber(field?: "currentPage" | "totalPages"): void;
419
+ /**
420
+ * Set the page numbering of the section the bands describe (`w:pgNumType`) — Word's *Format Page
421
+ * Numbers…*: `start` restarts numbering at that number, `format` chooses `1, 2, 3` vs
422
+ * `i, ii, iii` etc. Omitted fields are left unchanged. Requires the header/footer region
423
+ * (`{ headerFooter: true }`); a no-op otherwise.
424
+ *
425
+ * Inserted page-number fields are plain, so they render through this. The editor's own view still
426
+ * shows each field's cached result — Word recomputes on open — but `{ paginated: true }`
427
+ * substitutes the real per-page number and so reflects the change immediately.
428
+ */
429
+ setPageNumbering(op: {
430
+ start?: number;
431
+ format?: NumberFormat;
432
+ }): void;
433
+ /** Remove the section's page-numbering start/format: it reverts to continuing the previous
434
+ * section's numbering in Word's default `1, 2, 3`. */
435
+ clearPageNumbering(): void;
436
+ /** This section's page numbering as the document currently states it — `{}` when the section
437
+ * sets neither (it continues the previous section in the default format). */
438
+ pageNumbering(): {
439
+ start?: number;
440
+ format?: NumberFormat;
441
+ };
307
442
  /** Which inline formats the current selection carries — for ribbon button highlighting. */
308
443
  queryFormatState(): Record<FormatKey, boolean>;
309
444
  /** Re-render one block from the live session by EditResult ref, swapping it in place. */
@@ -316,7 +451,7 @@ export declare class DocxEditor {
316
451
  * the same option profile, so the rendered HTML is identical.
317
452
  */
318
453
  private renderFullHtml;
319
- /** Editable blocks in document order. */
454
+ /** Editable BODY blocks in document order (band blocks are enumerated by `ownerRoot`). */
320
455
  private editableList;
321
456
  private blockIndex;
322
457
  /**
@@ -325,6 +460,65 @@ export declare class DocxEditor {
325
460
  * (every item would render as "1."), so such edits re-render the whole document.
326
461
  */
327
462
  private affectsList;
463
+ /** True when the bridge carries the reconcile trio and the mode allows patching. */
464
+ private canReconcile;
465
+ /** The body's top-level unit nodes in document order: `[data-anchor]` elements not
466
+ * nested in another unit (cell paragraphs collapse into their table) and not in the
467
+ * notes sections. */
468
+ private bodyUnitNodes;
469
+ /** The DOM diff token for a body unit node (see editor-reconcile.tokenOf). */
470
+ private static domTokenOf;
471
+ /** The kind a body unit node would have in the plan (only 'li'/'tbl' matter to the
472
+ * remount guard). */
473
+ private static domKindOf;
474
+ private static listMarkerText;
475
+ /**
476
+ * Incrementally patch the DOM from the session's render plan; falls back to
477
+ * {@link remount} whenever it cannot prove the patch correct. Same focus contract
478
+ * as remount.
479
+ */
480
+ private reconcile;
481
+ /** The patch itself. Returns false to request the remount fallback. */
482
+ private reconcileCore;
483
+ private bail;
484
+ /** The generated single-child wrapper chain around a unit node (a table's alignment
485
+ * <div>). Climbs while the parent is an anchor-less DIV whose ONLY element child is
486
+ * the current node — never a section div (multi-child) or the edit root. */
487
+ private unitWrapperOf;
488
+ /** The `[data-anchor]` element of a fresh render root (the root itself for a leaf
489
+ * block, its descendant for a wrapper-shaped render like a table's align div). */
490
+ private static anchorElOf;
491
+ /** Insert/remove/swap body unit nodes per the diff. Returns false to bail (parent
492
+ * ambiguity, order violation, wrapper semantics) — the session is already correct,
493
+ * so bailing just means a full repaint. */
494
+ private applyBodyDiff;
495
+ /** Wire a freshly rendered unit root (and its nested blocks) and stamp the unit's
496
+ * content signature on its `[data-anchor]` element — the element the next
497
+ * reconcile's DOM walk reads tokens from. */
498
+ private wireUnit;
499
+ /** Old-sequence diff state for one notes section. `null` requests remount (DOM not
500
+ * stampable/consistent). */
501
+ private notesDiff;
502
+ /** Apply a notes-section diff: rebuild the `<ol>`'s li list, preserving kept nodes. */
503
+ private applyNotesDiff;
504
+ /** Build a notes-section `<li>` for a freshly rendered note — replicating the
505
+ * converter's chrome (id/value are re-stamped by the renumber pass; the backref
506
+ * goes inside the last paragraph, matching RenderFootnoteItem). */
507
+ private buildNoteLi;
508
+ /**
509
+ * Rewrite position-derived note chrome from the session's citation-ordered note
510
+ * list: the k-th marker in document order IS note k (ids ascend in reference
511
+ * order), so marker sup text, hrefs/ids, li ids/values and backref hrefs are all
512
+ * re-derived positionally. Pure attribute/text patching of generated chrome.
513
+ */
514
+ private renumberNoteChrome;
515
+ /** After an incremental block swap, stale marker chrome in the swapped node (the
516
+ * throwaway render numbers citations from 1) is repaired in place. */
517
+ private maybeRenumberNotes;
518
+ /** Stamp the DOM state the reconciler diffs against: container signatures on body
519
+ * tables and `data-note-anchor` + signature on notes-section items. Called after
520
+ * every full mount; reconcile stamps its own insertions. */
521
+ private stampPlanState;
328
522
  /**
329
523
  * Full re-render from current session state (after undo/redo, and after list edits where
330
524
  * single-block rendering can't compute numbering). Optionally focus the editable block at
@@ -1 +1 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../src/editor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,4FAA4F;AAC5F,MAAM,WAAW,iBAAiB;IAChC,iBAAiB,EAAE;QACjB,WAAW,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,KAAK,MAAM,CAAC;QACjE,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;QACvC,eAAe,EAAE,MAAM,UAAU,CAAC;QAClC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;QACpC,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;QACpE,iBAAiB,EAAE,CACjB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,KACZ,MAAM,CAAC;QACZ,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;QAC3E,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;QAC3E,WAAW,EAAE,CAAC,MAAM,EAAE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