@arkitektio/bsx 5.0.0 → 6.1.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 (230) hide show
  1. package/README.md +2 -2
  2. package/dist/bsx/analyze.d.ts +6 -5
  3. package/dist/bsx/analyze.d.ts.map +1 -1
  4. package/dist/bsx/analyze.js +12 -10
  5. package/dist/bsx/analyze.js.map +1 -1
  6. package/dist/bsx/declared.d.ts +111 -0
  7. package/dist/bsx/declared.d.ts.map +1 -0
  8. package/dist/bsx/declared.js +311 -0
  9. package/dist/bsx/declared.js.map +1 -0
  10. package/dist/bsx/index.d.ts +1 -0
  11. package/dist/bsx/index.d.ts.map +1 -1
  12. package/dist/bsx/index.js +1 -0
  13. package/dist/bsx/index.js.map +1 -1
  14. package/dist/bsx/infer.d.ts +40 -17
  15. package/dist/bsx/infer.d.ts.map +1 -1
  16. package/dist/bsx/infer.js +105 -49
  17. package/dist/bsx/infer.js.map +1 -1
  18. package/dist/bsx/language.d.ts +6 -2
  19. package/dist/bsx/language.d.ts.map +1 -1
  20. package/dist/bsx/language.js +65 -21
  21. package/dist/bsx/language.js.map +1 -1
  22. package/dist/bsx/parse.d.ts +6 -1
  23. package/dist/bsx/parse.d.ts.map +1 -1
  24. package/dist/bsx/parse.js +32 -3
  25. package/dist/bsx/parse.js.map +1 -1
  26. package/dist/bsx/print.d.ts.map +1 -1
  27. package/dist/bsx/print.js +3 -0
  28. package/dist/bsx/print.js.map +1 -1
  29. package/dist/bsx/references.d.ts +45 -51
  30. package/dist/bsx/references.d.ts.map +1 -1
  31. package/dist/bsx/references.js +265 -138
  32. package/dist/bsx/references.js.map +1 -1
  33. package/dist/catalogs/html.d.ts +2 -2
  34. package/dist/catalogs/index.d.ts +49 -71
  35. package/dist/catalogs/index.d.ts.map +1 -1
  36. package/dist/catalogs/index.js +1 -1
  37. package/dist/catalogs/logo.d.ts +14 -28
  38. package/dist/catalogs/logo.d.ts.map +1 -1
  39. package/dist/catalogs/logo.js +1 -2
  40. package/dist/catalogs/logo.js.map +1 -1
  41. package/dist/catalogs/parts/data.d.ts +1 -1
  42. package/dist/catalogs/parts/feedback.d.ts +3 -3
  43. package/dist/catalogs/parts/forms.d.ts +4 -4
  44. package/dist/catalogs/parts/html.d.ts +2 -2
  45. package/dist/catalogs/parts/icons.d.ts +2 -2
  46. package/dist/catalogs/parts/index.d.ts +35 -57
  47. package/dist/catalogs/parts/index.d.ts.map +1 -1
  48. package/dist/catalogs/parts/logo.d.ts +10 -25
  49. package/dist/catalogs/parts/logo.d.ts.map +1 -1
  50. package/dist/catalogs/parts/logo.js +12 -14
  51. package/dist/catalogs/parts/logo.js.map +1 -1
  52. package/dist/catalogs/parts/navigation.d.ts +4 -4
  53. package/dist/catalogs/parts/overlays.d.ts +11 -11
  54. package/dist/catalogs/parts/run.d.ts +2 -10
  55. package/dist/catalogs/parts/run.d.ts.map +1 -1
  56. package/dist/catalogs/parts/scene.d.ts +7 -15
  57. package/dist/catalogs/parts/scene.d.ts.map +1 -1
  58. package/dist/catalogs/parts/scene.js +1 -5
  59. package/dist/catalogs/parts/scene.js.map +1 -1
  60. package/dist/catalogs/parts/typography.d.ts +3 -3
  61. package/dist/catalogs/props.d.ts +2 -2
  62. package/dist/catalogs/scene.d.ts +5 -13
  63. package/dist/catalogs/scene.d.ts.map +1 -1
  64. package/dist/catalogs/shadcn.d.ts +11 -11
  65. package/dist/catalogs/ui.d.ts +16 -16
  66. package/dist/logo/actionLogoSource.d.ts +3 -3
  67. package/dist/logo/actionLogoSource.d.ts.map +1 -1
  68. package/dist/logo/actionLogoSource.js +4 -4
  69. package/dist/logo/actionLogoSource.js.map +1 -1
  70. package/dist/renderer/BlokRenderer.d.ts +16 -6
  71. package/dist/renderer/BlokRenderer.d.ts.map +1 -1
  72. package/dist/renderer/BlokRenderer.js +32 -13
  73. package/dist/renderer/BlokRenderer.js.map +1 -1
  74. package/dist/renderer/baseCatalog.d.ts +3 -3
  75. package/dist/renderer/baseCatalog.js +2 -2
  76. package/dist/renderer/bloks/control.d.ts +18 -2
  77. package/dist/renderer/bloks/control.d.ts.map +1 -1
  78. package/dist/renderer/bloks/control.js +85 -14
  79. package/dist/renderer/bloks/control.js.map +1 -1
  80. package/dist/renderer/bloks/data.d.ts +1 -1
  81. package/dist/renderer/bloks/feedback.d.ts +3 -3
  82. package/dist/renderer/bloks/forms.d.ts +4 -4
  83. package/dist/renderer/bloks/html.d.ts +2 -2
  84. package/dist/renderer/bloks/icons.d.ts +1 -1
  85. package/dist/renderer/bloks/index.d.ts +30 -37
  86. package/dist/renderer/bloks/index.d.ts.map +1 -1
  87. package/dist/renderer/bloks/logo/index.d.ts +1 -8
  88. package/dist/renderer/bloks/logo/index.d.ts.map +1 -1
  89. package/dist/renderer/bloks/logo/index.js +1 -2
  90. package/dist/renderer/bloks/logo/index.js.map +1 -1
  91. package/dist/renderer/bloks/logo/logo.fixture.json +266 -250
  92. package/dist/renderer/bloks/navigation.d.ts +4 -4
  93. package/dist/renderer/bloks/overlays.d.ts +11 -11
  94. package/dist/renderer/bloks/run/components.d.ts +1 -5
  95. package/dist/renderer/bloks/run/components.d.ts.map +1 -1
  96. package/dist/renderer/bloks/scene/Scene.d.ts.map +1 -1
  97. package/dist/renderer/bloks/scene/Scene.js +4 -2
  98. package/dist/renderer/bloks/scene/Scene.js.map +1 -1
  99. package/dist/renderer/bloks/scene/host.d.ts +2 -0
  100. package/dist/renderer/bloks/scene/host.d.ts.map +1 -1
  101. package/dist/renderer/bloks/scene/host.js +8 -0
  102. package/dist/renderer/bloks/scene/host.js.map +1 -1
  103. package/dist/renderer/bloks/scene/index.d.ts +4 -8
  104. package/dist/renderer/bloks/scene/index.d.ts.map +1 -1
  105. package/dist/renderer/bloks/scene/interaction.d.ts.map +1 -1
  106. package/dist/renderer/bloks/scene/interaction.js +3 -2
  107. package/dist/renderer/bloks/scene/interaction.js.map +1 -1
  108. package/dist/renderer/bloks/shared/props.d.ts +2 -2
  109. package/dist/renderer/bloks/typography.d.ts +3 -3
  110. package/dist/renderer/declarations.d.ts +40 -33
  111. package/dist/renderer/declarations.d.ts.map +1 -1
  112. package/dist/renderer/declarations.js +41 -56
  113. package/dist/renderer/declarations.js.map +1 -1
  114. package/dist/renderer/declare.js +4 -4
  115. package/dist/renderer/declare.js.map +1 -1
  116. package/dist/renderer/persist.d.ts +22 -13
  117. package/dist/renderer/persist.d.ts.map +1 -1
  118. package/dist/renderer/persist.js +40 -21
  119. package/dist/renderer/persist.js.map +1 -1
  120. package/dist/renderer/runtime/catalog.d.ts +4 -4
  121. package/dist/renderer/runtime/catalog.js +3 -3
  122. package/dist/renderer/runtime/components.d.ts +4 -4
  123. package/dist/renderer/runtime/components.d.ts.map +1 -1
  124. package/dist/renderer/runtime/components.js +5 -5
  125. package/dist/renderer/runtime/components.js.map +1 -1
  126. package/dist/renderer/runtime/context.d.ts +5 -5
  127. package/dist/renderer/runtime/context.d.ts.map +1 -1
  128. package/dist/renderer/runtime/context.js +11 -5
  129. package/dist/renderer/runtime/context.js.map +1 -1
  130. package/dist/renderer/runtime/describe.d.ts +3 -3
  131. package/dist/renderer/runtime/describe.d.ts.map +1 -1
  132. package/dist/renderer/runtime/describe.js +2 -2
  133. package/dist/renderer/runtime/describe.js.map +1 -1
  134. package/dist/renderer/runtime/hooks.d.ts.map +1 -1
  135. package/dist/renderer/runtime/hooks.js +8 -4
  136. package/dist/renderer/runtime/hooks.js.map +1 -1
  137. package/dist/renderer/runtime/index.d.ts +1 -0
  138. package/dist/renderer/runtime/index.d.ts.map +1 -1
  139. package/dist/renderer/runtime/index.js +1 -0
  140. package/dist/renderer/runtime/index.js.map +1 -1
  141. package/dist/renderer/runtime/locals.d.ts +57 -0
  142. package/dist/renderer/runtime/locals.d.ts.map +1 -0
  143. package/dist/renderer/runtime/locals.js +87 -0
  144. package/dist/renderer/runtime/locals.js.map +1 -0
  145. package/dist/renderer/runtime/scope.d.ts +14 -0
  146. package/dist/renderer/runtime/scope.d.ts.map +1 -1
  147. package/dist/renderer/runtime/scope.js +25 -3
  148. package/dist/renderer/runtime/scope.js.map +1 -1
  149. package/dist/renderer/runtime/tree.d.ts.map +1 -1
  150. package/dist/renderer/runtime/tree.js +7 -1
  151. package/dist/renderer/runtime/tree.js.map +1 -1
  152. package/dist/renderer/runtime/types.d.ts +8 -3
  153. package/dist/renderer/runtime/types.d.ts.map +1 -1
  154. package/dist/shadcn.d.ts +36 -43
  155. package/dist/shadcn.d.ts.map +1 -1
  156. package/dist/shadcn.js +1 -2
  157. package/dist/shadcn.js.map +1 -1
  158. package/dist/spec/bsx_v2.json +11067 -6321
  159. package/dist/spec/catalogs/{base@3.json → base@4.json} +434 -288
  160. package/dist/spec/catalogs/{base@3.json.js → base@4.json.js} +434 -288
  161. package/dist/spec/catalogs/orkestrator@1.json +10 -10
  162. package/dist/spec/catalogs/orkestrator@1.json.js +10 -10
  163. package/dist/spec/catalogs.d.ts +4 -4
  164. package/dist/spec/catalogs.d.ts.map +1 -1
  165. package/dist/spec/catalogs.js +7 -7
  166. package/dist/spec/catalogs.js.map +1 -1
  167. package/dist/spec/vocabulary.d.ts +25 -4
  168. package/dist/spec/vocabulary.d.ts.map +1 -1
  169. package/dist/spec/vocabulary.js +50 -5
  170. package/dist/spec/vocabulary.js.map +1 -1
  171. package/dist/spec/vocabulary.json +58 -32
  172. package/dist/spec/vocabulary.json.js +58 -32
  173. package/package.json +1 -1
  174. package/src/bsx/analyze.ts +14 -12
  175. package/src/bsx/bsx.test.ts +4 -4
  176. package/src/bsx/declared.ts +346 -0
  177. package/src/bsx/index.ts +1 -0
  178. package/src/bsx/infer.test.ts +42 -32
  179. package/src/bsx/infer.ts +128 -71
  180. package/src/bsx/language.test.ts +37 -25
  181. package/src/bsx/language.ts +72 -25
  182. package/src/bsx/parse.ts +34 -3
  183. package/src/bsx/print.ts +3 -0
  184. package/src/bsx/references.test.ts +82 -81
  185. package/src/bsx/references.ts +313 -178
  186. package/src/catalogs/catalogs.test.ts +3 -2
  187. package/src/catalogs/index.ts +1 -1
  188. package/src/catalogs/logo.ts +1 -2
  189. package/src/catalogs/parts/logo.ts +13 -17
  190. package/src/catalogs/parts/scene.ts +1 -7
  191. package/src/logo/actionLogoSource.ts +4 -4
  192. package/src/renderer/BlokComponentHost.test.tsx +5 -5
  193. package/src/renderer/BlokRenderer.test.tsx +22 -0
  194. package/src/renderer/BlokRenderer.tsx +70 -20
  195. package/src/renderer/addBlokComponents.test.tsx +1 -1
  196. package/src/renderer/baseCatalog.ts +2 -2
  197. package/src/renderer/bloks/control.tsx +119 -16
  198. package/src/renderer/bloks/logo/index.tsx +2 -3
  199. package/src/renderer/bloks/logo/logo.fixture.json +266 -250
  200. package/src/renderer/bloks/logo/logo.test.tsx +18 -7
  201. package/src/renderer/bloks/run/space.test.tsx +12 -4
  202. package/src/renderer/bloks/scene/Scene.tsx +4 -2
  203. package/src/renderer/bloks/scene/host.tsx +11 -0
  204. package/src/renderer/bloks/scene/interaction.tsx +11 -6
  205. package/src/renderer/bloks/scene/transform.test.ts +8 -7
  206. package/src/renderer/declarations.test.ts +38 -51
  207. package/src/renderer/declarations.ts +67 -88
  208. package/src/renderer/declare.test.ts +4 -4
  209. package/src/renderer/declare.ts +4 -4
  210. package/src/renderer/persist.test.ts +70 -49
  211. package/src/renderer/persist.ts +57 -34
  212. package/src/renderer/runtime/catalog.test.ts +2 -2
  213. package/src/renderer/runtime/catalog.ts +4 -4
  214. package/src/renderer/runtime/components.tsx +8 -8
  215. package/src/renderer/runtime/context.tsx +17 -10
  216. package/src/renderer/runtime/describe.ts +5 -5
  217. package/src/renderer/runtime/hooks.ts +6 -4
  218. package/src/renderer/runtime/index.ts +1 -0
  219. package/src/renderer/runtime/locals.tsx +105 -0
  220. package/src/renderer/runtime/scope.tsx +31 -3
  221. package/src/renderer/runtime/tree.tsx +16 -4
  222. package/src/renderer/runtime/types.ts +8 -3
  223. package/src/shadcn.ts +1 -2
  224. package/src/spec/bsx_v2.json +11067 -6321
  225. package/src/spec/catalogs/{base@3.json → base@4.json} +434 -288
  226. package/src/spec/catalogs/orkestrator@1.json +10 -10
  227. package/src/spec/catalogs.ts +8 -8
  228. package/src/spec/spec.test.ts +19 -16
  229. package/src/spec/vocabulary.json +58 -32
  230. package/src/spec/vocabulary.ts +69 -10
