matterbridge 1.2.2 → 1.2.4
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/CHANGELOG.md +179 -164
- package/README.md +306 -297
- package/dist/AirQualityCluster.d.ts +134 -104
- package/dist/AirQualityCluster.d.ts.map +1 -1
- package/dist/AirQualityCluster.js +43 -26
- package/dist/AirQualityCluster.js.map +1 -1
- package/dist/EveHistoryCluster.d.ts +446 -0
- package/dist/EveHistoryCluster.d.ts.map +1 -0
- package/dist/EveHistoryCluster.js +170 -0
- package/dist/EveHistoryCluster.js.map +1 -0
- package/dist/TvocCluster.d.ts +364 -148
- package/dist/TvocCluster.d.ts.map +1 -1
- package/dist/TvocCluster.js +115 -32
- package/dist/TvocCluster.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/matterbridge.d.ts +1 -1
- package/dist/matterbridge.d.ts.map +1 -1
- package/dist/matterbridge.js +278 -151
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeDevice.d.ts +16 -3
- package/dist/matterbridgeDevice.d.ts.map +1 -1
- package/dist/matterbridgeDevice.js +68 -10
- package/dist/matterbridgeDevice.js.map +1 -1
- package/frontend/build/asset-manifest.json +14 -14
- package/frontend/build/static/css/main.61f6cf42.css +1 -1
- package/frontend/build/static/js/main.e3553a4d.js +2 -2
- package/frontend/build/static/js/main.e3553a4d.js.LICENSE.txt +99 -99
- package/package.json +87 -79
|
@@ -20,16 +20,11 @@
|
|
|
20
20
|
* See the License for the specific language governing permissions and
|
|
21
21
|
* limitations under the License. *
|
|
22
22
|
*/
|
|
23
|
-
import {
|
|
23
|
+
import { MutableCluster } from '@project-chip/matter-node.js/cluster';
|
|
24
24
|
import { Attribute } from '@project-chip/matter-node.js/cluster';
|
|
25
|
-
import { BitFlag
|
|
25
|
+
import { BitFlag } from '@project-chip/matter-node.js/schema';
|
|
26
|
+
import { Identity } from '@project-chip/matter-node.js/util';
|
|
26
27
|
export declare namespace AirQuality {
|
|
27
|
-
enum Feature {
|
|
28
|
-
FairAirQuality = "FairAirQuality",
|
|
29
|
-
ModerateAirQuality = "ModerateAirQuality",
|
|
30
|
-
VeryPoorAirQuality = "VeryPoorAirQuality",
|
|
31
|
-
ExtremelyPoorAirQuality = "ExtremelyPoorAirQuality"
|
|
32
|
-
}
|
|
33
28
|
enum AirQualityType {
|
|
34
29
|
Unknown = 0,
|
|
35
30
|
Good = 1,
|
|
@@ -39,7 +34,33 @@ export declare namespace AirQuality {
|
|
|
39
34
|
VeryPoor = 5,
|
|
40
35
|
ExtremelyPoor = 6
|
|
41
36
|
}
|
|
42
|
-
const
|
|
37
|
+
const FairAirQualityComponent: {
|
|
38
|
+
readonly attributes: {
|
|
39
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
const ModerateAirQualityComponent: {
|
|
43
|
+
readonly attributes: {
|
|
44
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
const VeryPoorAirQualityComponent: {
|
|
48
|
+
readonly attributes: {
|
|
49
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
const ExtremelyPoorAirQualityComponent: {
|
|
53
|
+
readonly attributes: {
|
|
54
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
enum Feature {
|
|
58
|
+
FairAirQuality = "FairAirQuality",
|
|
59
|
+
ModerateAirQuality = "ModerateAirQuality",
|
|
60
|
+
VeryPoorAirQuality = "VeryPoorAirQuality",
|
|
61
|
+
ExtremelyPoorAirQuality = "ExtremelyPoorAirQuality"
|
|
62
|
+
}
|
|
63
|
+
const Base: {
|
|
43
64
|
readonly id: 91;
|
|
44
65
|
readonly name: "AirQuality";
|
|
45
66
|
readonly revision: 1;
|
|
@@ -52,40 +73,100 @@ export declare namespace AirQuality {
|
|
|
52
73
|
readonly attributes: {
|
|
53
74
|
readonly airQuality: Attribute<AirQualityType, any>;
|
|
54
75
|
};
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
76
|
+
readonly extensions: readonly [{
|
|
77
|
+
readonly flags: {
|
|
78
|
+
readonly fairAirQuality: true;
|
|
79
|
+
};
|
|
80
|
+
readonly component: {
|
|
81
|
+
readonly attributes: {
|
|
82
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}, {
|
|
86
|
+
readonly flags: {
|
|
87
|
+
readonly ModerateAirQuality: true;
|
|
88
|
+
};
|
|
89
|
+
readonly component: {
|
|
90
|
+
readonly attributes: {
|
|
91
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}, {
|
|
95
|
+
readonly flags: {
|
|
96
|
+
readonly VeryPoorAirQuality: true;
|
|
97
|
+
};
|
|
98
|
+
readonly component: {
|
|
99
|
+
readonly attributes: {
|
|
100
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}, {
|
|
104
|
+
readonly flags: {
|
|
105
|
+
readonly ExtremelyPoorAirQuality: true;
|
|
106
|
+
};
|
|
107
|
+
readonly component: {
|
|
108
|
+
readonly attributes: {
|
|
109
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}];
|
|
113
|
+
};
|
|
114
|
+
const ClusterInstance: MutableCluster<{
|
|
115
|
+
readonly id: 91;
|
|
116
|
+
readonly name: "AirQuality";
|
|
117
|
+
readonly revision: 1;
|
|
118
|
+
readonly features: {
|
|
65
119
|
readonly fairAirQuality: BitFlag;
|
|
66
120
|
readonly moderateAirQuality: BitFlag;
|
|
67
121
|
readonly veryPoorAirQuality: BitFlag;
|
|
68
122
|
readonly extremelyPoorAirQuality: BitFlag;
|
|
69
123
|
};
|
|
70
|
-
|
|
71
|
-
attributes: import("@project-chip/matter.js/util").Merge<import("@project-chip/matter.js/util").Merge<{
|
|
124
|
+
readonly attributes: {
|
|
72
125
|
readonly airQuality: Attribute<AirQualityType, any>;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
readonly
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
126
|
+
};
|
|
127
|
+
readonly extensions: readonly [{
|
|
128
|
+
readonly flags: {
|
|
129
|
+
readonly fairAirQuality: true;
|
|
130
|
+
};
|
|
131
|
+
readonly component: {
|
|
132
|
+
readonly attributes: {
|
|
133
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}, {
|
|
137
|
+
readonly flags: {
|
|
138
|
+
readonly ModerateAirQuality: true;
|
|
139
|
+
};
|
|
140
|
+
readonly component: {
|
|
141
|
+
readonly attributes: {
|
|
142
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
}, {
|
|
146
|
+
readonly flags: {
|
|
147
|
+
readonly VeryPoorAirQuality: true;
|
|
148
|
+
};
|
|
149
|
+
readonly component: {
|
|
150
|
+
readonly attributes: {
|
|
151
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
}, {
|
|
155
|
+
readonly flags: {
|
|
156
|
+
readonly ExtremelyPoorAirQuality: true;
|
|
157
|
+
};
|
|
158
|
+
readonly component: {
|
|
159
|
+
readonly attributes: {
|
|
160
|
+
readonly airQuality: Attribute<AirQualityType, any>;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
}];
|
|
164
|
+
}>;
|
|
165
|
+
interface Cluster extends Identity<typeof ClusterInstance> {
|
|
166
|
+
}
|
|
167
|
+
const Cluster: Cluster;
|
|
168
|
+
const CompleteInstance: MutableCluster<{
|
|
169
|
+
readonly id: import("@project-chip/matter-node.js/util").Branded<91, "ClusterId">;
|
|
89
170
|
readonly name: "AirQuality";
|
|
90
171
|
readonly revision: 1;
|
|
91
172
|
readonly features: {
|
|
@@ -96,74 +177,23 @@ export declare namespace AirQuality {
|
|
|
96
177
|
};
|
|
97
178
|
readonly attributes: {
|
|
98
179
|
readonly airQuality: Attribute<AirQualityType, any>;
|
|
180
|
+
readonly clusterRevision: Attribute<number, never>;
|
|
181
|
+
readonly featureMap: Attribute<import("@project-chip/matter-node.js/schema").TypeFromPartialBitSchema<{
|
|
182
|
+
readonly fairAirQuality: BitFlag;
|
|
183
|
+
readonly moderateAirQuality: BitFlag;
|
|
184
|
+
readonly veryPoorAirQuality: BitFlag;
|
|
185
|
+
readonly extremelyPoorAirQuality: BitFlag;
|
|
186
|
+
}>, never>;
|
|
187
|
+
readonly attributeList: Attribute<import("@project-chip/matter.js/datatype").AttributeId[], never>;
|
|
188
|
+
readonly eventList: Attribute<import("@project-chip/matter.js/datatype").EventId[], never>;
|
|
189
|
+
readonly acceptedCommandList: Attribute<import("@project-chip/matter.js/datatype").CommandId[], never>;
|
|
190
|
+
readonly generatedCommandList: Attribute<import("@project-chip/matter.js/datatype").CommandId[], never>;
|
|
99
191
|
};
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
readonly veryPoorAirQuality: BitFlag;
|
|
105
|
-
readonly extremelyPoorAirQuality: BitFlag;
|
|
106
|
-
}, T>>;
|
|
107
|
-
};
|
|
108
|
-
type Extension<SF extends TypeFromPartialBitSchema<typeof Base.features>> = Omit<typeof Base, 'supportedFeatures'> & {
|
|
109
|
-
supportedFeatures: SF;
|
|
110
|
-
} & (SF extends {
|
|
111
|
-
fairAirQuality: true;
|
|
112
|
-
} ? typeof FairAirQualityComponent : {}) & (SF extends {
|
|
113
|
-
moderateAirQuality: true;
|
|
114
|
-
} ? typeof ModerateAirQualityComponent : {}) & (SF extends {
|
|
115
|
-
veryPoorAirQuality: true;
|
|
116
|
-
} ? typeof VeryPoorAirQualityComponent : {}) & (SF extends {
|
|
117
|
-
extremelyPoorAirQuality: true;
|
|
118
|
-
} ? typeof ExtremelyPoorAirQualityComponent : {});
|
|
192
|
+
}>;
|
|
193
|
+
interface Complete extends Identity<typeof CompleteInstance> {
|
|
194
|
+
}
|
|
195
|
+
const Complete: Complete;
|
|
119
196
|
}
|
|
120
197
|
export type AirQualityCluster = typeof AirQuality.Cluster;
|
|
121
|
-
export declare const AirQualityCluster:
|
|
122
|
-
id: import("@project-chip/matter.js/util").Branded<91 & import("@project-chip/matter.js/util").Brand<"ClusterId">, "ClusterId">;
|
|
123
|
-
name: "AirQuality";
|
|
124
|
-
revision: 1;
|
|
125
|
-
features: {
|
|
126
|
-
readonly fairAirQuality: BitFlag;
|
|
127
|
-
readonly moderateAirQuality: BitFlag;
|
|
128
|
-
readonly veryPoorAirQuality: BitFlag;
|
|
129
|
-
readonly extremelyPoorAirQuality: BitFlag;
|
|
130
|
-
};
|
|
131
|
-
supportedFeatures: {};
|
|
132
|
-
attributes: import("@project-chip/matter.js/util").Merge<import("@project-chip/matter.js/util").Merge<{
|
|
133
|
-
readonly airQuality: Attribute<AirQuality.AirQualityType, any>;
|
|
134
|
-
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
135
|
-
readonly fairAirQuality: BitFlag;
|
|
136
|
-
readonly moderateAirQuality: BitFlag;
|
|
137
|
-
readonly veryPoorAirQuality: BitFlag;
|
|
138
|
-
readonly extremelyPoorAirQuality: BitFlag;
|
|
139
|
-
}>>, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
140
|
-
readonly fairAirQuality: BitFlag;
|
|
141
|
-
readonly moderateAirQuality: BitFlag;
|
|
142
|
-
readonly veryPoorAirQuality: BitFlag;
|
|
143
|
-
readonly extremelyPoorAirQuality: BitFlag;
|
|
144
|
-
}>>;
|
|
145
|
-
commands: {};
|
|
146
|
-
events: {};
|
|
147
|
-
unknown: false;
|
|
148
|
-
} & Omit<ClusterFactory.Definition<{
|
|
149
|
-
readonly id: 91;
|
|
150
|
-
readonly name: "AirQuality";
|
|
151
|
-
readonly revision: 1;
|
|
152
|
-
readonly features: {
|
|
153
|
-
readonly fairAirQuality: BitFlag;
|
|
154
|
-
readonly moderateAirQuality: BitFlag;
|
|
155
|
-
readonly veryPoorAirQuality: BitFlag;
|
|
156
|
-
readonly extremelyPoorAirQuality: BitFlag;
|
|
157
|
-
};
|
|
158
|
-
readonly attributes: {
|
|
159
|
-
readonly airQuality: Attribute<AirQuality.AirQualityType, any>;
|
|
160
|
-
};
|
|
161
|
-
}>, "attributes"> & {
|
|
162
|
-
readonly with: <T extends ("FairAirQuality" | "ModerateAirQuality" | "VeryPoorAirQuality" | "ExtremelyPoorAirQuality")[]>(...features_0: T) => AirQuality.Extension<BitFlags<{
|
|
163
|
-
readonly fairAirQuality: BitFlag;
|
|
164
|
-
readonly moderateAirQuality: BitFlag;
|
|
165
|
-
readonly veryPoorAirQuality: BitFlag;
|
|
166
|
-
readonly extremelyPoorAirQuality: BitFlag;
|
|
167
|
-
}, T>>;
|
|
168
|
-
};
|
|
198
|
+
export declare const AirQualityCluster: AirQuality.Cluster;
|
|
169
199
|
//# sourceMappingURL=AirQualityCluster.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityCluster.d.ts","sourceRoot":"","sources":["../src/AirQualityCluster.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;
|
|
1
|
+
{"version":3,"file":"AirQualityCluster.d.ts","source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AO,CAAC;AAC1D,eAAO,MAAM,iBAAiB,oBAAqB,CAAC"}
|
|
@@ -21,20 +21,12 @@
|
|
|
21
21
|
* limitations under the License. *
|
|
22
22
|
*/
|
|
23
23
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
24
|
-
|
|
25
|
-
import { ClusterFactory } from '@project-chip/matter-node.js/cluster';
|
|
24
|
+
import { ClusterRegistry, MutableCluster } from '@project-chip/matter-node.js/cluster';
|
|
26
25
|
import { Attribute } from '@project-chip/matter-node.js/cluster';
|
|
27
|
-
import { BitFlag
|
|
26
|
+
import { BitFlag } from '@project-chip/matter-node.js/schema';
|
|
28
27
|
import { TlvEnum } from '@project-chip/matter-node.js/tlv';
|
|
29
28
|
export var AirQuality;
|
|
30
29
|
(function (AirQuality) {
|
|
31
|
-
let Feature;
|
|
32
|
-
(function (Feature) {
|
|
33
|
-
Feature["FairAirQuality"] = "FairAirQuality";
|
|
34
|
-
Feature["ModerateAirQuality"] = "ModerateAirQuality";
|
|
35
|
-
Feature["VeryPoorAirQuality"] = "VeryPoorAirQuality";
|
|
36
|
-
Feature["ExtremelyPoorAirQuality"] = "ExtremelyPoorAirQuality";
|
|
37
|
-
})(Feature = AirQuality.Feature || (AirQuality.Feature = {}));
|
|
38
30
|
let AirQualityType;
|
|
39
31
|
(function (AirQualityType) {
|
|
40
32
|
AirQualityType[AirQualityType["Unknown"] = 0] = "Unknown";
|
|
@@ -45,7 +37,34 @@ export var AirQuality;
|
|
|
45
37
|
AirQualityType[AirQualityType["VeryPoor"] = 5] = "VeryPoor";
|
|
46
38
|
AirQualityType[AirQualityType["ExtremelyPoor"] = 6] = "ExtremelyPoor";
|
|
47
39
|
})(AirQualityType = AirQuality.AirQualityType || (AirQuality.AirQualityType = {}));
|
|
48
|
-
AirQuality.
|
|
40
|
+
AirQuality.FairAirQualityComponent = MutableCluster.Component({
|
|
41
|
+
attributes: {
|
|
42
|
+
airQuality: Attribute(0x0, TlvEnum()),
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
AirQuality.ModerateAirQualityComponent = MutableCluster.Component({
|
|
46
|
+
attributes: {
|
|
47
|
+
airQuality: Attribute(0x0, TlvEnum()),
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
AirQuality.VeryPoorAirQualityComponent = MutableCluster.Component({
|
|
51
|
+
attributes: {
|
|
52
|
+
airQuality: Attribute(0x0, TlvEnum()),
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
AirQuality.ExtremelyPoorAirQualityComponent = MutableCluster.Component({
|
|
56
|
+
attributes: {
|
|
57
|
+
airQuality: Attribute(0x0, TlvEnum()),
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
let Feature;
|
|
61
|
+
(function (Feature) {
|
|
62
|
+
Feature["FairAirQuality"] = "FairAirQuality";
|
|
63
|
+
Feature["ModerateAirQuality"] = "ModerateAirQuality";
|
|
64
|
+
Feature["VeryPoorAirQuality"] = "VeryPoorAirQuality";
|
|
65
|
+
Feature["ExtremelyPoorAirQuality"] = "ExtremelyPoorAirQuality";
|
|
66
|
+
})(Feature = AirQuality.Feature || (AirQuality.Feature = {}));
|
|
67
|
+
AirQuality.Base = MutableCluster.Component({
|
|
49
68
|
id: 0x5b,
|
|
50
69
|
name: 'AirQuality',
|
|
51
70
|
revision: 1,
|
|
@@ -58,23 +77,21 @@ export var AirQuality;
|
|
|
58
77
|
attributes: {
|
|
59
78
|
airQuality: Attribute(0x0, TlvEnum()),
|
|
60
79
|
},
|
|
80
|
+
extensions: MutableCluster.Extensions({ flags: { fairAirQuality: true }, component: AirQuality.FairAirQualityComponent }, { flags: { ModerateAirQuality: true }, component: AirQuality.ModerateAirQualityComponent }, { flags: { VeryPoorAirQuality: true }, component: AirQuality.VeryPoorAirQualityComponent }, { flags: { ExtremelyPoorAirQuality: true }, component: AirQuality.ExtremelyPoorAirQualityComponent }),
|
|
61
81
|
});
|
|
62
|
-
AirQuality.
|
|
63
|
-
AirQuality.
|
|
64
|
-
AirQuality.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
ClusterFactory.extend(cluster, AirQuality.FairAirQualityComponent, { fairAirQuality: true });
|
|
73
|
-
ClusterFactory.extend(cluster, AirQuality.ModerateAirQualityComponent, { moderateAirQuality: true });
|
|
74
|
-
ClusterFactory.extend(cluster, AirQuality.VeryPoorAirQualityComponent, { veryPoorAirQuality: true });
|
|
75
|
-
ClusterFactory.extend(cluster, AirQuality.ExtremelyPoorAirQualityComponent, { extremelyPoorAirQuality: true });
|
|
76
|
-
return cluster;
|
|
82
|
+
AirQuality.ClusterInstance = MutableCluster({ ...AirQuality.Base });
|
|
83
|
+
AirQuality.Cluster = AirQuality.ClusterInstance;
|
|
84
|
+
AirQuality.CompleteInstance = MutableCluster({
|
|
85
|
+
id: AirQuality.Cluster.id,
|
|
86
|
+
name: AirQuality.Cluster.name,
|
|
87
|
+
revision: AirQuality.Cluster.revision,
|
|
88
|
+
features: AirQuality.Cluster.features,
|
|
89
|
+
attributes: {
|
|
90
|
+
...AirQuality.Cluster.attributes,
|
|
91
|
+
},
|
|
77
92
|
});
|
|
93
|
+
AirQuality.Complete = AirQuality.CompleteInstance;
|
|
78
94
|
})(AirQuality || (AirQuality = {}));
|
|
79
95
|
export const AirQualityCluster = AirQuality.Cluster;
|
|
96
|
+
ClusterRegistry.register(AirQuality.Complete);
|
|
80
97
|
//# sourceMappingURL=AirQualityCluster.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityCluster.js","sourceRoot":"","sources":["../src/AirQualityCluster.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,oDAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"AirQualityCluster.js","sourceRoot":"","sources":["../src/AirQualityCluster.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH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