@weng-lab/visualization 1.2.12 → 1.3.0-beta.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/src/components/PhyloTree/ControlPanel.d.ts +8 -0
- package/dist/src/components/PhyloTree/ControlPanel.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/LeafLinkExtension.d.ts +10 -0
- package/dist/src/components/PhyloTree/LeafLinkExtension.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/LeafNodeLabel.d.ts +13 -0
- package/dist/src/components/PhyloTree/LeafNodeLabel.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/PhyloTree.d.ts +25 -0
- package/dist/src/components/PhyloTree/PhyloTree.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/RenderTree.d.ts +19 -0
- package/dist/src/components/PhyloTree/RenderTree.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/TreeLink.d.ts +13 -0
- package/dist/src/components/PhyloTree/TreeLink.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/ZoomFrame.d.ts +12 -0
- package/dist/src/components/PhyloTree/ZoomFrame.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/ZoomSurface.d.ts +20 -0
- package/dist/src/components/PhyloTree/ZoomSurface.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/example-data/241_mammals_treedata.d.ts +1056 -0
- package/dist/src/components/PhyloTree/example-data/241_mammals_treedata.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/example-data/utils.d.ts +6 -0
- package/dist/src/components/PhyloTree/example-data/utils.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/index.d.ts +4 -0
- package/dist/src/components/PhyloTree/index.d.ts.map +1 -0
- package/dist/src/components/PhyloTree/types.d.ts +106 -0
- package/dist/src/components/PhyloTree/types.d.ts.map +1 -0
- package/dist/src/components/SequenceAlignmentPlot/SequenceAlignmentPlot.d.ts +47 -0
- package/dist/src/components/SequenceAlignmentPlot/SequenceAlignmentPlot.d.ts.map +1 -0
- package/dist/src/components/SequenceAlignmentPlot/example-data/mockData.d.ts +25 -0
- package/dist/src/components/SequenceAlignmentPlot/example-data/mockData.d.ts.map +1 -0
- package/dist/src/components/SequenceAlignmentPlot/index.d.ts +2 -0
- package/dist/src/components/SequenceAlignmentPlot/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/visualization.es.js +16874 -16717
- package/dist/visualization.es.js.map +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"241_mammals_treedata.d.ts","sourceRoot":"","sources":["../../../../../src/components/PhyloTree/example-data/241_mammals_treedata.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAm2EhB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const speciesOrderInApiData: string[];
|
|
2
|
+
export declare const getLabel: (id: string) => string;
|
|
3
|
+
export declare const getColor: (id: string) => string;
|
|
4
|
+
export declare const getOrder: (id: string) => "PRIMATES" | "DERMOPTERA" | "CARNIVORA" | "LAGOMORPHA" | "CETARTIODACTYLA" | "RODENTIA" | "HYRACOIDEA" | "PERISSODACTYLA" | "CHIROPTERA" | "EULIPOTYPHLA" | "PHOLIDOTA" | "PILOSA" | "AFROSORICIDA" | "SIRENIA" | "TUBULIDENTATA" | "PROBOSCIDEA" | "SCANDENTIA" | "CINGULATA" | "MACROSCELIDEA" | undefined;
|
|
5
|
+
export declare const sortByOrder: (speciesA: string, speciesB: string) => number;
|
|
6
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/PhyloTree/example-data/utils.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,qBAAqB,UAkPjC,CAAC;AA0CF,eAAO,MAAM,QAAQ,GAAI,IAAI,MAAM,WAIlC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,IAAI,MAAM,WAKlC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,IAAI,MAAM,iTAIlC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,UAAU,MAAM,EAAE,UAAU,MAAM,WAM7D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/PhyloTree/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { TransformMatrix } from '@visx/zoom/lib/types';
|
|
2
|
+
import { HierarchyPointNode } from 'd3-hierarchy';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
export type ZoomState = {
|
|
5
|
+
initialTransformMatrix: TransformMatrix;
|
|
6
|
+
transformMatrix: TransformMatrix;
|
|
7
|
+
isDragging: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type TreeItem = {
|
|
10
|
+
id: string;
|
|
11
|
+
branch_length: number | null;
|
|
12
|
+
children?: TreeItem[];
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Internal only, used for layout precalculation
|
|
16
|
+
*/
|
|
17
|
+
export interface TreeNode extends HierarchyPointNode<TreeItem> {
|
|
18
|
+
cumulativeBranchLength?: number;
|
|
19
|
+
baseNodeX?: number;
|
|
20
|
+
baseNodeY?: number;
|
|
21
|
+
scaledNodeX?: number;
|
|
22
|
+
scaledNodeY?: number;
|
|
23
|
+
branchLengthScaledRadius?: number;
|
|
24
|
+
baseLinkPath?: string;
|
|
25
|
+
scaledLinkPath?: string;
|
|
26
|
+
linkStrokeWidth?: number;
|
|
27
|
+
labelStrokeWidth?: number;
|
|
28
|
+
baseLeafLinkExtension?: {
|
|
29
|
+
x1: number;
|
|
30
|
+
x2: number;
|
|
31
|
+
y1: number;
|
|
32
|
+
y2: number;
|
|
33
|
+
};
|
|
34
|
+
scaledLeafLinkExtension?: {
|
|
35
|
+
x1: number;
|
|
36
|
+
x2: number;
|
|
37
|
+
y1: number;
|
|
38
|
+
y2: number;
|
|
39
|
+
};
|
|
40
|
+
label?: string;
|
|
41
|
+
color?: string;
|
|
42
|
+
lightenedLinkExtColor?: string;
|
|
43
|
+
ancestorIds?: Set<string>;
|
|
44
|
+
descendantIds?: Set<string>;
|
|
45
|
+
}
|
|
46
|
+
export type TreeLink = {
|
|
47
|
+
source: TreeNode;
|
|
48
|
+
target: TreeNode;
|
|
49
|
+
};
|
|
50
|
+
export type PhyloTreeProps = {
|
|
51
|
+
width: number;
|
|
52
|
+
height: number;
|
|
53
|
+
data: TreeItem;
|
|
54
|
+
/**
|
|
55
|
+
* `id` of TreeItem(s) to be highlighted
|
|
56
|
+
*/
|
|
57
|
+
highlighted?: string[];
|
|
58
|
+
/**
|
|
59
|
+
* Used to sync plot state with hover on SequenceAlignmentPlot. Tree treats these as if they are internally hovered
|
|
60
|
+
*/
|
|
61
|
+
hovered?: string[];
|
|
62
|
+
/**
|
|
63
|
+
* @default 135
|
|
64
|
+
*/
|
|
65
|
+
labelPadding?: number;
|
|
66
|
+
/**
|
|
67
|
+
* @default
|
|
68
|
+
* (id: string) => id
|
|
69
|
+
*/
|
|
70
|
+
getLabel?: (id: string) => string;
|
|
71
|
+
/**
|
|
72
|
+
* @default
|
|
73
|
+
* (id: string) => 'black'
|
|
74
|
+
*/
|
|
75
|
+
getColor?: (id: string) => string;
|
|
76
|
+
/**
|
|
77
|
+
* Optionally define tooltip for hover over leaf nodes
|
|
78
|
+
*/
|
|
79
|
+
tooltipContents?: (id: string) => ReactNode;
|
|
80
|
+
/**
|
|
81
|
+
* fired when individual leaf node clicked
|
|
82
|
+
*/
|
|
83
|
+
onLeafClick?: (id: string) => void;
|
|
84
|
+
/**
|
|
85
|
+
* Fired when hover state changes, single item if leaf hovered, multiple if branch hovered, empty on mouse leave
|
|
86
|
+
*/
|
|
87
|
+
onLeafHoverChange?: (hovered: string[]) => void;
|
|
88
|
+
/**
|
|
89
|
+
* Whether or not to use branch length on initial load
|
|
90
|
+
* @default "scaled"
|
|
91
|
+
*/
|
|
92
|
+
defaultScaling?: "unscaled" | "scaled";
|
|
93
|
+
/**
|
|
94
|
+
* @default 8
|
|
95
|
+
*/
|
|
96
|
+
leafFontSize?: number;
|
|
97
|
+
/**
|
|
98
|
+
* @default 'Arial'
|
|
99
|
+
*/
|
|
100
|
+
leafFontFamily?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @default 1
|
|
103
|
+
*/
|
|
104
|
+
linkStrokeWidth?: number;
|
|
105
|
+
};
|
|
106
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/PhyloTree/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,MAAM,MAAM,SAAS,GAAG;IACpB,sBAAsB,EAAE,eAAe,CAAC;IACxC,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,MAAM,WAAW,QAAS,SAAQ,kBAAkB,CAAC,QAAQ,CAAC;IAC5D,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,E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A;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAA;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAA;IACjC;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,SAAS,CAAA;IAC3C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC/C;;;OAGG;IACH,cAAc,CAAC,EAAE,UAAU,GAAG,QAAQ,CAAA;IACtC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
export type Nucleotide = "A" | "C" | "G" | "T" | "-";
|
|
3
|
+
export interface SequenceAlignmentPlotProps {
|
|
4
|
+
data: {
|
|
5
|
+
[id: string]: Nucleotide[];
|
|
6
|
+
};
|
|
7
|
+
getLabel: (id: string) => string;
|
|
8
|
+
getOrderColor: (id: string) => string;
|
|
9
|
+
/**
|
|
10
|
+
* the evolutionary order, not sort order. Sort in plot by sorting input data
|
|
11
|
+
*/
|
|
12
|
+
getOrder: (id: string) => string;
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
/**
|
|
16
|
+
* Used to sync plot state with hover on PhyloTree. Plot treats these as if they are internally hovered
|
|
17
|
+
*/
|
|
18
|
+
hovered?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* Fired when internal hover state changes
|
|
21
|
+
*/
|
|
22
|
+
onHoverChange?: (hovered: string | null) => void;
|
|
23
|
+
/**
|
|
24
|
+
* Places indicator next to species
|
|
25
|
+
*/
|
|
26
|
+
highlighted?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Optionally define tooltip for hover over leaf nodes
|
|
29
|
+
*/
|
|
30
|
+
tooltipContents?: (tooltipData: TooltipData) => ReactNode;
|
|
31
|
+
}
|
|
32
|
+
export type SpeciesInfo = {
|
|
33
|
+
id: string;
|
|
34
|
+
label: string;
|
|
35
|
+
order: string;
|
|
36
|
+
color: string;
|
|
37
|
+
};
|
|
38
|
+
export type TooltipData = SpeciesInfo & {
|
|
39
|
+
basePair?: Nucleotide;
|
|
40
|
+
position?: number;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @todo This component could use some cleanup and maybe manual memoization to handle hover changes to highlight more efficiently
|
|
44
|
+
* Maybe try debouncing the hover changes using requestAnimationFrame like PhyloTree
|
|
45
|
+
*/
|
|
46
|
+
export declare const SequenceAlignmentPlot: React.FC<SequenceAlignmentPlotProps>;
|
|
47
|
+
//# sourceMappingURL=SequenceAlignmentPlot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SequenceAlignmentPlot.d.ts","sourceRoot":"","sources":["../../../../src/components/SequenceAlignmentPlot/SequenceAlignmentPlot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqD,SAAS,EAAE,MAAM,OAAO,CAAC;AAO5F,MAAM,MAAM,UAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAUrD,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE;QAAE,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,EAAE,CAAA;KAAE,CAAC;IACrC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;IACtC;;OAEG;IACH,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,SAAS,CAAC;CAC3D;AAYD,MAAM,MAAM,WAAW,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtF,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IACtC,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAcF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CA6VtE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const EH38E3465364: {
|
|
2
|
+
data: {
|
|
3
|
+
ccreSequenceAlignmentQuery: {
|
|
4
|
+
sequence_alignment: number[][];
|
|
5
|
+
accession: string;
|
|
6
|
+
}[];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare const EH38E4276533: {
|
|
10
|
+
data: {
|
|
11
|
+
ccreSequenceAlignmentQuery: {
|
|
12
|
+
sequence_alignment: number[][];
|
|
13
|
+
accession: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const EH38E4276534: {
|
|
18
|
+
data: {
|
|
19
|
+
ccreSequenceAlignmentQuery: {
|
|
20
|
+
sequence_alignment: number[][];
|
|
21
|
+
accession: string;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=mockData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../../../src/components/SequenceAlignmentPlot/example-data/mockData.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;CAs1FxB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;CAs1FxB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;CAs1FxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SequenceAlignmentPlot/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -11,4 +11,6 @@ export type { TreemapNode, TreemapProps } from './components/TreeMap';
|
|
|
11
11
|
export type { DownloadPlotHandle } from './utility';
|
|
12
12
|
export { ProportionsBar, getProportionsFromArray } from './components/ProportionsBar';
|
|
13
13
|
export type { ProportionsBarProps } from './components/ProportionsBar';
|
|
14
|
+
export * from './components/PhyloTree';
|
|
15
|
+
export * from './components/SequenceAlignmentPlot';
|
|
14
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEhF,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE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