@@ -1,9 +1,9 @@
1
- import type { BlokActionArgument, BlokAgentCall, BlokComponentNode, BlokComponentProp } from '../renderer/runtime/types';
1
+ import type { BlokAgentCall, BlokComponentNode, BlokComponentProp } from '../renderer/runtime/types';
2
2
  import { type BlokView } from '../spec/catalogs';
3
3
  import { type BlokFinding, type BlokKind, type BlokVocabulary } from '../spec/vocabulary';
4
4
  /**
5
- * The v2 validator: a blok's tree against what it declares, its kind, and the
6
- * catalogs that draw it. The port of arkitekt-spec's
5
+ * The v2 validator: a blok's tree (its `<Blok>` header and its declarations),
6
+ * where it is mounted, and the catalogs that draw it. The port of arkitekt-spec's
7
7
  * `declare/blok/validate.py` (with `walk.py`), held to the `checked` cases of
8
8
  * the corpus (`core/blok/spec/bsx_v2.json`). The server runs the same rules on
9
9
  * save; here they mark the source while the author types.
@@ -58,9 +58,10 @@ export type BlokScopeLocalPort = {
58
58
  description?: string | null;
59
59
  };
60
60
  /**
61
- * A local (vocabulary `locals`): an arg port plus `persist`. Its kind is a
62
- * port kind or `ANY`; left out (absent or null), it is inferred from the tree
63
- * (`resolveBlokScope`), and a given kind, `ANY` included, is kept.
61
+ * A local (vocabulary `locals`), as its `<local>` node declares it: an arg
62
+ * port plus `persist`. Its kind is a port kind or `ANY`; left out (absent or
63
+ * null), it is inferred from the tree (`resolveLocals`), and a given kind,
64
+ * `ANY` included, is kept.
64
65
  */
