@twinmatrix/spatialverse-sdk-web 0.1.0 → 3.1.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/README.md +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/auth/authentication.d.ts +7 -0
- package/lib/types/meta-atlas-sdk/3DMap/auth/authentication.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/Constants.d.ts +17 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/Constants.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/DataManager.d.ts +69 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/DataManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/auth.d.ts +10 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/auth.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/data.service.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/data.service.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/jewel-data.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/jewel-data.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/DeckGLManager.d.ts +71 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/DeckGLManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/MVTFloorLayer.d.ts +77 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/MVTFloorLayer.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Changi.d.ts +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Changi.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → legacy/CustomThreeJsWrapper}/CustomThreeJsWrapper.d.ts +26 -3
- package/lib/types/meta-atlas-sdk/3DMap/legacy/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerFactory.d.ts +322 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerFactory.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerManager.d.ts +121 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/EventEmitter.d.ts +10 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/EventEmitter.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Jewel.d.ts +35 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Jewel.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MainMap.d.ts +314 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MainMap.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Marker.d.ts +17 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Marker.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MicrophoneBubbleFactory.d.ts +71 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MicrophoneBubbleFactory.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/aeroport.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/aeroport.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/deckgl-helper.d.ts +14 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/deckgl-helper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/helper-utils.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/helper-utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/hotspot-utils.d.ts +13 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/hotspot-utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/loader.d.ts +3 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/loader.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/mapIcons.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/mapIcons.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/markers.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/markers.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/timestampUtils.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/timestampUtils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/aeroport-legacy.d.ts +65 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/aeroport-legacy.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/apiParams.d.ts +25 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/apiParams.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/cameraMatrix.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/cameraMatrix.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/extrusionSettings.d.ts +32 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/extrusionSettings.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/marker-data.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/marker-data.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/modelSettings.d.ts +7 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/modelSettings.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/panoramaSettings.d.ts +18 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/panoramaSettings.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/meta-atlas-sdk-3D.d.ts +80 -0
- package/lib/types/meta-atlas-sdk/3DMap/meta-atlas-sdk-3D.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/ThreeJSManager.d.ts +92 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/ThreeJSManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/CameraSync.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/CameraUtils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/constants.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/suncalc.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/utils.d.ts +1 -1
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/aeroport.d.ts +14 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/aeroport.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/render-manager.interface.d.ts +130 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/render-manager.interface.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/EventBus.d.ts +35 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/EventBus.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/colors.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/colors.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/feature-transform.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/feature-transform.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/helper.d.ts +2 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/helper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/IfcModelLoader/index.d.ts +14 -0
- package/lib/types/meta-atlas-sdk/IfcModelLoader/index.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/custom-map-objects-manager.d.ts +57 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/custom-map-objects-manager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-state.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-state.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-types.d.ts +45 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-types.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-utils.d.ts +72 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/{focustree.d.ts → focus-core/focustree.d.ts} +376 -131
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focustree.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/index.d.ts +661 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/index.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts +37 -407
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routing-helpers.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/{customerLayer.d.ts → MetaAtlasCore/shared-layers/customerLayer.d.ts} +530 -536
- package/lib/types/meta-atlas-sdk/{customerLayer.d.ts.map → MetaAtlasCore/shared-layers/customerLayer.d.ts.map} +1 -1
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/shared-layers/customerLayerService.d.ts +108 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/shared-layers/customerLayerService.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts +52 -413
- package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/utils/helpers.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts +5 -0
- package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts.map +1 -1
- package/lib/types/react/MetaAtlasMap.d.ts.map +1 -1
- package/lib/types/react/hooks/useCustomMapObject/index.d.ts +3 -0
- package/lib/types/react/hooks/useCustomMapObject/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useCustomMapObject/types.d.ts +30 -0
- package/lib/types/react/hooks/useCustomMapObject/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useFocus/index.d.ts.map +1 -1
- package/lib/types/react/hooks/useFocus/types.d.ts +11 -0
- package/lib/types/react/hooks/useFocus/types.d.ts.map +1 -1
- package/lib/types/react/hooks/useMapEvents/index.d.ts.map +1 -1
- package/lib/types/react/hooks/useMapOverlays/index.d.ts.map +1 -1
- package/lib/types/react/hooks/useMapOverlays/types.d.ts +16 -0
- package/lib/types/react/hooks/useMapOverlays/types.d.ts.map +1 -1
- package/lib/types/react/hooks/useMetaAtlas/index.d.ts.map +1 -1
- package/lib/types/react/index.d.ts +3 -0
- package/lib/types/react/index.d.ts.map +1 -1
- package/lib/types/react/stores/useMapDataStore.d.ts +2 -0
- package/lib/types/react/stores/useMapDataStore.d.ts.map +1 -1
- package/lib/types/react/stores/useMetaAtlasStore.d.ts +2 -0
- package/lib/types/react/stores/useMetaAtlasStore.d.ts.map +1 -1
- package/lib/types/react/types/index.d.ts +8 -0
- package/lib/types/react/types/index.d.ts.map +1 -1
- package/package.json +18 -9
- package/lib/cjs/index.js +0 -642
- package/lib/cjs/react/index.js +0 -642
- package/lib/esm/index.js +0 -642
- package/lib/esm/react/index.js +0 -642
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/utils.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts +0 -28
- package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focustree.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts +0 -5156
- package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts.map +0 -1
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/CameraSync.d.ts +0 -0
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/CameraUtils.d.ts +0 -0
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/constants.d.ts +0 -0
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/suncalc.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customerLayer.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"customerLayer.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/shared-layers/customerLayer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyGA,wBAqtRC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { Feature } from 'geojson';
|
|
2
|
+
/**
|
|
3
|
+
* MapLibre layer definition type
|
|
4
|
+
*/
|
|
5
|
+
export interface Layer {
|
|
6
|
+
id: string;
|
|
7
|
+
type: 'fill' | 'line' | 'symbol' | 'fill-extrusion' | string;
|
|
8
|
+
filter?: any[];
|
|
9
|
+
paint?: Record<string, any>;
|
|
10
|
+
layout?: Record<string, any>;
|
|
11
|
+
metadata?: Record<string, any>;
|
|
12
|
+
source?: string;
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Service for indexing and querying customerLayer definitions
|
|
17
|
+
* Used by both 2D (MapLibre) and 3D (DeckGL) rendering
|
|
18
|
+
*/
|
|
19
|
+
export declare class CustomerLayerService {
|
|
20
|
+
private layerIndex;
|
|
21
|
+
private allLayers;
|
|
22
|
+
/**
|
|
23
|
+
* Initialize the service with customerLayer definitions
|
|
24
|
+
* Builds an index for fast lookups by feature type and dimension_what
|
|
25
|
+
*/
|
|
26
|
+
initialize(customerLayers: Layer[]): void;
|
|
27
|
+
/**
|
|
28
|
+
* Get matching layers for a feature
|
|
29
|
+
* Returns layers that match the feature's geometry type and properties
|
|
30
|
+
*/
|
|
31
|
+
getMatchingLayers(feature: Feature): Layer[];
|
|
32
|
+
/**
|
|
33
|
+
* Get a paint property value for a layer and feature
|
|
34
|
+
* Handles static values, categorical expressions, etc.
|
|
35
|
+
*/
|
|
36
|
+
getPaintProperty(layer: Layer, property: string, featureProperties: Record<string, any>): any;
|
|
37
|
+
/**
|
|
38
|
+
* Get a layout property value for a layer and feature
|
|
39
|
+
*/
|
|
40
|
+
getLayoutProperty(layer: Layer, property: string, featureProperties: Record<string, any>): any;
|
|
41
|
+
/**
|
|
42
|
+
* Get extrusion height for a feature from matching fill-extrusion layers
|
|
43
|
+
* Returns the fill-extrusion-height value from the first matching layer
|
|
44
|
+
*/
|
|
45
|
+
getExtrusionHeight(feature: Feature, defaultHeight?: number): number;
|
|
46
|
+
/**
|
|
47
|
+
* Evaluate a height expression (number, expression array, etc.)
|
|
48
|
+
*/
|
|
49
|
+
private evaluateHeightExpression;
|
|
50
|
+
/**
|
|
51
|
+
* Extract geometry type from filter expression
|
|
52
|
+
*/
|
|
53
|
+
private extractGeometryType;
|
|
54
|
+
/**
|
|
55
|
+
* Extract dimension_what values from filter expression
|
|
56
|
+
*/
|
|
57
|
+
private extractDimensionWhat;
|
|
58
|
+
/**
|
|
59
|
+
* Evaluate a MapLibre filter expression against a feature
|
|
60
|
+
*/
|
|
61
|
+
private evaluateFilter;
|
|
62
|
+
/**
|
|
63
|
+
* Evaluate comparison operators (==, !=)
|
|
64
|
+
*/
|
|
65
|
+
private evaluateComparison;
|
|
66
|
+
/**
|
|
67
|
+
* Evaluate "in" operator
|
|
68
|
+
*/
|
|
69
|
+
private evaluateIn;
|
|
70
|
+
/**
|
|
71
|
+
* Evaluate "match" operator
|
|
72
|
+
*/
|
|
73
|
+
private evaluateMatch;
|
|
74
|
+
/**
|
|
75
|
+
* Evaluate an expression (get, geometry-type, literal, etc.)
|
|
76
|
+
*/
|
|
77
|
+
private evaluateExpression;
|
|
78
|
+
/**
|
|
79
|
+
* Evaluate a paint/layout expression
|
|
80
|
+
* Handles static values, categorical expressions, etc.
|
|
81
|
+
*/
|
|
82
|
+
private evaluatePaintExpression;
|
|
83
|
+
/**
|
|
84
|
+
* Check if an array is a MapLibre expression (starts with operator)
|
|
85
|
+
*/
|
|
86
|
+
private isExpressionArray;
|
|
87
|
+
/**
|
|
88
|
+
* Evaluate expression arrays like ["case", ...]
|
|
89
|
+
*/
|
|
90
|
+
private evaluateExpressionArray;
|
|
91
|
+
/**
|
|
92
|
+
* Evaluate a boolean expression (simplified)
|
|
93
|
+
*/
|
|
94
|
+
private evaluateBooleanExpression;
|
|
95
|
+
/**
|
|
96
|
+
* Check if a string is a color (hex, rgb, rgba, hsl, etc.)
|
|
97
|
+
*/
|
|
98
|
+
private isColorString;
|
|
99
|
+
/**
|
|
100
|
+
* Parse a color string to RGBA array [r, g, b, a]
|
|
101
|
+
* Supports hex, rgb, rgba, hsl, hsla formats
|
|
102
|
+
* @param color - Color value (string, expression, etc.)
|
|
103
|
+
* @param featureProperties - Optional feature properties for expression evaluation
|
|
104
|
+
* @param allowOpacity - Whether to preserve opacity from the color. Default: false (full opacity)
|
|
105
|
+
*/
|
|
106
|
+
parseColorToRGBA(color: any, featureProperties?: Record<string, any>, allowOpacity?: boolean): [number, number, number, number];
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=customerLayerService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerLayerService.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/shared-layers/customerLayerService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,gBAAgB,GAAG,MAAM,CAAC;IAC7D,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B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