@react-x11/components 0.14.1 → 0.16.1
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/code-editor/node.d.ts +13 -0
- package/dist/code-editor/node.d.ts.map +1 -1
- package/dist/code-editor/node.js +23 -5
- package/dist/code-editor/node.js.map +1 -1
- package/dist/html/css/cascade.d.ts +171 -26
- package/dist/html/css/cascade.d.ts.map +1 -1
- package/dist/html/css/cascade.js +616 -216
- package/dist/html/css/cascade.js.map +1 -1
- package/dist/html/css/color.d.ts +25 -0
- package/dist/html/css/color.d.ts.map +1 -1
- package/dist/html/css/color.js +307 -19
- package/dist/html/css/color.js.map +1 -1
- package/dist/html/css/content.d.ts +11 -6
- package/dist/html/css/content.d.ts.map +1 -1
- package/dist/html/css/content.js +171 -12
- package/dist/html/css/content.js.map +1 -1
- package/dist/html/css/parse.d.ts.map +1 -1
- package/dist/html/css/parse.js +62 -9
- package/dist/html/css/parse.js.map +1 -1
- package/dist/html/css/shapes.d.ts +18 -0
- package/dist/html/css/shapes.d.ts.map +1 -1
- package/dist/html/css/shapes.js +21 -1
- package/dist/html/css/shapes.js.map +1 -1
- package/dist/html/css/style.d.ts +42 -5
- package/dist/html/css/style.d.ts.map +1 -1
- package/dist/html/css/style.js +74 -12
- package/dist/html/css/style.js.map +1 -1
- package/dist/html/css/ua.js +27 -8
- package/dist/html/css/ua.js.map +1 -1
- package/dist/html/css/values.d.ts +5 -0
- package/dist/html/css/values.d.ts.map +1 -1
- package/dist/html/css/values.js +18 -9
- package/dist/html/css/values.js.map +1 -1
- package/dist/html/index.d.ts.map +1 -1
- package/dist/html/index.js +7 -0
- package/dist/html/index.js.map +1 -1
- package/dist/html/layout/block.d.ts +29 -9
- package/dist/html/layout/block.d.ts.map +1 -1
- package/dist/html/layout/block.js +141 -52
- package/dist/html/layout/block.js.map +1 -1
- package/dist/html/layout/boxes.d.ts +29 -2
- package/dist/html/layout/boxes.d.ts.map +1 -1
- package/dist/html/layout/boxes.js +172 -23
- package/dist/html/layout/boxes.js.map +1 -1
- package/dist/html/layout/css-grid.d.ts.map +1 -1
- package/dist/html/layout/css-grid.js +11 -9
- package/dist/html/layout/css-grid.js.map +1 -1
- package/dist/html/layout/flex.d.ts.map +1 -1
- package/dist/html/layout/flex.js +1759 -238
- package/dist/html/layout/flex.js.map +1 -1
- package/dist/html/layout/inline.d.ts +15 -3
- package/dist/html/layout/inline.d.ts.map +1 -1
- package/dist/html/layout/inline.js +64 -19
- package/dist/html/layout/inline.js.map +1 -1
- package/dist/html/layout/table.d.ts +27 -1
- package/dist/html/layout/table.d.ts.map +1 -1
- package/dist/html/layout/table.js +886 -324
- package/dist/html/layout/table.js.map +1 -1
- package/dist/html/node.d.ts +35 -4
- package/dist/html/node.d.ts.map +1 -1
- package/dist/html/node.js +122 -26
- package/dist/html/node.js.map +1 -1
- package/dist/html/paint.d.ts.map +1 -1
- package/dist/html/paint.js +558 -178
- package/dist/html/paint.js.map +1 -1
- package/dist/html/resources.js +14 -1
- package/dist/html/resources.js.map +1 -1
- package/dist/html/svg.d.ts +23 -7
- package/dist/html/svg.d.ts.map +1 -1
- package/dist/html/svg.js +264 -59
- package/dist/html/svg.js.map +1 -1
- package/dist/html/widgets.d.ts.map +1 -1
- package/dist/html/widgets.js +57 -4
- package/dist/html/widgets.js.map +1 -1
- package/package.json +3 -3
- package/src/code-editor/node.ts +24 -5
- package/src/html/css/cascade.ts +697 -221
- package/src/html/css/color.ts +345 -18
- package/src/html/css/content.ts +173 -15
- package/src/html/css/parse.ts +60 -8
- package/src/html/css/shapes.ts +35 -1
- package/src/html/css/style.ts +122 -17
- package/src/html/css/ua.ts +27 -8
- package/src/html/css/values.ts +23 -9
- package/src/html/index.ts +7 -0
- package/src/html/layout/block.ts +149 -58
- package/src/html/layout/boxes.ts +211 -27
- package/src/html/layout/css-grid.ts +12 -9
- package/src/html/layout/flex.ts +1975 -231
- package/src/html/layout/inline.ts +70 -16
- package/src/html/layout/table.ts +961 -332
- package/src/html/node.ts +155 -27
- package/src/html/paint.ts +692 -234
- package/src/html/resources.ts +13 -1
- package/src/html/svg.ts +299 -56
- package/src/html/widgets.ts +61 -4
|
@@ -1,9 +1,31 @@
|
|
|
1
|
+
import { Element as DomElement } from 'domhandler';
|
|
1
2
|
import type { Element } from 'domhandler';
|
|
2
|
-
import type { Stylesheet } from './parse.js';
|
|
3
|
+
import type { Declaration, Stylesheet } from './parse.js';
|
|
3
4
|
import type { ComputedStyle, RootLook } from './style.js';
|
|
4
5
|
import type { FontFamilies } from '../fonts.js';
|
|
5
6
|
import { CounterStyles } from './counter-styles.js';
|
|
6
|
-
import type { ShapeStyles } from './shapes.js';
|
|
7
|
+
import type { ShapeStyle, ShapeStyles } from './shapes.js';
|
|
8
|
+
/** Where a declaration came from. Higher wins before specificity is asked. */
|
|
9
|
+
declare const enum Origin {
|
|
10
|
+
UserAgent = 0,
|
|
11
|
+
Presentation = 1,
|
|
12
|
+
Author = 2,
|
|
13
|
+
Inline = 3,
|
|
14
|
+
AuthorImportant = 4,
|
|
15
|
+
InlineImportant = 5
|
|
16
|
+
}
|
|
17
|
+
interface Candidate {
|
|
18
|
+
origin: Origin;
|
|
19
|
+
/** The rule's cascade layer, null for none (`StyleRule.layer`). */
|
|
20
|
+
layer: readonly number[] | null;
|
|
21
|
+
specificity: number;
|
|
22
|
+
order: number;
|
|
23
|
+
declarations: Declaration[];
|
|
24
|
+
/** Only this declaration is taken from `declarations`, for the `!important`
|
|
25
|
+
* passes where a rule contributes some of its declarations at one level
|
|
26
|
+
* and the rest at another. `-1` takes them all. */
|
|
27
|
+
only: number;
|
|
28
|
+
}
|
|
7
29
|
/** A style handed to every element with the same sharing key, and the key
|
|
8
30
|
* that element's children share under (`Cascade.sharedStyleFor`). */
|
|
9
31
|
export interface SharedStyle {
|
|
@@ -74,8 +96,27 @@ export interface SelectionStyle {
|
|
|
74
96
|
* handed none), so a selector that tests only it never changes as the
|
|
75
97
|
* pointer moves — Wikipedia's buttons' `:focus:not(:active)` among them.
|
|
76
98
|
* A press that sets it would have to be counted here too.
|
|
99
|
+
*
|
|
100
|
+
* The focus is the other state a change of reaches only some elements, and
|
|
101
|
+
* `kind` says which is asked for: `FOCUS_STATE` finds the compounds that
|
|
102
|
+
* test `:focus`, `:focus-visible` or `:focus-within` the same way. Either
|
|
103
|
+
* kind leaves the other's pseudo-classes out of a compound as well as its
|
|
104
|
+
* own, so what is left matches wherever the compound could, in any state —
|
|
105
|
+
* `a:focus:hover` is a compound of `a`'s, for both.
|
|
77
106
|
*/
|
|
78
|
-
export declare function pointerCompounds(selector: string): PointerCompounds;
|
|
107
|
+
export declare function pointerCompounds(selector: string, kind?: StateKind): PointerCompounds;
|
|
108
|
+
/** A state a change of reaches only the elements some compound names: which
|
|
109
|
+
* selectors mention it at all, which tests it anywhere, and which of the
|
|
110
|
+
* pseudo-classes `STATE_PSEUDO_AT` takes out of a compound are its own. */
|
|
111
|
+
export interface StateKind {
|
|
112
|
+
mentions: RegExp;
|
|
113
|
+
any: RegExp;
|
|
114
|
+
own: RegExp;
|
|
115
|
+
}
|
|
116
|
+
/** The pointer's: `:hover`, and `:active`, which nothing sets. */
|
|
117
|
+
export declare const HOVER_STATE: StateKind;
|
|
118
|
+
/** The focus's: `:focus`, `:focus-visible` and `:focus-within`. */
|
|
119
|
+
export declare const FOCUS_STATE: StateKind;
|
|
79
120
|
export interface PointerCompounds {
|
|
80
121
|
compounds: string[];
|
|
81
122
|
siblings: boolean;
|
|
@@ -88,6 +129,41 @@ export interface PointerCompounds {
|
|
|
88
129
|
* whose elements' later siblings change with them. */
|
|
89
130
|
followed: string[];
|
|
90
131
|
}
|
|
132
|
+
/** What the rules matched in the copy a `<use>` makes of an element: each
|
|
133
|
+
* element they reach, with its place in the copy and its rules in cascade
|
|
134
|
+
* order; how many elements the copy has; and the `<use>`s in it. */
|
|
135
|
+
interface CopyMatch {
|
|
136
|
+
rules: {
|
|
137
|
+
el: Element;
|
|
138
|
+
at: number;
|
|
139
|
+
candidates: Candidate[];
|
|
140
|
+
}[];
|
|
141
|
+
size: number;
|
|
142
|
+
uses: Element[];
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* What `Cascade.shapeStyles` keeps for the drawings of one build of the
|
|
146
|
+
* boxes (`BoxTree.shapeCopies`): the document's elements by their ids, and
|
|
147
|
+
* what the rules matched in the copy of each element a `<use>` names —
|
|
148
|
+
* the same whichever `<use>` makes it, so a page of hundreds of icons from
|
|
149
|
+
* one sprite matches each symbol once — and what that comes to for a
|
|
150
|
+
* drawing of each style. A build is made again whenever the document, its
|
|
151
|
+
* style sheets or a viewport a value reads change, and a pointer move
|
|
152
|
+
* changes nothing a copy is matched by: nothing in one is under the
|
|
153
|
+
* pointer, and a drawing whose style it changes has another style.
|
|
154
|
+
*/
|
|
155
|
+
export declare class ShapeCopies {
|
|
156
|
+
readonly byId: (id: string) => Element | null;
|
|
157
|
+
/** @internal */
|
|
158
|
+
readonly matched: Map<DomElement, CopyMatch>;
|
|
159
|
+
/** @internal What each copy comes to for a drawing of a style, and the
|
|
160
|
+
* key that names it. */
|
|
161
|
+
readonly resolved: WeakMap<ComputedStyle, Map<DomElement, {
|
|
162
|
+
into: Map<Element, ShapeStyle> | null;
|
|
163
|
+
key: string;
|
|
164
|
+
}>>;
|
|
165
|
+
constructor(byId: (id: string) => Element | null);
|
|
166
|
+
}
|
|
91
167
|
/** What `Cascade.firstLetterRules` found for an element. */
|
|
92
168
|
export interface FirstLetterRules {
|
|
93
169
|
readonly el: Element;
|
|
@@ -99,6 +175,16 @@ export interface PointerState {
|
|
|
99
175
|
hovered: ReadonlySet<Element>;
|
|
100
176
|
active: ReadonlySet<Element>;
|
|
101
177
|
}
|
|
178
|
+
/** Where the focus is, for `:focus` and its kin: the element whose widget
|
|
179
|
+
* holds it, whether that shows (`:focus-visible`), and the element with
|
|
180
|
+
* every element around it (`:focus-within`). No element of a document
|
|
181
|
+
* takes the focus itself; a control's widget, mounted beside it, does. */
|
|
182
|
+
export interface FocusState {
|
|
183
|
+
element: Element | null;
|
|
184
|
+
visible: boolean;
|
|
185
|
+
within: ReadonlySet<Element>;
|
|
186
|
+
}
|
|
187
|
+
export declare const NO_FOCUS: FocusState;
|
|
102
188
|
/**
|
|
103
189
|
* The face a style's font-relative units are measured in: its family list,
|
|
104
190
|
* size, weight and slant, the four that pick one. A family's faces can be
|
|
@@ -130,22 +216,23 @@ export declare class Cascade {
|
|
|
130
216
|
private _shapes;
|
|
131
217
|
private _shapeNeeds;
|
|
132
218
|
private _adapter;
|
|
133
|
-
/**
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
*
|
|
146
|
-
private
|
|
147
|
-
private
|
|
219
|
+
/**
|
|
220
|
+
* The tree a `<use>`'s copy is in, for `_copyAdapter`: the element it is
|
|
221
|
+
* a copy of, which is its top (`ShapeStyles.used`). A copy is its own
|
|
222
|
+
* tree, a shadow tree of the `<use>`'s (SVG 2, 5.5.1), so a selector is
|
|
223
|
+
* matched against its original with nothing above that element and
|
|
224
|
+
* nothing beside it — the top of a copy is its tree's first child and
|
|
225
|
+
* its last, whichever of its parent's it is. And nothing in it is under
|
|
226
|
+
* the pointer, as nothing in a drawing is: it has no box to be.
|
|
227
|
+
*/
|
|
228
|
+
private _copyTop;
|
|
229
|
+
private _copyAdapter;
|
|
230
|
+
/** What the selectors that test the pointer, and the ones that test the
|
|
231
|
+
* focus, say of the elements a change of it reaches. */
|
|
232
|
+
private _hoverRules;
|
|
233
|
+
private _focusRules;
|
|
148
234
|
private _pointer;
|
|
235
|
+
private _focus;
|
|
149
236
|
readonly initial: ComputedStyle;
|
|
150
237
|
readonly look: RootLook;
|
|
151
238
|
/** Viewport width the media queries were evaluated at, in device pixels
|
|
@@ -192,18 +279,42 @@ export declare class Cascade {
|
|
|
192
279
|
/** Whether any declaration has a length in `lh` or `rlh`: only then is
|
|
193
280
|
* the line height settled ahead of the declarations that read it. */
|
|
194
281
|
private _lh;
|
|
195
|
-
/** The pseudo-classes css-select is handed
|
|
282
|
+
/** The pseudo-classes css-select is handed: `:root` this cascade's, and
|
|
283
|
+
* the focus's three answered from `_focus`. */
|
|
196
284
|
private _pseudos;
|
|
285
|
+
/** The colour schemes the page says it supports with a `<meta
|
|
286
|
+
* name="color-scheme">` (HTML 4.2.5.4), which its root element takes
|
|
287
|
+
* as it takes a presentational attribute: under any rule that sets its
|
|
288
|
+
* `color-scheme`. Set by the box builder from the document. */
|
|
289
|
+
pageColorScheme: string | null;
|
|
290
|
+
/** Each system colour as the `light-dark()` it is: the palette's where
|
|
291
|
+
* the element's scheme is the palette's, and Chrome's in an SVG image,
|
|
292
|
+
* which has none. */
|
|
293
|
+
private _systemColors;
|
|
197
294
|
constructor(sheets: Stylesheet[], look: RootLook, viewportWidth: number, viewportHeight: number, scale?: number, xHeight?: FaceMetric | null, zeroWidth?: FaceMetric | null, normalLine?: FaceMetric | null, families?: FontFamilies | null,
|
|
198
295
|
/** The document's element where it is not an `<html>`: an SVG image's
|
|
199
296
|
* `<svg>`, which is `:root` there (Selectors 4, 14.1). */
|
|
200
|
-
documentElement?: Element | null
|
|
297
|
+
documentElement?: Element | null,
|
|
298
|
+
/** The element the document's URL names by its fragment, which is
|
|
299
|
+
* `:target` (Selectors 4, 9.1): an SVG image's, `image.svg#icon`. */
|
|
300
|
+
target?: Element | null);
|
|
201
301
|
/** Whether declarations read the viewport's width or height (`vw`,
|
|
202
302
|
* `vh`, `vmin`, `vmax`), noted on the cascade. */
|
|
203
303
|
private _noteViewportUnits;
|
|
204
304
|
/** Whether a pointer move can change what this cascade produces. */
|
|
205
305
|
get hoverSensitive(): boolean;
|
|
206
306
|
setPointer(pointer: PointerState): void;
|
|
307
|
+
/** Whether a widget taking the focus or giving it up can change what this
|
|
308
|
+
* cascade produces. */
|
|
309
|
+
get focusSensitive(): boolean;
|
|
310
|
+
setFocus(focus: FocusState): void;
|
|
311
|
+
/** Whether a pointer move can be restyled where it happened
|
|
312
|
+
* (`HtmlViewNode._hoverInPlace`): false where a selector tests the
|
|
313
|
+
* pointer inside a functional pseudo-class, which reaches elements no
|
|
314
|
+
* compound names. */
|
|
315
|
+
get hoverLocal(): boolean;
|
|
316
|
+
/** …and a focus change. */
|
|
317
|
+
get focusLocal(): boolean;
|
|
207
318
|
/**
|
|
208
319
|
* Which pseudo-elements' rules test the pointer: none's
|
|
209
320
|
* (`HOVER_PSEUDO_NONE`); a `::before`'s or an `::after`'s only
|
|
@@ -213,6 +324,9 @@ export declare class Cascade {
|
|
|
213
324
|
* move cannot.
|
|
214
325
|
*/
|
|
215
326
|
get hoverPseudo(): 0 | 1 | 2;
|
|
327
|
+
/** …and which test the focus. */
|
|
328
|
+
get focusPseudo(): 0 | 1 | 2;
|
|
329
|
+
private _pseudoRules;
|
|
216
330
|
/**
|
|
217
331
|
* Whether the pointer entering or leaving `el` can change a style: one of
|
|
218
332
|
* the compounds a selector tests the pointer in matches it, the pointer
|
|
@@ -224,6 +338,9 @@ export declare class Cascade {
|
|
|
224
338
|
* table restyle the rows after it.
|
|
225
339
|
*/
|
|
226
340
|
hoverTouches(el: Element): HoverTouch;
|
|
341
|
+
/** `hoverTouches` for the focus: whether `el` taking the focus or giving
|
|
342
|
+
* it up, or its `:focus-within` changing, can change a style. */
|
|
343
|
+
focusTouches(el: Element): HoverTouch;
|
|
227
344
|
/**
|
|
228
345
|
* The elements whose `:has()` may have changed its answer as `el` was
|
|
229
346
|
* hovered or left: the ancestors of it a compound whose `:has()` tests
|
|
@@ -233,7 +350,8 @@ export declare class Cascade {
|
|
|
233
350
|
* siblings can change with it (`hoverTouches`).
|
|
234
351
|
*/
|
|
235
352
|
hoverAnchors(el: Element, into: Map<Element, HoverTouch>): void;
|
|
236
|
-
|
|
353
|
+
/** `hoverAnchors` for the focus: `form:has(input:focus)`'s form. */
|
|
354
|
+
focusAnchors(el: Element, into: Map<Element, HoverTouch>): void;
|
|
237
355
|
/** A selector compiled as a rule's is, or null where css-select refuses
|
|
238
356
|
* it, as a rule it refuses drops out of the cascade. */
|
|
239
357
|
private _compile;
|
|
@@ -436,12 +554,20 @@ export declare class Cascade {
|
|
|
436
554
|
* itself. The root's box has its paint, its opacity and whether it is
|
|
437
555
|
* shown from its computed style, so those are left out for it.
|
|
438
556
|
*
|
|
557
|
+
* What a `<use>` draws is a copy, styled in a tree of its own
|
|
558
|
+
* (`ShapeStyles.used`): the element it names is looked for as `copyTree`
|
|
559
|
+
* looks — the drawing's own first, then the document's — and what is in
|
|
560
|
+
* it asked of where it stands in that tree, once a build for all the
|
|
561
|
+
* `<use>`s that name it (`ShapeCopies`). An icon sprite's `<symbol>`,
|
|
562
|
+
* outside the drawing in a hidden `<svg>` of them, is styled that way,
|
|
563
|
+
* and so is one of the drawing's own.
|
|
564
|
+
*
|
|
439
565
|
* Asked as a drawing is first painted (`BoxTree.shapeStyler`), of the
|
|
440
566
|
* rules in `_shapes` alone: a page of hundreds of icons pays for the ones
|
|
441
567
|
* it shows, a look in the buckets for each of their elements where no
|
|
442
568
|
* rule reaches them, and a document with no such rule nothing.
|
|
443
569
|
*/
|
|
444
|
-
shapeStyles(root: Element, style: ComputedStyle): ShapeStyles | null;
|
|
570
|
+
shapeStyles(root: Element, style: ComputedStyle, copies?: ShapeCopies | null): ShapeStyles | null;
|
|
445
571
|
/** `ShapeNeeds`, and each such rule's own (`IndexedRule.needs`). */
|
|
446
572
|
private _needsOfShapes;
|
|
447
573
|
/**
|
|
@@ -451,11 +577,12 @@ export declare class Cascade {
|
|
|
451
577
|
* nothing else, since no other rule's answer is the pointer's. An element
|
|
452
578
|
* they answer the same for, under a parent whose style is what it was, has
|
|
453
579
|
* the style it had — which is most of what a move reaches: the rows of a
|
|
454
|
-
* hovered table body, what is in a hovered card.
|
|
580
|
+
* hovered table body, what is in a hovered card. The focus's move from
|
|
581
|
+
* `wasFocus` likewise, the rules that test it asked under both.
|
|
455
582
|
*/
|
|
456
|
-
pointerChanged(el: Element, was: PointerState): boolean;
|
|
457
|
-
/** The ids of the rules testing the pointer
|
|
458
|
-
* stand, the element's and each pseudo-element's. */
|
|
583
|
+
pointerChanged(el: Element, was: PointerState, wasFocus?: FocusState): boolean;
|
|
584
|
+
/** The ids of the rules testing the pointer or the focus that match
|
|
585
|
+
* `el` as things stand, the element's and each pseudo-element's. */
|
|
459
586
|
private _pointerAnswers;
|
|
460
587
|
/** The rules of `index` that match `el`, pushed onto `out` as candidates,
|
|
461
588
|
* and their ids onto `matched` in the order they were tried. */
|
|
@@ -465,4 +592,22 @@ export declare class Cascade {
|
|
|
465
592
|
* were tried. */
|
|
466
593
|
private _candidates;
|
|
467
594
|
}
|
|
595
|
+
/**
|
|
596
|
+
* An element's language: the `lang` or `xml:lang` of the nearest element
|
|
597
|
+
* from it up that says one, or with none saying, the document's, as its
|
|
598
|
+
* `<meta http-equiv="content-language">` sets it — searched from the
|
|
599
|
+
* document, where a fragment's `<meta>` is a sibling of what it covers.
|
|
600
|
+
* '' where none does, or the nearest says ''.
|
|
601
|
+
*/
|
|
602
|
+
export declare function languageOf(el: Element): string;
|
|
603
|
+
/**
|
|
604
|
+
* The page's supported colour schemes: the content of the first `<meta
|
|
605
|
+
* name="color-scheme">` that is a `color-scheme` value (HTML 4.2.5.4), or
|
|
606
|
+
* null. Looked for where a `<meta>` is, at the top of a fragment and in
|
|
607
|
+
* the `<html>` and its `<head>`, and not through the body.
|
|
608
|
+
*/
|
|
609
|
+
export declare function metaColorScheme(root: {
|
|
610
|
+
children: unknown[];
|
|
611
|
+
}): string | null;
|
|
612
|
+
export {};
|
|
468
613
|
//# sourceMappingURL=cascade.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cascade.d.ts","sourceRoot":"","sources":["../../../src/html/css/cascade.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,OAAO,EAAE,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