@rivm-loculus-tools/sequence-editor 0.1.4 → 0.1.5
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.
- package/dist/_chunks/Box.js +6737 -0
- package/dist/_chunks/Box.js.map +1 -0
- package/dist/_chunks/Close.js +7 -0
- package/dist/_chunks/Close.js.map +1 -0
- package/dist/_chunks/EditorWorkerService.js +126 -0
- package/dist/_chunks/EditorWorkerService.js.map +1 -0
- package/dist/_chunks/KeyboardArrowDown.js +1023 -0
- package/dist/_chunks/KeyboardArrowDown.js.map +1 -0
- package/dist/_chunks/Redo.js +2559 -0
- package/dist/_chunks/Redo.js.map +1 -0
- package/dist/_chunks/SequenceEditor.js +860 -0
- package/dist/_chunks/SequenceEditor.js.map +1 -0
- package/dist/_chunks/SequenceEditorEventBusService.js +102 -0
- package/dist/_chunks/SequenceEditorEventBusService.js.map +1 -0
- package/dist/_chunks/SequenceEditorMainPage.js +552 -0
- package/dist/_chunks/SequenceEditorMainPage.js.map +1 -0
- package/dist/_chunks/SequenceEditorPageDrawer.js +49842 -0
- package/dist/_chunks/SequenceEditorPageDrawer.js.map +1 -0
- package/dist/_chunks/SequenceEditorPageHeader.js +236 -0
- package/dist/_chunks/SequenceEditorPageHeader.js.map +1 -0
- package/dist/_chunks/SequenceEditorSearchBar.js +143 -0
- package/dist/_chunks/SequenceEditorSearchBar.js.map +1 -0
- package/dist/_chunks/TestIdUtil.js +4695 -0
- package/dist/_chunks/TestIdUtil.js.map +1 -0
- package/dist/_chunks/TextField.js +3083 -0
- package/dist/_chunks/TextField.js.map +1 -0
- package/dist/_chunks/rolldown-runtime.js +13 -0
- package/dist/_chunks/sequenceEditorStore.js +407 -0
- package/dist/_chunks/sequenceEditorStore.js.map +1 -0
- package/dist/_chunks/sequence_editor.js +517 -0
- package/dist/_chunks/sequence_editor.js.map +1 -0
- package/dist/_chunks/withDialog.js +289 -0
- package/dist/_chunks/withDialog.js.map +1 -0
- package/dist/assets/index-C5rc-pJV.js +8 -0
- package/dist/assets/index-C5rc-pJV.js.map +1 -0
- package/dist/classes/services/EditorWorkerService/EditorWorkerService.d.ts +27 -0
- package/dist/classes/services/EditorWorkerService/index.js +2 -0
- package/dist/classes/services/SequenceEditorEventBusService/SequenceEditorEventBusService.d.ts +25 -0
- package/dist/classes/services/SequenceEditorEventBusService/index.js +2 -0
- package/dist/classes/workers/EngineWorker/EngineWorker.d.ts +46 -0
- package/dist/classes/workers/EngineWorker/index.js +110 -0
- package/dist/classes/workers/EngineWorker/index.js.map +1 -0
- package/dist/components/app/App/App.d.ts +1 -0
- package/dist/components/app/App/index.js +957 -0
- package/dist/components/app/App/index.js.map +1 -0
- package/dist/components/pages/EmptyWorkspace.d.ts +3 -0
- package/dist/components/pages/SequenceEditorErrorPage/SequenceEditorErrorPage.d.ts +3 -0
- package/dist/components/pages/SequenceEditorErrorPage/index.js +12 -0
- package/dist/components/pages/SequenceEditorErrorPage/index.js.map +1 -0
- package/dist/components/pages/SequenceEditorMainPage/SequenceEditorMainPage.d.ts +1 -0
- package/dist/components/pages/SequenceEditorMainPage/index.js +2 -0
- package/dist/components/ui/SequenceEditor/SequenceEditor.d.ts +1 -0
- package/dist/components/ui/SequenceEditor/SequenceEditorGotoPositionDialog.d.ts +8 -0
- package/dist/components/ui/SequenceEditor/SequenceEditorStatusBar.d.ts +1 -0
- package/dist/components/ui/SequenceEditor/index.js +2 -0
- package/dist/components/ui/SequenceEditorPage/SequenceEditorPage.d.ts +5 -0
- package/dist/components/ui/SequenceEditorPage/index.js +15 -0
- package/dist/components/ui/SequenceEditorPage/index.js.map +1 -0
- package/dist/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawer.d.ts +1 -0
- package/dist/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawerColorForm.d.ts +7 -0
- package/dist/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawerKeyboardShortcuts.d.ts +1 -0
- package/dist/components/ui/SequenceEditorPageDrawer/index.js +2 -0
- package/dist/components/ui/SequenceEditorPageHeader/SequenceEditorPageHeader.d.ts +1 -0
- package/dist/components/ui/SequenceEditorPageHeader/index.js +2 -0
- package/dist/components/ui/SequenceEditorSearchBar/SequenceEditorSearchBar.d.ts +1 -0
- package/dist/components/ui/SequenceEditorSearchBar/index.js +2 -0
- package/dist/constants/editor.d.ts +4 -0
- package/dist/constants/editor.js +14 -0
- package/dist/constants/editor.js.map +1 -0
- package/dist/constants/index.js +4 -0
- package/dist/constants/keyboard.d.ts +10 -0
- package/dist/constants/keyboard.js +179 -0
- package/dist/constants/keyboard.js.map +1 -0
- package/dist/constants/palette.d.ts +15 -0
- package/dist/constants/palette.js +196 -0
- package/dist/constants/palette.js.map +1 -0
- package/dist/models/editor.d.ts +6 -0
- package/dist/models/editor.js +8 -0
- package/dist/models/editor.js.map +1 -0
- package/dist/models/model.d.ts +250 -0
- package/dist/models/model.js +10 -0
- package/dist/models/model.js.map +1 -0
- package/dist/models/palette.d.ts +61 -0
- package/dist/models/palette.js +10 -0
- package/dist/models/palette.js.map +1 -0
- package/dist/stores/sequenceEditorStore/index.js +2 -0
- package/dist/stores/sequenceEditorStore/sequenceEditorStore.d.ts +36 -0
- package/dist/utils/EditorUtil/EditorUtil.d.ts +96 -0
- package/dist/utils/EditorUtil/index.js +544 -0
- package/dist/utils/EditorUtil/index.js.map +1 -0
- package/dist/utils/EngineErrorUtil/EngineErrorUtil.d.ts +4 -0
- package/dist/utils/PaletteUtil/PaletteUtil.d.ts +6 -0
- package/dist/utils/PaletteUtil/index.js +19 -0
- package/dist/utils/PaletteUtil/index.js.map +1 -0
- package/package.json +5 -2
- package/.gitkeep +0 -0
- package/CHANGELOG.md +0 -37
- package/eslint.config.js +0 -16
- package/scripts/update-exports.js +0 -9
- package/src/classes/services/EditorWorkerService/EditorWorkerService.ts +0 -163
- package/src/classes/services/SequenceEditorEventBusService/SequenceEditorEventBusService.ts +0 -37
- package/src/classes/workers/EngineWorker/EngineWorker.ts +0 -196
- package/src/components/app/App/App.tsx +0 -22
- package/src/components/pages/EmptyWorkspace.tsx +0 -43
- package/src/components/pages/SequenceEditorErrorPage/SequenceEditorErrorPage.tsx +0 -16
- package/src/components/pages/SequenceEditorMainPage/SequenceEditorMainPage.tsx +0 -76
- package/src/components/ui/SequenceEditor/SequenceEditor.tsx +0 -896
- package/src/components/ui/SequenceEditor/SequenceEditorGotoPositionDialog.tsx +0 -108
- package/src/components/ui/SequenceEditor/SequenceEditorStatusBar.tsx +0 -72
- package/src/components/ui/SequenceEditorPage/SequenceEditorPage.tsx +0 -23
- package/src/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawer.tsx +0 -234
- package/src/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawerColorForm.tsx +0 -73
- package/src/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawerKeyboardShortcuts.tsx +0 -230
- package/src/components/ui/SequenceEditorPageHeader/SequenceEditorPageHeader.tsx +0 -71
- package/src/components/ui/SequenceEditorSearchBar/SequenceEditorSearchBar.tsx +0 -35
- package/src/constants/editor.ts +0 -15
- package/src/constants/keyboard.ts +0 -154
- package/src/constants/palette.ts +0 -227
- package/src/models/editor.ts +0 -6
- package/src/models/model.ts +0 -295
- package/src/models/palette.ts +0 -68
- package/src/stores/sequenceEditorStore/sequenceEditorStore.ts +0 -103
- package/src/utils/EditorUtil/EditorUtil.ts +0 -892
- package/src/utils/EngineErrorUtil/EngineErrorUtil.ts +0 -25
- package/src/utils/PaletteUtil/PaletteUtil.ts +0 -31
- package/tsconfig.build.json +0 -14
- package/tsconfig.json +0 -32
- package/vite.config.ts +0 -177
- /package/{src/classes/services/EditorWorkerService/index.ts → dist/classes/services/EditorWorkerService/index.d.ts} +0 -0
- /package/{src/classes/services/SequenceEditorEventBusService/index.ts → dist/classes/services/SequenceEditorEventBusService/index.d.ts} +0 -0
- /package/{src/classes/workers/EngineWorker/index.ts → dist/classes/workers/EngineWorker/index.d.ts} +0 -0
- /package/{src/components/app/App/index.ts → dist/components/app/App/index.d.ts} +0 -0
- /package/{src/components/pages/SequenceEditorErrorPage/index.ts → dist/components/pages/SequenceEditorErrorPage/index.d.ts} +0 -0
- /package/{src/components/pages/SequenceEditorMainPage/index.ts → dist/components/pages/SequenceEditorMainPage/index.d.ts} +0 -0
- /package/{src/components/ui/SequenceEditor/index.ts → dist/components/ui/SequenceEditor/index.d.ts} +0 -0
- /package/{src/components/ui/SequenceEditorPage/index.ts → dist/components/ui/SequenceEditorPage/index.d.ts} +0 -0
- /package/{src/components/ui/SequenceEditorPageDrawer/index.ts → dist/components/ui/SequenceEditorPageDrawer/index.d.ts} +0 -0
- /package/{src/components/ui/SequenceEditorPageHeader/index.ts → dist/components/ui/SequenceEditorPageHeader/index.d.ts} +0 -0
- /package/{src/components/ui/SequenceEditorSearchBar/index.ts → dist/components/ui/SequenceEditorSearchBar/index.d.ts} +0 -0
- /package/{src/constants/index.ts → dist/constants/index.d.ts} +0 -0
- /package/{src/models/index.ts → dist/models/index.d.ts} +0 -0
- /package/{src/stores/sequenceEditorStore/index.ts → dist/stores/sequenceEditorStore/index.d.ts} +0 -0
- /package/{src/utils/EditorUtil/index.ts → dist/utils/EditorUtil/index.d.ts} +0 -0
- /package/{src/utils/PaletteUtil/index.ts → dist/utils/PaletteUtil/index.d.ts} +0 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { i as e, n as t, r as n } from "../../../_chunks/sequence_editor.js";
|
|
2
|
+
//#region src/classes/workers/EngineWorker/EngineWorker.ts
|
|
3
|
+
var r = class {
|
|
4
|
+
engine = null;
|
|
5
|
+
initialization = null;
|
|
6
|
+
async delete(e, t) {
|
|
7
|
+
(await this.requireEngine()).delete_at_subset(this.toRowIndices(e), t);
|
|
8
|
+
}
|
|
9
|
+
async deleteColumn(e) {
|
|
10
|
+
(await this.requireEngine()).delete_column(e);
|
|
11
|
+
}
|
|
12
|
+
async exportFasta() {
|
|
13
|
+
let e = await this.requireEngine(), t = [];
|
|
14
|
+
for (let n = 0; n < e.get_sequence_count(); n += 1) {
|
|
15
|
+
let r = [];
|
|
16
|
+
for (let t = 0; t < e.get_row_length(n); t += 1) r.push(String.fromCharCode(e.get_base(n, t)));
|
|
17
|
+
t.push(`>${e.get_name(n)}\n${r.join("")}\n`);
|
|
18
|
+
}
|
|
19
|
+
return t.join("");
|
|
20
|
+
}
|
|
21
|
+
async initialize() {
|
|
22
|
+
this.engine || (this.initialization || (this.initialization = (async () => {
|
|
23
|
+
await n(void 0), this.engine = new t();
|
|
24
|
+
})(), this.initialization.catch(() => {
|
|
25
|
+
this.initialization = null;
|
|
26
|
+
})), await this.initialization);
|
|
27
|
+
}
|
|
28
|
+
async insert(e, t) {
|
|
29
|
+
(await this.requireEngine()).insert_at_subset(this.toRowIndices(e), t);
|
|
30
|
+
}
|
|
31
|
+
async load(e) {
|
|
32
|
+
return (await this.requireEngine()).load_fasta(e);
|
|
33
|
+
}
|
|
34
|
+
async meta() {
|
|
35
|
+
let e = await this.requireEngine();
|
|
36
|
+
return {
|
|
37
|
+
alignmentWidth: e.get_alignment_width(),
|
|
38
|
+
redoDepth: e.redo_depth(),
|
|
39
|
+
sequenceCount: e.get_sequence_count(),
|
|
40
|
+
undoDepth: e.undo_depth()
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
async moveHorizontal(e, t, n) {
|
|
44
|
+
(await this.requireEngine()).move_horizontal(e, this.toRowIndices(t), n);
|
|
45
|
+
}
|
|
46
|
+
async moveRowsDown(e) {
|
|
47
|
+
(await this.requireEngine()).move_rows_down(this.toRowIndices(e));
|
|
48
|
+
}
|
|
49
|
+
async moveRowsUp(e) {
|
|
50
|
+
(await this.requireEngine()).move_rows_up(this.toRowIndices(e));
|
|
51
|
+
}
|
|
52
|
+
async mutate(e, t, n) {
|
|
53
|
+
(await this.requireEngine()).mutate_base_subset(this.toRowIndices(e), t, n.charCodeAt(0));
|
|
54
|
+
}
|
|
55
|
+
async name(e) {
|
|
56
|
+
return (await this.requireEngine()).get_name(e);
|
|
57
|
+
}
|
|
58
|
+
async redo() {
|
|
59
|
+
return (await this.requireEngine()).redo();
|
|
60
|
+
}
|
|
61
|
+
async search(e, t) {
|
|
62
|
+
return (await this.requireEngine()).search(e, t);
|
|
63
|
+
}
|
|
64
|
+
async translate(e, t) {
|
|
65
|
+
let n = await this.requireEngine();
|
|
66
|
+
this.validateBounds(e);
|
|
67
|
+
let r = n.translate(e.startRow, e.endRow, e.startCol, e.endCol, t);
|
|
68
|
+
return this.buildViewportResult(r, e);
|
|
69
|
+
}
|
|
70
|
+
async undo() {
|
|
71
|
+
return (await this.requireEngine()).undo();
|
|
72
|
+
}
|
|
73
|
+
async viewport(e) {
|
|
74
|
+
let t = await this.requireEngine();
|
|
75
|
+
this.validateBounds(e);
|
|
76
|
+
let n = t.update_viewport(e.startRow, e.endRow, e.startCol, e.endCol);
|
|
77
|
+
return this.buildViewportResult(n, e);
|
|
78
|
+
}
|
|
79
|
+
buildViewportResult(e, t) {
|
|
80
|
+
let n = t.endCol - t.startCol + 1;
|
|
81
|
+
return {
|
|
82
|
+
bytes: e,
|
|
83
|
+
cols: n,
|
|
84
|
+
rows: n > 0 ? Math.floor(e.byteLength / n) : 0,
|
|
85
|
+
startCol: t.startCol,
|
|
86
|
+
startRow: t.startRow
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
async requireEngine() {
|
|
90
|
+
if (await this.initialize(), !this.engine) throw Error("Engine failed to initialize");
|
|
91
|
+
return this.engine;
|
|
92
|
+
}
|
|
93
|
+
toRowIndices(e) {
|
|
94
|
+
return new Uint32Array(e);
|
|
95
|
+
}
|
|
96
|
+
validateBounds(e) {
|
|
97
|
+
if (![
|
|
98
|
+
e.startRow,
|
|
99
|
+
e.endRow,
|
|
100
|
+
e.startCol,
|
|
101
|
+
e.endCol
|
|
102
|
+
].every((e) => Number.isSafeInteger(e) && e >= 0)) throw Error("Viewport bounds must be non-negative safe integers");
|
|
103
|
+
if (e.startRow > e.endRow || e.startCol > e.endCol) throw Error("Viewport bounds must be ordered (start <= end)");
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
e(new r());
|
|
107
|
+
//#endregion
|
|
108
|
+
export { r as EngineWorker };
|
|
109
|
+
|
|
110
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/classes/workers/EngineWorker/EngineWorker.ts"],"sourcesContent":["/// <reference lib=\"webworker\" />\nimport { expose } from 'comlink';\nimport type { MoveDirection } from '@rivm-loculus-tools/sequence-editor-wasm';\nimport init, { MsaEngine } from '@rivm-loculus-tools/sequence-editor-wasm';\n\nimport type {\n EngineMeta,\n EngineSearchResult,\n EngineViewportResult,\n EngineWorkerApi,\n ViewportBounds,\n} from '../../../models';\n\n/**\n * MSA engine Web Worker.\n *\n * This worker is the **single owner** of the `MsaEngine` WASM instance and its\n * linear memory for the lifetime of the page. All Rust calls happen here, off\n * the main thread, so FASTA parsing, structural mutations, and undo/redo\n * snapshots never stall the React render loop.\n *\n * The class is exposed to the main thread through comlink, so every public\n * method is proxied as an asynchronous call across the worker boundary.\n */\nexport class EngineWorker implements EngineWorkerApi {\n private engine: MsaEngine | null = null;\n private initialization: null | Promise<void> = null;\n\n public async delete(rows: number[], column: number): Promise<void> {\n const engine = await this.requireEngine();\n engine.delete_at_subset(this.toRowIndices(rows), column);\n }\n\n public async deleteColumn(column: number): Promise<void> {\n const engine = await this.requireEngine();\n engine.delete_column(column);\n }\n\n public async exportFasta(): Promise<string> {\n const engine = await this.requireEngine();\n const records: string[] = [];\n for (let row = 0; row < engine.get_sequence_count(); row += 1) {\n const sequence: string[] = [];\n for (let column = 0; column < engine.get_row_length(row); column += 1) {\n sequence.push(String.fromCharCode(engine.get_base(row, column)));\n }\n records.push(`>${engine.get_name(row)}\\n${sequence.join('')}\\n`);\n }\n return records.join('');\n }\n\n /**\n * Idempotently instantiates the WASM module and constructs the engine.\n * Safe to call multiple times; concurrent callers share one initialization.\n */\n public async initialize(): Promise<void> {\n if (this.engine) {\n return;\n }\n if (!this.initialization) {\n this.initialization = (async () => {\n await init(undefined);\n this.engine = new MsaEngine();\n })();\n this.initialization.catch(() => {\n this.initialization = null;\n });\n }\n await this.initialization;\n }\n\n public async insert(rows: number[], column: number): Promise<void> {\n const engine = await this.requireEngine();\n engine.insert_at_subset(this.toRowIndices(rows), column);\n }\n\n public async load(fastaContent: string): Promise<number> {\n const engine = await this.requireEngine();\n return engine.load_fasta(fastaContent);\n }\n\n public async meta(): Promise<EngineMeta> {\n const engine = await this.requireEngine();\n return {\n alignmentWidth: engine.get_alignment_width(),\n redoDepth: engine.redo_depth(),\n sequenceCount: engine.get_sequence_count(),\n undoDepth: engine.undo_depth(),\n };\n }\n\n public async moveHorizontal(row: number, columns: number[], direction: MoveDirection): Promise<void> {\n const engine = await this.requireEngine();\n engine.move_horizontal(row, this.toRowIndices(columns), direction);\n }\n\n public async moveRowsDown(rows: number[]): Promise<void> {\n const engine = await this.requireEngine();\n engine.move_rows_down(this.toRowIndices(rows));\n }\n\n public async moveRowsUp(rows: number[]): Promise<void> {\n const engine = await this.requireEngine();\n engine.move_rows_up(this.toRowIndices(rows));\n }\n\n public async mutate(rows: number[], column: number, base: string): Promise<void> {\n const engine = await this.requireEngine();\n engine.mutate_base_subset(this.toRowIndices(rows), column, base.charCodeAt(0));\n }\n\n public async name(row: number): Promise<string> {\n const engine = await this.requireEngine();\n return engine.get_name(row);\n }\n\n public async redo(): Promise<boolean> {\n const engine = await this.requireEngine();\n return engine.redo();\n }\n\n public async search(query: string, checkRecordNames: boolean): Promise<EngineSearchResult> {\n const engine = await this.requireEngine();\n return engine.search(query, checkRecordNames) as EngineSearchResult;\n }\n\n public async translate(bounds: ViewportBounds, readingFrame: number): Promise<EngineViewportResult> {\n const engine = await this.requireEngine();\n this.validateBounds(bounds);\n const bytes = engine.translate(\n bounds.startRow,\n bounds.endRow,\n bounds.startCol,\n bounds.endCol,\n readingFrame,\n );\n return this.buildViewportResult(bytes, bounds);\n }\n\n public async undo(): Promise<boolean> {\n const engine = await this.requireEngine();\n return engine.undo();\n }\n\n public async viewport(bounds: ViewportBounds): Promise<EngineViewportResult> {\n const engine = await this.requireEngine();\n this.validateBounds(bounds);\n const bytes = engine.update_viewport(\n bounds.startRow,\n bounds.endRow,\n bounds.startCol,\n bounds.endCol,\n );\n return this.buildViewportResult(bytes, bounds);\n }\n\n /** Builds a fixed-stride viewport result from the engine's returned bytes. */\n private buildViewportResult(bytes: Uint8Array, bounds: ViewportBounds): EngineViewportResult {\n const columns = bounds.endCol - bounds.startCol + 1;\n const rows = columns > 0 ? Math.floor(bytes.byteLength / columns) : 0;\n return {\n bytes,\n cols: columns,\n rows,\n startCol: bounds.startCol,\n startRow: bounds.startRow,\n };\n }\n\n /** Returns the initialized engine, initializing it first if necessary. */\n private async requireEngine(): Promise<MsaEngine> {\n await this.initialize();\n if (!this.engine) {\n throw new Error('Engine failed to initialize');\n }\n return this.engine;\n }\n\n /** Converts a plain row-index list into the typed array the WASM API expects. */\n private toRowIndices(rows: number[]): Uint32Array {\n return new Uint32Array(rows);\n }\n\n /** Validates that viewport/translation bounds are safe, non-negative, and ordered. */\n private validateBounds(bounds: ViewportBounds): void {\n const values = [bounds.startRow, bounds.endRow, bounds.startCol, bounds.endCol];\n if (!values.every((value) => Number.isSafeInteger(value) && value >= 0)) {\n throw new Error('Viewport bounds must be non-negative safe integers');\n }\n if (bounds.startRow > bounds.endRow || bounds.startCol > bounds.endCol) {\n throw new Error('Viewport bounds must be ordered (start <= end)');\n }\n }\n}\n\nexpose(new EngineWorker());\n"],"mappings":";;AAwBA,IAAa,IAAb,MAAqD;CACnD,SAAmC;CACnC,iBAA+C;CAE/C,MAAa,OAAO,GAAgB,GAA+B;EAEjE,CAAA,MADqB,KAAK,cAAc,EAAA,CACjC,iBAAiB,KAAK,aAAa,CAAI,GAAG,CAAM;CACzD;CAEA,MAAa,aAAa,GAA+B;EAEvD,CAAA,M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