litedbmodel 2.0.2 → 2.2.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 (193) hide show
  1. package/README.md +7 -0
  2. package/dist/DBConditions.d.ts.map +1 -1
  3. package/dist/DBConditions.js +16 -1
  4. package/dist/DBConditions.js.map +1 -1
  5. package/dist/DBHandler.d.ts.map +1 -1
  6. package/dist/DBHandler.js +6 -0
  7. package/dist/DBHandler.js.map +1 -1
  8. package/dist/DBModel.d.ts +84 -2
  9. package/dist/DBModel.d.ts.map +1 -1
  10. package/dist/DBModel.js +312 -29
  11. package/dist/DBModel.js.map +1 -1
  12. package/dist/decorators.d.ts +52 -0
  13. package/dist/decorators.d.ts.map +1 -1
  14. package/dist/decorators.js +127 -24
  15. package/dist/decorators.js.map +1 -1
  16. package/dist/drivers/mysql.d.ts.map +1 -1
  17. package/dist/drivers/mysql.js +12 -2
  18. package/dist/drivers/mysql.js.map +1 -1
  19. package/dist/drivers/postgres.d.ts.map +1 -1
  20. package/dist/drivers/postgres.js +13 -2
  21. package/dist/drivers/postgres.js.map +1 -1
  22. package/dist/drivers/sqlite.d.ts +2 -0
  23. package/dist/drivers/sqlite.d.ts.map +1 -1
  24. package/dist/drivers/sqlite.js +49 -4
  25. package/dist/drivers/sqlite.js.map +1 -1
  26. package/dist/index.cjs +10741 -0
  27. package/dist/index.d.cts +1 -0
  28. package/dist/scp/coltype.d.ts +108 -0
  29. package/dist/scp/coltype.d.ts.map +1 -1
  30. package/dist/scp/coltype.js +293 -6
  31. package/dist/scp/coltype.js.map +1 -1
  32. package/dist/scp/connection-routing.d.ts +312 -0
  33. package/dist/scp/connection-routing.d.ts.map +1 -0
  34. package/dist/scp/connection-routing.js +394 -0
  35. package/dist/scp/connection-routing.js.map +1 -0
  36. package/dist/scp/dbmodel-runtime.d.ts +101 -0
  37. package/dist/scp/dbmodel-runtime.d.ts.map +1 -0
  38. package/dist/scp/dbmodel-runtime.js +174 -0
  39. package/dist/scp/dbmodel-runtime.js.map +1 -0
  40. package/dist/scp/decorator-adapter.d.ts +196 -0
  41. package/dist/scp/decorator-adapter.d.ts.map +1 -0
  42. package/dist/scp/decorator-adapter.js +286 -0
  43. package/dist/scp/decorator-adapter.js.map +1 -0
  44. package/dist/scp/emit/emitter.d.ts +108 -0
  45. package/dist/scp/emit/emitter.d.ts.map +1 -0
  46. package/dist/scp/emit/emitter.js +782 -0
  47. package/dist/scp/emit/emitter.js.map +1 -0
  48. package/dist/scp/emit/endpoint.d.ts +248 -0
  49. package/dist/scp/emit/endpoint.d.ts.map +1 -0
  50. package/dist/scp/emit/endpoint.js +20 -0
  51. package/dist/scp/emit/endpoint.js.map +1 -0
  52. package/dist/scp/emit/index.d.ts +11 -0
  53. package/dist/scp/emit/index.d.ts.map +1 -0
  54. package/dist/scp/emit/index.js +13 -0
  55. package/dist/scp/emit/index.js.map +1 -0
  56. package/dist/scp/errors.d.ts +45 -1
  57. package/dist/scp/errors.d.ts.map +1 -1
  58. package/dist/scp/errors.js +47 -1
  59. package/dist/scp/errors.js.map +1 -1
  60. package/dist/scp/exec-context.d.ts +390 -0
  61. package/dist/scp/exec-context.d.ts.map +1 -0
  62. package/dist/scp/exec-context.js +540 -0
  63. package/dist/scp/exec-context.js.map +1 -0
  64. package/dist/scp/grouping.d.ts +32 -0
  65. package/dist/scp/grouping.d.ts.map +1 -0
  66. package/dist/scp/grouping.js +0 -0
  67. package/dist/scp/grouping.js.map +1 -0
  68. package/dist/scp/index.cjs +6432 -17579
  69. package/dist/scp/index.d.cts +1 -0
  70. package/dist/scp/index.d.mts +1 -0
  71. package/dist/scp/index.d.ts +51 -52
  72. package/dist/scp/index.d.ts.map +1 -1
  73. package/dist/scp/index.js +189 -152
  74. package/dist/scp/index.js.map +1 -1
  75. package/dist/scp/index.mjs +6067 -3659
  76. package/dist/scp/leaf-transport.d.ts +50 -0
  77. package/dist/scp/leaf-transport.d.ts.map +1 -0
  78. package/dist/scp/leaf-transport.js +92 -0
  79. package/dist/scp/leaf-transport.js.map +1 -0
  80. package/dist/scp/leaves.d.ts +174 -0
  81. package/dist/scp/leaves.d.ts.map +1 -0
  82. package/dist/scp/leaves.js +287 -0
  83. package/dist/scp/leaves.js.map +1 -0
  84. package/dist/scp/limit-config.d.ts +118 -0
  85. package/dist/scp/limit-config.d.ts.map +1 -0
  86. package/dist/scp/limit-config.js +126 -0
  87. package/dist/scp/limit-config.js.map +1 -0
  88. package/dist/scp/makesql/compile-relation.d.ts +49 -23
  89. package/dist/scp/makesql/compile-relation.d.ts.map +1 -1
  90. package/dist/scp/makesql/compile-relation.js +101 -76
  91. package/dist/scp/makesql/compile-relation.js.map +1 -1
  92. package/dist/scp/makesql/compile-select.d.ts +45 -10
  93. package/dist/scp/makesql/compile-select.d.ts.map +1 -1
  94. package/dist/scp/makesql/compile-select.js +50 -10
  95. package/dist/scp/makesql/compile-select.js.map +1 -1
  96. package/dist/scp/makesql/handler.d.ts +1 -1
  97. package/dist/scp/makesql/handler.d.ts.map +1 -1
  98. package/dist/scp/makesql/index.d.ts +7 -10
  99. package/dist/scp/makesql/index.d.ts.map +1 -1
  100. package/dist/scp/makesql/index.js +19 -30
  101. package/dist/scp/makesql/index.js.map +1 -1
  102. package/dist/scp/makesql/json-array.d.ts +65 -0
  103. package/dist/scp/makesql/json-array.d.ts.map +1 -1
  104. package/dist/scp/makesql/json-array.js +99 -10
  105. package/dist/scp/makesql/json-array.js.map +1 -1
  106. package/dist/scp/makesql/json-batch.d.ts.map +1 -1
  107. package/dist/scp/makesql/json-batch.js +21 -19
  108. package/dist/scp/makesql/json-batch.js.map +1 -1
  109. package/dist/scp/makesql/makesql.d.ts +1 -1
  110. package/dist/scp/makesql/makesql.d.ts.map +1 -1
  111. package/dist/scp/makesql/mysql-returning.d.ts +93 -0
  112. package/dist/scp/makesql/mysql-returning.d.ts.map +1 -0
  113. package/dist/scp/makesql/mysql-returning.js +215 -0
  114. package/dist/scp/makesql/mysql-returning.js.map +1 -0
  115. package/dist/scp/makesql/outtype.d.ts +75 -34
  116. package/dist/scp/makesql/outtype.d.ts.map +1 -1
  117. package/dist/scp/makesql/outtype.js +91 -118
  118. package/dist/scp/makesql/outtype.js.map +1 -1
  119. package/dist/scp/makesql/pool-executor.d.ts +135 -13
  120. package/dist/scp/makesql/pool-executor.d.ts.map +1 -1
  121. package/dist/scp/makesql/pool-executor.js +229 -21
  122. package/dist/scp/makesql/pool-executor.js.map +1 -1
  123. package/dist/scp/makesql/tx.d.ts +107 -22
  124. package/dist/scp/makesql/tx.d.ts.map +1 -1
  125. package/dist/scp/makesql/tx.js +451 -97
  126. package/dist/scp/makesql/tx.js.map +1 -1
  127. package/dist/scp/makesql/writeouttype.d.ts +7 -8
  128. package/dist/scp/makesql/writeouttype.d.ts.map +1 -1
  129. package/dist/scp/makesql/writeouttype.js +8 -7
  130. package/dist/scp/makesql/writeouttype.js.map +1 -1
  131. package/dist/scp/middleware.d.ts +287 -0
  132. package/dist/scp/middleware.d.ts.map +1 -0
  133. package/dist/scp/middleware.js +358 -0
  134. package/dist/scp/middleware.js.map +1 -0
  135. package/dist/scp/relation.d.ts +80 -9
  136. package/dist/scp/relation.d.ts.map +1 -1
  137. package/dist/scp/relation.js +198 -78
  138. package/dist/scp/relation.js.map +1 -1
  139. package/dist/scp/tx-options.d.ts +136 -0
  140. package/dist/scp/tx-options.d.ts.map +1 -0
  141. package/dist/scp/tx-options.js +184 -0
  142. package/dist/scp/tx-options.js.map +1 -0
  143. package/dist/scp/write-bundle.d.ts +131 -0
  144. package/dist/scp/write-bundle.d.ts.map +1 -0
  145. package/dist/scp/write-bundle.js +160 -0
  146. package/dist/scp/write-bundle.js.map +1 -0
  147. package/dist/types.d.ts +7 -0
  148. package/dist/types.d.ts.map +1 -1
  149. package/dist/types.js.map +1 -1
  150. package/docs/BENCHMARK.md +58 -56
  151. package/docs/benchmark-chart.svg +166 -166
  152. package/docs/design/phase-a-execution-context.md +139 -0
  153. package/package.json +16 -9
  154. package/dist/scp/authoring-sql.d.ts +0 -134
  155. package/dist/scp/authoring-sql.d.ts.map +0 -1
  156. package/dist/scp/authoring-sql.js +0 -191
  157. package/dist/scp/authoring-sql.js.map +0 -1
  158. package/dist/scp/authoring.d.ts +0 -155
  159. package/dist/scp/authoring.d.ts.map +0 -1
  160. package/dist/scp/authoring.js +0 -162
  161. package/dist/scp/authoring.js.map +0 -1
  162. package/dist/scp/catalog.d.ts +0 -94
  163. package/dist/scp/catalog.d.ts.map +0 -1
  164. package/dist/scp/catalog.js +0 -234
  165. package/dist/scp/catalog.js.map +0 -1
  166. package/dist/scp/codegen.d.ts +0 -189
  167. package/dist/scp/codegen.d.ts.map +0 -1
  168. package/dist/scp/codegen.js +0 -421
  169. package/dist/scp/codegen.js.map +0 -1
  170. package/dist/scp/find-filter-guard.d.ts +0 -68
  171. package/dist/scp/find-filter-guard.d.ts.map +0 -1
  172. package/dist/scp/find-filter-guard.js +0 -88
  173. package/dist/scp/find-filter-guard.js.map +0 -1
  174. package/dist/scp/guard.d.ts +0 -43
  175. package/dist/scp/guard.d.ts.map +0 -1
  176. package/dist/scp/guard.js +0 -134
  177. package/dist/scp/guard.js.map +0 -1
  178. package/dist/scp/makesql/authoring-compile.d.ts +0 -90
  179. package/dist/scp/makesql/authoring-compile.d.ts.map +0 -1
  180. package/dist/scp/makesql/authoring-compile.js +0 -494
  181. package/dist/scp/makesql/authoring-compile.js.map +0 -1
  182. package/dist/scp/makesql/ir.d.ts +0 -42
  183. package/dist/scp/makesql/ir.d.ts.map +0 -1
  184. package/dist/scp/makesql/ir.js +0 -66
  185. package/dist/scp/makesql/ir.js.map +0 -1
  186. package/dist/scp/makesql/static-bundle.d.ts +0 -187
  187. package/dist/scp/makesql/static-bundle.d.ts.map +0 -1
  188. package/dist/scp/makesql/static-bundle.js +0 -1113
  189. package/dist/scp/makesql/static-bundle.js.map +0 -1
  190. package/dist/scp/runtime.d.ts +0 -242
  191. package/dist/scp/runtime.d.ts.map +0 -1
  192. package/dist/scp/runtime.js +0 -400
  193. package/dist/scp/runtime.js.map +0 -1
