@miragon/wardley-renderer 0.4.0 → 0.6.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.
- package/README.md +4 -3
- package/dist/draw/WardleyRenderer.d.ts +2 -0
- package/dist/draw/WardleyRenderer.d.ts.map +1 -1
- package/dist/draw/styles.d.ts +50 -44
- package/dist/draw/styles.d.ts.map +1 -1
- package/dist/draw-tool/WardleyDrawTool.d.ts +4 -2
- package/dist/draw-tool/WardleyDrawTool.d.ts.map +1 -1
- package/dist/evolve/WardleyEvolveDragging.d.ts +4 -2
- package/dist/evolve/WardleyEvolveDragging.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +464 -438
- package/dist/index.js.map +1 -1
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/palette.d.ts +55 -0
- package/dist/theme/palette.d.ts.map +1 -0
- package/dist/wardley.css +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -36,11 +36,12 @@ Swap `NavigatedViewer` for `Modeler` to get the editable map (palette, context p
|
|
|
36
36
|
|
|
37
37
|
### Fonts
|
|
38
38
|
|
|
39
|
-
The package ships no fonts and uses no CDN.
|
|
40
|
-
[`@fontsource`](https://fontsource.org/)
|
|
39
|
+
The package ships no fonts and uses no CDN. The canvas typeface is **Geist** (Miragon corporate
|
|
40
|
+
identity); provide it yourself — recommended self-hosted via [`@fontsource`](https://fontsource.org/)
|
|
41
|
+
(one variable file covers all weights):
|
|
41
42
|
|
|
42
43
|
```ts
|
|
43
|
-
import '@fontsource-variable/
|
|
44
|
+
import '@fontsource-variable/geist/wght.css';
|
|
44
45
|
```
|
|
45
46
|
|
|
46
47
|
Part of the [Wardley Maps](https://github.com/Miragon/wardley-maps-modeler) monorepo.
|
|
@@ -16,6 +16,8 @@ export default class WardleyRenderer extends BaseRenderer {
|
|
|
16
16
|
getShapePath(shape: ShapeLike): string;
|
|
17
17
|
getConnectionPath(connection: ConnectionLike): string;
|
|
18
18
|
private drawComponent;
|
|
19
|
+
/** Planned evolution (canon: DASHED red line with arrow, target label in red). */
|
|
20
|
+
private drawMovement;
|
|
19
21
|
private drawAnchor;
|
|
20
22
|
private drawPipeline;
|
|
21
23
|
private drawNote;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WardleyRenderer.d.ts","sourceRoot":"","sources":["../../src/draw/WardleyRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,kCAAkC,CAAC;AAE5D,OAAO,KAAK,QAAQ,MAAM,8BAA8B,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEzF,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AAkBvE,OAAO,KAAK,aAAa,MAAM,oCAAoC,CAAC;AAOpE,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,YAAY;IAKrD,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,eAAe;IALlC,MAAM,CAAC,OAAO,WAAoD;gBAGhE,QAAQ,EAAE,QAAQ,EACD,IAAI,EAAE,aAAa,EACnB,eAAe,EAAE,eAAe;IAK1C,SAAS,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO;IAIxC,SAAS,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,GAAG,UAAU;IAyBvE,qFAAqF;IACrF,OAAO,CAAC,WAAW;IAiBV,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,GAAG,UAAU;IAkDxE,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM;IAKtC,iBAAiB,CAAC,UAAU,EAAE,cAAc,GAAG,MAAM;IAM9D,OAAO,CAAC,aAAa;
|
|
1
|
+
{"version":3,"file":"WardleyRenderer.d.ts","sourceRoot":"","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|
2
|
-
/**
|
|
3
|
-
*
|
|
1
|
+
/** Central rendering constants (geometry, colors, typography) — Miragon corporate identity. */
|
|
2
|
+
/**
|
|
3
|
+
* Default plot area in diagram px (interior without axis margins). Changeable at runtime via
|
|
4
|
+
* config.size. Width/height come from schema-model (single source, also used for migrations).
|
|
5
|
+
*/
|
|
4
6
|
export declare const PLOT: {
|
|
5
7
|
readonly width: 1080;
|
|
6
8
|
readonly height: 680;
|
|
@@ -15,11 +17,9 @@ export declare const PLOT_MIN: {
|
|
|
15
17
|
};
|
|
16
18
|
export declare const NODE_SIZE = 34;
|
|
17
19
|
export declare const COMPONENT_RADIUS = 15;
|
|
18
|
-
/** Inner ring for "evolving" (intermediate-event look). */
|
|
19
20
|
export declare const COMPONENT_INNER_RADIUS = 12;
|
|
20
21
|
export declare const ANCHOR_ICON_SIZE = 26;
|
|
21
22
|
export declare const PIPELINE_HEIGHT = 30;
|
|
22
|
-
/** Side length of the ■ anchor square drawn on the pipeline box's top edge. */
|
|
23
23
|
export declare const PIPELINE_ANCHOR_SIZE = 16;
|
|
24
24
|
export declare const NOTE_LINE_HEIGHT = 17;
|
|
25
25
|
/**
|
|
@@ -31,32 +31,35 @@ export declare function noteMetrics(label: string): {
|
|
|
31
31
|
width: number;
|
|
32
32
|
height: number;
|
|
33
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* Canvas colours — Miragon palette (blue = interactive/flow, green = accelerate/positive,
|
|
36
|
+
* red = movement/decelerate). Keys are the public contract; brand values come from the single source
|
|
37
|
+
* of truth in `theme/palette.ts` (`MIRAGON`). Referenced (not spread) so the literal-string types
|
|
38
|
+
* survive into the published `.d.ts`.
|
|
39
|
+
*/
|
|
34
40
|
export declare const COLORS: {
|
|
35
|
-
readonly paper: "#
|
|
36
|
-
readonly ink: "#
|
|
37
|
-
readonly inkSoft: "#
|
|
38
|
-
readonly axis: "
|
|
39
|
-
readonly axisText: "#
|
|
40
|
-
readonly grid: "
|
|
41
|
-
readonly band: "rgba(
|
|
42
|
-
readonly stroke: "#
|
|
43
|
-
readonly componentFill: "#
|
|
44
|
-
readonly anchorFill: "#
|
|
45
|
-
readonly dependency: "#
|
|
46
|
-
readonly accent: "#
|
|
47
|
-
readonly accentSoft: "rgba(
|
|
48
|
-
readonly flow: "#
|
|
49
|
-
readonly movement: "#
|
|
50
|
-
readonly inertia: "#
|
|
51
|
-
readonly noteText: "#
|
|
52
|
-
readonly pipeline: "#
|
|
53
|
-
|
|
54
|
-
readonly
|
|
55
|
-
|
|
56
|
-
readonly
|
|
57
|
-
/** Accelerator / deaccelerator (own semantic constants — not flow/movement). */
|
|
58
|
-
readonly accelerator: "#0e7c74";
|
|
59
|
-
readonly deaccelerator: "#bf2f2a";
|
|
41
|
+
readonly paper: "#F9F7F7";
|
|
42
|
+
readonly ink: "#1D1D1D";
|
|
43
|
+
readonly inkSoft: "#5B5B5B";
|
|
44
|
+
readonly axis: "rgba(51,93,229,0.22)";
|
|
45
|
+
readonly axisText: "#6E7797";
|
|
46
|
+
readonly grid: "rgba(51,93,229,0.12)";
|
|
47
|
+
readonly band: "rgba(51,93,229,0.04)";
|
|
48
|
+
readonly stroke: "#1D1D1D";
|
|
49
|
+
readonly componentFill: "#FFFFFF";
|
|
50
|
+
readonly anchorFill: "#1D1D1D";
|
|
51
|
+
readonly dependency: "#9E9E9E";
|
|
52
|
+
readonly accent: "#335DE5";
|
|
53
|
+
readonly accentSoft: "rgba(51,93,229,0.12)";
|
|
54
|
+
readonly flow: "#335DE5";
|
|
55
|
+
readonly movement: "#C92A2A";
|
|
56
|
+
readonly inertia: "#1D1D1D";
|
|
57
|
+
readonly noteText: "#5B5B5B";
|
|
58
|
+
readonly pipeline: "#1D1D1D";
|
|
59
|
+
readonly annotationFill: "#FBF3E0";
|
|
60
|
+
readonly plotBackground: "#FFFFFF";
|
|
61
|
+
readonly accelerator: "#00C853";
|
|
62
|
+
readonly deaccelerator: "#C92A2A";
|
|
60
63
|
};
|
|
61
64
|
/**
|
|
62
65
|
* Note color palette (bpmn.io-style mini picker; deliberately NOT a full color picker). Values are
|
|
@@ -67,37 +70,40 @@ export declare const COLORS: {
|
|
|
67
70
|
export declare const NOTE_COLORS: readonly [{
|
|
68
71
|
readonly id: "green";
|
|
69
72
|
readonly name: "Green · good";
|
|
70
|
-
readonly value: "#
|
|
73
|
+
readonly value: "#0B7A55";
|
|
71
74
|
}, {
|
|
72
75
|
readonly id: "amber";
|
|
73
76
|
readonly name: "Amber · watch";
|
|
74
|
-
readonly value: "#
|
|
77
|
+
readonly value: "#92610A";
|
|
75
78
|
}, {
|
|
76
79
|
readonly id: "red";
|
|
77
80
|
readonly name: "Red · problem";
|
|
78
|
-
readonly value: "#
|
|
81
|
+
readonly value: "#C92A2A";
|
|
79
82
|
}, {
|
|
80
83
|
readonly id: "blue";
|
|
81
84
|
readonly name: "Blue · info";
|
|
82
|
-
readonly value: "#
|
|
85
|
+
readonly value: "#2B50D4";
|
|
83
86
|
}, {
|
|
84
87
|
readonly id: "teal";
|
|
85
88
|
readonly name: "Teal";
|
|
86
|
-
readonly value: "#
|
|
89
|
+
readonly value: "#0E8181";
|
|
87
90
|
}, {
|
|
88
91
|
readonly id: "purple";
|
|
89
92
|
readonly name: "Purple · idea";
|
|
90
|
-
readonly value: "#
|
|
93
|
+
readonly value: "#6A3DB8";
|
|
91
94
|
}, {
|
|
92
95
|
readonly id: "pink";
|
|
93
96
|
readonly name: "Pink";
|
|
94
|
-
readonly value: "#
|
|
97
|
+
readonly value: "#C2185B";
|
|
95
98
|
}, {
|
|
96
99
|
readonly id: "slate";
|
|
97
100
|
readonly name: "Slate · neutral";
|
|
98
|
-
readonly value: "#
|
|
101
|
+
readonly value: "#4A4A4A";
|
|
99
102
|
}];
|
|
100
|
-
/**
|
|
103
|
+
/**
|
|
104
|
+
* Colors of the attitude regions per kind (shared by renderer + palette icons). Miragon palette:
|
|
105
|
+
* pioneers = blue (explore), settlers = amber (stabilise), town planners = green (industrialise).
|
|
106
|
+
*/
|
|
101
107
|
export declare const ATTITUDE_COLORS: Record<string, {
|
|
102
108
|
fill: string;
|
|
103
109
|
stroke: string;
|
|
@@ -106,12 +112,12 @@ export declare const FONT: {
|
|
|
106
112
|
/**
|
|
107
113
|
* Set as the `font-family` attribute DIRECTLY on all SVG text elements (canvas labels,
|
|
108
114
|
* axis/stage text and consequently the SVG export too) – not inherited from a CSS container.
|
|
109
|
-
* In EVERY context it reaches for the self-hosted '
|
|
110
|
-
* it; otherwise (e.g. an export SVG opened standalone) it falls back safely to a
|
|
111
|
-
* The library does NOT ship the font – consumers must
|
|
112
|
-
* (e.g. via @fontsource-variable/
|
|
115
|
+
* In EVERY context it reaches for the self-hosted 'Geist' (Miragon corporate typeface) if the
|
|
116
|
+
* consumer provides it; otherwise (e.g. an export SVG opened standalone) it falls back safely to a
|
|
117
|
+
* system sans. The library does NOT ship the font – consumers must self-host Geist themselves
|
|
118
|
+
* (e.g. via @fontsource-variable/geist), see README.
|
|
113
119
|
*/
|
|
114
|
-
readonly family: "'
|
|
120
|
+
readonly family: "'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif";
|
|
115
121
|
readonly label: 13;
|
|
116
122
|
readonly axis: 12;
|
|
117
123
|
readonly stage: 12;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/draw/styles.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/draw/styles.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAK/F;;;GAGG;AACH,eAAO,MAAM,IAAI;;;;;;;CAOP,CAAC;AAEX,eAAO,MAAM,QAAQ;;;CAAuC,CAAC;AAE7D,eAAO,MAAM,SAAS,KAAK,CAAC;AAC5B,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,sBAAsB,KAAK,CAAC;AACzC,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAKnC;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAQ7F;AAED;;;;;GAKG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAuBT,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASd,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAI5E,CAAC;AAEF,eAAO,MAAM,IAAI;IACf;;;;;;;OAOG;;;;;CAKK,CAAC"}
|
|
@@ -23,8 +23,10 @@ export default class WardleyDrawTool {
|
|
|
23
23
|
constructor(canvas: Canvas, eventBus: EventBus, modeling: Modeling, selection: Selection, factory: WardleyElementFactory);
|
|
24
24
|
isActive(): boolean;
|
|
25
25
|
toggle(): void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
26
|
+
/**
|
|
27
|
+
* The OUTER viewer container — getContainer() returns the inner .djs-container, but the
|
|
28
|
+
* mode class must sit on .wardley-container for the crosshair/empty-state CSS to match.
|
|
29
|
+
*/
|
|
28
30
|
private outerContainer;
|
|
29
31
|
activate(): void;
|
|
30
32
|
/** Finishes the current polyline (>= 2 points) and deactivates the tool. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WardleyDrawTool.d.ts","sourceRoot":"","sources":["../../src/draw-tool/WardleyDrawTool.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACr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OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAZ1B,MAAM,CAAC,OAAO,WAA4E;IAE1F,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,MAAM,CAAsB;IACpC,OAAO,CAAC,KAAK,CAA2B;gBAGrB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,qBAAqB;IAKjD,QAAQ,IAAI,OAAO;IAInB,MAAM,IAAI,IAAI;IAKd;;;OAGG;IACH,OAAO,CAAC,cAAc;IAKtB,QAAQ,IAAI,IAAI;IAgBhB,4EAA4E;IAC5E,MAAM,IAAI,IAAI;IAad,6DAA6D;IAC7D,OAAO,CAAC,YAAY;IAapB,MAAM,IAAI,IAAI;IAId,OAAO,CAAC,UAAU;IAelB,OAAO,CAAC,aAAa;IAUrB,sFAAsF;IACtF,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAmB1B;IAEF,OAAO,CAAC,QAAQ,CAAC,UAAU,CAKzB;IAEF,OAAO,CAAC,QAAQ,CAAC,WAAW,CAI1B;IAEF,OAAO,CAAC,QAAQ,CAAC,SAAS,CAaxB;IAEF,OAAO,CAAC,aAAa;IAiDrB,OAAO,CAAC,YAAY;CAMrB"}
|
|
@@ -14,8 +14,10 @@ export default class WardleyEvolveDragging {
|
|
|
14
14
|
private readonly dragging;
|
|
15
15
|
static $inject: string[];
|
|
16
16
|
constructor(eventBus: EventBus, dragging: Dragging, grid: EvolutionGrid, modeling: WardleyModeling, canvas: Canvas, elementRegistry: ElementRegistry);
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
17
|
+
/**
|
|
18
|
+
* Starts the evolve drag for `shape` (from the context pad): set the target by dragging along
|
|
19
|
+
* the axis, or move it afterwards, with live preview; commit on release.
|
|
20
|
+
*/
|
|
19
21
|
start(event: Event, shape: WardleyShape): void;
|
|
20
22
|
}
|
|
21
23
|
//# sourceMappingURL=WardleyEvolveDragging.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WardleyEvolveDragging.d.ts","sourceRoot":"","sources":["../../src/evolve/WardleyEvolveDragging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,8BAA8B,CAAC;AACzD,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AAEvE,OAAO,KAAK,aAAa,MAAM,oCAAoC,CAAC;AACpE,OAAO,KAAK,eAAe,MAAM,gCAAgC,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAkBzD;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,qBAAqB;IAYtC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAX3B,MAAM,CAAC,OAAO,WAOZ;gBAGA,QAAQ,EAAE,QAAQ,EACD,QAAQ,EAAE,QAAQ,EACnC,IAAI,EAAE,aAAa,EACnB,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,eAAe;IA6ElC;
|
|
1
|
+
{"version":3,"file":"WardleyEvolveDragging.d.ts","sourceRoot":"","sources":["../../src/evolve/WardleyEvolveDragging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,8BAA8B,CAAC;AACzD,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AAEvE,OAAO,KAAK,aAAa,MAAM,oCAAoC,CAAC;AACpE,OAAO,KAAK,eAAe,MAAM,gCAAgC,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAkBzD;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,qBAAqB;IAYtC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAX3B,MAAM,CAAC,OAAO,WAOZ;gBAGA,QAAQ,EAAE,QAAQ,EACD,QAAQ,EAAE,QAAQ,EACnC,IAAI,EAAE,aAAa,EACnB,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,eAAe;IA6ElC;;;OAGG;IACH,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,GAAG,IAAI;CAO/C"}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { wardleyModelModule, WardleyElementFactory } from './model/index.js';
|
|
|
7
7
|
export { evolutionGridModule, evolutionConstraintModule, EvolutionGrid, } from './evolution-grid/index.js';
|
|
8
8
|
export { wardleyDrawModule, WardleyRenderer } from './draw/index.js';
|
|
9
9
|
export { COLORS, PLOT } from './draw/styles.js';
|
|
10
|
+
export { MIRAGON } from './theme/index.js';
|
|
10
11
|
export { ioModule, WardleyImporter, WardleyExporter, saveSVG, ROOT_ID } from './io/index.js';
|
|
11
12
|
export { wardleyModelingModule, WardleyModeling } from './modeling/index.js';
|
|
12
13
|
export type { EvolveOptions } from './modeling/index.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CA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