65
66
  export type BlokScopeLocal = Omit<BlokScopeLocalPort, 'kind'> & {
66
67
  kind?: string | null;
@@ -70,39 +71,30 @@ export type BlokScopeLocal = Omit<BlokScopeLocalPort, 'kind'> & {
70
71
  export type ResolvedBlokLocal = BlokScopeLocalPort & {
71
72
  persist?: boolean | null;
72
73
  };
73
- export type BlokScopeQuery = {
74
- key: string;
75
- service?: string | null;
76
- document?: string | null;
77
- /** The variables, as stored arguments (`parseBsxArgument`). */
78
- variables?: readonly BlokActionArgument[] | null;
79
- poll?: number | null;
80
- /** The list field `fetch_more` appends to; a query without it cannot fetch more. */
81
- more?: string | null;
82
- };
83
- export type BlokScopeSubscription = {
84
- key: string;
85
- service?: string | null;
86
- document?: string | null;
87
- variables?: readonly BlokActionArgument[] | null;
88
- keep?: number | null;
89
- history?: string | null;
90
- };
91
74
  /** What of the class `token` is outside the portable subset (`the before variant`), or null. */
92
75
  export declare const unportableClass: (token: string, vocabulary: BlokVocabulary) => string | null;
93
- /** What a blok declares beside its tree; the corpus' `scope` verbatim. */
76
+ /**
77
+ * Where a blok is mounted: what its mount provides, which its reads and calls
78
+ * resolve against (the spec's `BlokScope`, the corpus' `mount`, the record
79
+ * `arkitekt check --json` hands the editor tooling). What the blok is (its kind
80
+ * and context) and what it owns (its locals, queries and subscriptions) are
81
+ * read off its tree, never from here.
82
+ */
94
83
  export type BlokCheckScope = {
95
- kind: BlokKind;
96
- /** `HTML`, `SCENE`, `OVERLAY`, `LOGO`, or `ACTION_LOGO` (drawn as a logo). */
97
- context: string;
98
- dependencies: readonly BlokScopeDependency[];
99
- locals: readonly BlokScopeLocal[];
100
- queries: readonly BlokScopeQuery[];
101
- subscriptions: readonly BlokScopeSubscription[];
84
+ /** The kinds the mount takes (`app.blok`: agent; an action's `bloks=`: action or assign); empty or absent takes any. */
85
+ kinds?: readonly string[] | null;
86
+ /** What the mount is, for a message (`bloks= of process_slides`). */
87
+ mount?: string | null;
88
+ /**
89
+ * What `self` and `deps.<key>` resolve against; a `self` entry types `self`,
90
+ * which is open without one. Null: not mounted, every agent is taken as
91
+ * written (`deps.<key>`, `Placed`/`Route` keys and `like` are not checked).
92
+ */
93
+ dependencies: readonly BlokScopeDependency[] | null;
102
94
  /** The keys `args.<key>` may read; null reads any. */
103
95
  args: readonly string[] | null;
104
- /** The id of the catalog the blok is written for; null (or absent): the base catalog. The corpus' `target`. */
105
- target?: string | null;
96
+ /** The catalog the blok's `<Blok>` names, as the mount saw it; informational (the tree says it). */
97
+ catalog?: string | null;
106
98
  /** Per declared query, the shape of its value when its service's schema is known. */
107
99
  query_values?: Readonly<Record<string, BlokPortMatch>>;
108
100
  /** The assets `self.assets.<name>` may name; null (or absent) names any. */
@@ -114,19 +106,12 @@ export type BlokCheckScope = {
114
106
  task?: unknown;
115
107
  } | null;
116
108
  };
117
- /** A scope after inference: every local kinded (dependencies are never inferred). */
118
- export type ResolvedBlokScope = Omit<BlokCheckScope, 'locals'> & {
119
- locals: readonly ResolvedBlokLocal[];
120
- };
121
- export declare const emptyBlokScope: (kind?: BlokKind, context?: string) => BlokCheckScope;
122
- /** The context a scope's components are drawn in: an action logo's is a logo's. */
123
- export declare const drawnIn: (scope: BlokCheckScope) => string;
124
- /** The root components a blok of ``context`` may start with (`HTML` → `Html`; `SCENE` → `Scene`, `Space`): a blok's root names its context. */
125
- export declare const blokRootsOf: (context: string) => string[];
126
- /** The root a new blok of ``context`` starts with: the first it may start with (`SCENE` → `Scene`). */
127
- export declare const blokRootOf: (context: string) => string | null;
128
- /** The blok context a root component names (`Space` → `SCENE`), or null when it names none. */
129
- export declare const blokContextOf: (component: string) => string | null;
109
+ /** A blok checked on its own, mounted nowhere: what an editor checks from the source alone. */
110
+ export declare const unmountedBlokScope: () => BlokCheckScope;
111
+ /** A blok mounted where `kinds` go, with `dependencies` (none by default): every agent it reads must be one of them. */
112
+ export declare const mountedBlokScope: (kinds?: readonly string[], dependencies?: readonly BlokScopeDependency[], args?: readonly string[] | null) => BlokCheckScope;
113
+ /** A context as a `<Blok context>` spells it (`PANEL` → `panel`). */
114
+ export declare const spelledContext: (context: string) => string;
130
115
  /** Whether a prop holds a callback's one thing: a task call or an effect (`query.refetch` too). */
131
116
  export declare const isCallbackValue: (prop: BlokComponentProp) => boolean;
132
117
  /** Every name a task call writes its record to (`... into move`), with each call site. */
@@ -136,6 +121,8 @@ export declare const intoSites: (node: BlokComponentNode) => Map<string, Array<{
136
121
  }>>;
137
122
  /** The loop variable a `foreach` declares. */
138
123
  export declare const foreachLet: (node: BlokComponentNode) => string | null;
124
+ /** The kind of a GraphQL document's first operation: `query` (also for `{ ... }`), `mutation`, `subscription`, `fragment`. */
125
+ export declare const operationKeyword: (document: string) => string;
139
126
  /**
140
127
  * What a blok of `kind` that reads an undeclared `deps.<key>` does about it
141
128
  * (the spec's `dependency_hint`):
@@ -149,9 +136,16 @@ export declare const literalHint: (key: string, value: string, kind: string) =>
149
136
  /** A logo is an icon: few nodes, shallow, little path data, and loops over few items. */
150
137
  export declare const checkLogo: (tree: BlokComponentNode, demo?: BlokCheckScope["demo"]) => BlokFinding[];
151
138
  /**
152
- * Every finding of `tree` against `scope` and `view`: errors and warnings, in
153
- * tree order. `view` defaults to the Orkestrator's (base, the standard catalogs
154
- * and its module); `null` skips every catalog rule.
139
+ * The view a blok is checked with when none is given: that of the catalog its
140
+ * `<Blok catalog>` names when it is known here, the app's own when it names
141
+ * none, and an incomplete base view (nothing reported unknown) otherwise.
142
+ */
143
+ export declare const viewForTree: (tree: BlokComponentNode) => BlokView;
144
+ /**
145
+ * Every finding of `tree` mounted as `scope` says (unmounted by default),
146
+ * against `view`: errors and warnings, in tree order. A root that is no
147
+ * readable `<Blok>` is the one finding. `view` defaults to that of the catalog
148
+ * the blok names (`viewForTree`); `null` skips every catalog rule.
155
149
  */
156
- export declare const checkBlokTree: (tree: BlokComponentNode, scope: BlokCheckScope, view?: BlokView | null) => BlokFinding[];
150
+ export declare const checkBlokTree: (tree: BlokComponentNode, scope?: BlokCheckScope, view?: BlokView | null) => BlokFinding[];
157
151
  //# sourceMappingURL=references.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"references.d.ts","sourceRoot":"","sources":["../../src/bsx/references.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,i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