@@ -1,187 +0,0 @@
1
- /**
2
- * litedbmodel v2 SCP — the STATIC, PORTABLE `makeSQL` bundle + its runtime (epic #43/#45
3
- * Phase B; design #45 owner-confirmed static-bundle decision).
4
- *
5
- * This is the SOLE read/compile path of the makeSQL SCP model, expressed as a compile step
6
- * that is **symbolic** (no concrete input needed) and a runtime that evaluates value-specs +
7
- * skip PER-INPUT via behavior-contracts. It REPLACES the reduced-spine `../runtime.ts`
8
- * `SqlBundle`/`compileBundle`/`executeBundle` for the read path.
9
- *
10
- * ## The static bundle shape (design #45)
11
- *
12
- * A compiled behavior method is a bundle of ordered {@link StaticStatement} — each a
13
- * `makeSQL` TEMPLATE:
14
- * - `sql` — tuned dialect SQL text (`?` placeholders), COMPLETE and value-independent
15
- * (compiled ONCE; the single-JSON-param array forms + PG `= ANY`/UNNEST keep
16
- * the text fixed regardless of the runtime array length — no per-input text).
17
- * - `params` — value-specs = bc Expression IR (`{ref:[…]}` / small ops / literals), 1:1 with
18
- * the top-level `?`, evaluated AT RUNTIME by bc `evaluateExpression`.
19
- * - `skip?` — a bc presence expression, evaluated at runtime; when truthy the whole
20
- * statement (its `sql` and `params`) drops (contributes NOTHING).
21
- *
22
- * So the compile step emits a reusable portable artifact; the runtime (this module's
23
- * {@link executeStaticBundle}) evaluates skip + params per-input via bc, assembles present
24
- * fragments, renders placeholders, and executes. This unifies read/write/codegen on ONE
25
- * `SqlBundle` shape and enables multi-language IR-reference execution.
26
- *
27
- * ## Symbolic compile — reuses `authoring-compile`'s port decoding, defers evaluation
28
- *
29
- * Phase A's `authoring-compile.ts` compiled per-input EAGERLY (it called `evaluateExpression`
30
- * on every value slot to produce concrete `{sql, params}`). Here we keep the SAME closed-set
31
- * port decoding (`../bridge.ts` operators, IN-sentinel, SKIP-`cond` collapse) but DEFER the
32
- * value/skip evaluation to the runtime: a where-member's value operand stays as its raw bc
33
- * Expression IR, a SKIP-`cond` guard becomes the statement's `skip` expression, and the SQL
34
- * text is emitted once.
35
- */
36
- import { type Scope, type Value, type ComponentGraphIR } from 'behavior-contracts';
37
- import type { ComponentRefNode, MapNode, BehaviorModelContract } from '../authoring';
38
- import { type Dialect } from './handler';
39
- import { type FindFilterSource } from '../find-filter-guard';
40
- import type { ColumnTypeResolver } from '../coltype';
41
- /** A closed-set bc Expression IR node used as a deferred value-spec or a skip expression. */
42
- export type ValueSpec = unknown;
43
- /**
44
- * One statement of a static bundle — a `makeSQL` TEMPLATE. `sql` is the complete tuned SQL
45
- * text (`?` placeholders, value-independent); `params` are deferred value-specs (bc
46
- * Expression IR) evaluated at runtime; `skip`, when present, is a bc presence expression
47
- * evaluated at runtime (truthy ⇒ drop the whole statement).
48
- */
49
- export interface StaticStatement {
50
- /** Complete tuned SQL text (`?` placeholders). */
51
- readonly sql: string;
52
- /** Deferred value-specs — closed-set bc Expression IR, 1:1 with the top-level `?`. */
53
- readonly params: readonly ValueSpec[];
54
- /** Optional bc presence expression; truthy ⇒ the whole statement drops. */
55
- readonly skip?: ValueSpec;
56
- /**
57
- * A WHERE-clause fragment: its `sql` is a bare predicate body (no leading connector). The
58
- * runtime prepends ` WHERE ` to the FIRST present fragment and ` AND ` to each later one, so
59
- * a skipped fragment never leaves a dangling connector. A statement WITHOUT this flag emits
60
- * its `sql` verbatim.
61
- */
62
- readonly whereFragment?: true;
63
- }
64
- /**
65
- * The static, portable compiled artifact of ONE authored behavior method (the read path).
66
- * Pure JSON — every statement's `sql` is fixed text and its `params`/`skip` are bc Expression
67
- * IR, so `JSON.stringify` round-trips losslessly and a per-language runtime can execute it
68
- * with bc + a SQL driver alone.
69
- */
70
- export interface StaticBundle {
71
- readonly dialect: Dialect;
72
- /** The behavior (component) name. */
73
- readonly name: string;
74
- /** Ordered `makeSQL` statement templates composed into the read query. */
75
- readonly statements: readonly StaticStatement[];
76
- /** Input heads normalized to present-as-null (absent-key SKIP; SSoT-driven). */
77
- readonly optionalHeads: readonly string[];
78
- }
79
- type RefLike = ComponentRefNode | MapNode;
80
- /**
81
- * Compile ONE authored `Select` node into its static `makeSQL` statement templates:
82
- * the head `SELECT … FROM t` fragment plus one guarded WHERE fragment per member, then the
83
- * trailing GROUP BY / ORDER BY / LIMIT / OFFSET tail. The head + GROUP BY + ORDER BY TEXT is
84
- * produced by the ORIGINAL `compileSelect` (which reproduces `_buildSelectSQL` byte-for-byte),
85
- * never a v2 hand-roll. LIMIT/OFFSET are INLINE literals in v1; for the static bundle they are
86
- * deferred value-specs bound as `?` (a portable equivalent a per-language runtime renders
87
- * identically) — evaluated at runtime.
88
- */
89
- export declare function compileSelectNode(node: RefLike, dialect: Dialect): StaticStatement[];
90
- /**
91
- * Compile the primary CRUD query of an authored behavior method into a {@link StaticBundle}.
92
- * Relation `.map` nodes are NOT part of the primary bundle (they are the read-relations concern
93
- * — step 3, still on the reduced spine). The compile is SYMBOLIC (no concrete input); the runtime
94
- * ({@link executeStaticBundle} for reads / {@link executeStaticWrite} for writes) evaluates skip +
95
- * value-specs per-input.
96
- */
97
- export declare function compileStaticBundle(contract: BehaviorModelContract, dialect: Dialect, entry?: string): StaticBundle;
98
- /** The minimal synchronous SQLite driver surface (better-sqlite3 `Database`). */
99
- export interface SqliteDb {
100
- prepare(sql: string): {
101
- all(...params: unknown[]): unknown[];
102
- run(...params: unknown[]): {
103
- changes: number;
104
- lastInsertRowid: number | bigint;
105
- };
106
- };
107
- }
108
- /**
109
- * Execute a {@link StaticBundle} read query end-to-end against real SQLite: normalize optional
110
- * heads, evaluate skip + value-specs per-input, assemble present fragments, render, and run the
111
- * SELECT. Returns the row list.
112
- */
113
- export declare function executeStaticBundle(bundle: StaticBundle, input: Scope, db: SqliteDb): Record<string, unknown>[];
114
- /**
115
- * Execute a single-statement WRITE {@link StaticBundle} (Insert/Update/Delete) against real
116
- * SQLite: evaluate the deferred value-specs per-input, render, and run the statement. A statement
117
- * with a RETURNING tail returns its rows; a non-returning write returns a single-row summary
118
- * `[{ changes, lastInsertRowid }]`. A driver error maps to a {@link SqlFailure} at the boundary.
119
- * (A Command with write-time relations rides the tx-DAG plan of `./tx`, not this path.)
120
- */
121
- export declare function executeStaticWrite(bundle: StaticBundle, input: Scope, db: SqliteDb): Record<string, unknown>[];
122
- /**
123
- * The compiled, portable READ graph of a behavior method: the surrogate bc `ComponentGraphIR`
124
- * (each SQL node → a `makeSQL` node with one `__scope` port; wiring / map / Φ output preserved)
125
- * plus the per-node static statement templates and the optional heads. Pure JSON —
126
- * `JSON.stringify` round-trips, so a per-language runtime executes it with bc + a SQL driver.
127
- */
128
- export interface ReadGraph {
129
- readonly dialect: Dialect;
130
- readonly name: string;
131
- /** The surrogate bc IR (catalog nodes → `makeSQL` `__scope`-port nodes). */
132
- readonly ir: ComponentGraphIR;
133
- /** Per-node static `makeSQL` statement templates, keyed by body node id. */
134
- readonly statementsById: Record<string, readonly StaticStatement[]>;
135
- /** Input heads normalized to present-as-null (absent-key SKIP; SSoT-driven). */
136
- readonly optionalHeads: readonly string[];
137
- }
138
- /**
139
- * Compile a READ behavior method into a portable {@link ReadGraph}: rewrite each authored SQL
140
- * body node to a `makeSQL` node carrying a synthetic `__scope` port (bc evaluates it in-scope),
141
- * and compile each node's static statements ONCE. SYMBOLIC — no concrete input. bc will own map
142
- * iteration / wire binding / Φ output at execute time; the handler renders each node's statements.
143
- */
144
- export declare function compileReadGraph(contract: BehaviorModelContract, dialect: Dialect, entry?: string, findFilterModel?: FindFilterSource, resolveColumnType?: ColumnTypeResolver): ReadGraph;
145
- /**
146
- * Execute a compiled {@link ReadGraph} via bc `runBehavior` + a makeSQL handler: bc drives map
147
- * iteration / wire binding / Φ output; the handler renders each node's static statements against
148
- * the evaluated `__scope` and runs REAL SQLite. Returns the component's Φ output. This is the
149
- * design's "bc composes, makeSQL executes" — the SAME path a per-language runtime follows.
150
- */
151
- export declare function executeReadGraph(graph: ReadGraph, input: Scope, db: SqliteDb): Value;
152
- /** An async driver seam: run a rendered `{ sql, params }` and resolve to result rows (#40). */
153
- export type SqlExecutorAsync = (sql: string, params: unknown[]) => Promise<Record<string, unknown>[]>;
154
- /**
155
- * Async twin of {@link executeReadGraph} — the PG / MySQL execution model (#40).
156
- *
157
- * Byte-identical composition (SAME IR, SAME per-node SQL text + params, SAME Φ output), but bc's
158
- * `runBehaviorAsync` drives it: the makeSQL handler returns a Promise, and bc dispatches the
159
- * INDEPENDENT sibling nodes of a plan stage on `runPlanAsync`'s bounded-parallel path (bc#23),
160
- * bounded by the plan's `concurrency` (default 16). Against a pooled async driver (`pg` / `mysql2`,
161
- * each `exec` call resolving on its own pooled connection), that becomes REAL parallel read-relation
162
- * DB I/O — the plan's declared concurrency finally cashes out as concurrent dispatch. The result is
163
- * deterministic (bc commits stage outcomes in declaration order), so it equals the serial
164
- * `executeReadGraph` output exactly; only the wall-clock changes.
165
- *
166
- * The conformance bar stays on the SYNC in-proc better-sqlite3 path (`executeReadGraph`); this async
167
- * path is the live PG/MySQL execution model and is proven by the latency-injecting concurrency test.
168
- */
169
- export declare function executeReadGraphAsync(graph: ReadGraph, input: Scope, exec: SqlExecutorAsync): Promise<Value>;
170
- /**
171
- * Convenience: compile + execute a READ behavior method whose output may be a Φ-merge of SQL
172
- * nodes (including relation `.map` nodes). Equivalent to `executeReadGraph(compileReadGraph(...))`.
173
- */
174
- export declare function executeReadBehavior(contract: BehaviorModelContract, input: Scope, dialect: Dialect, db: SqliteDb, entry?: string): Value;
175
- /**
176
- * Render the PRIMARY read node's statements of a {@link ReadGraph} against an input scope to its
177
- * dialect SQL text + bound params (the render axis for conformance golden). The primary node is
178
- * the first non-map body node (the root SELECT the relations map over). Optional heads are
179
- * normalized to present-as-null first (absent-key SKIP), so an omitted optional head renders the
180
- * SAME text a runtime would produce.
181
- */
182
- export declare function renderReadPrimary(graph: ReadGraph, input: Scope): {
183
- sql: string;
184
- params: unknown[];
185
- };
186
- export {};
187
- //# sourceMappingURL=static-bundle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static-b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