@spytecgps/nova-orm 1.2.5 → 1.2.6
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/entities/index.d.ts +1 -4
- package/dist/entities/index.js +1 -4
- package/dist/entities/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/entities/alertBeta.d.ts +0 -27
- package/dist/entities/alertBeta.js +0 -135
- package/dist/entities/alertBeta.js.map +0 -1
- package/dist/entities/alertMigration.d.ts +0 -23
- package/dist/entities/alertMigration.js +0 -116
- package/dist/entities/alertMigration.js.map +0 -1
- package/dist/entities/alertMigrationBatch.d.ts +0 -3
- package/dist/entities/alertMigrationBatch.js +0 -22
- package/dist/entities/alertMigrationBatch.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import { Relation } from 'typeorm';
|
|
4
|
-
import { AlertType } from './alertType';
|
|
5
|
-
export declare class AlertBeta {
|
|
6
|
-
id: number;
|
|
7
|
-
alertTypeId: number;
|
|
8
|
-
alertType?: Relation<AlertType>;
|
|
9
|
-
value: string | null;
|
|
10
|
-
createdAt: Date | null;
|
|
11
|
-
userId: Buffer | null;
|
|
12
|
-
messageId: Buffer;
|
|
13
|
-
boundaryId?: number;
|
|
14
|
-
imei: string;
|
|
15
|
-
sendTime: Date;
|
|
16
|
-
lat: number | null;
|
|
17
|
-
lon: number | null;
|
|
18
|
-
address: string | null;
|
|
19
|
-
clientId: number | null;
|
|
20
|
-
isBuffer: boolean | null;
|
|
21
|
-
isNotification: boolean | null;
|
|
22
|
-
gpsUtcTime: Date | null;
|
|
23
|
-
relevantAddress: string | null;
|
|
24
|
-
gpsMessageId: Buffer | null;
|
|
25
|
-
cellTowerRelevantAddress: string | null;
|
|
26
|
-
userAlertConfigurationId: number | null;
|
|
27
|
-
}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index, JoinColumn, OneToOne, PrimaryGeneratedColumn, } from 'typeorm';
|
|
11
|
-
import { AlertType } from './alertType';
|
|
12
|
-
let AlertBeta = class AlertBeta {
|
|
13
|
-
id;
|
|
14
|
-
alertTypeId;
|
|
15
|
-
alertType;
|
|
16
|
-
value;
|
|
17
|
-
createdAt;
|
|
18
|
-
userId;
|
|
19
|
-
messageId;
|
|
20
|
-
boundaryId;
|
|
21
|
-
imei;
|
|
22
|
-
sendTime;
|
|
23
|
-
lat;
|
|
24
|
-
lon;
|
|
25
|
-
address;
|
|
26
|
-
clientId;
|
|
27
|
-
isBuffer;
|
|
28
|
-
isNotification;
|
|
29
|
-
gpsUtcTime;
|
|
30
|
-
relevantAddress;
|
|
31
|
-
gpsMessageId;
|
|
32
|
-
cellTowerRelevantAddress;
|
|
33
|
-
userAlertConfigurationId;
|
|
34
|
-
};
|
|
35
|
-
__decorate([
|
|
36
|
-
PrimaryGeneratedColumn({ type: 'bigint', name: 'id' }),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], AlertBeta.prototype, "id", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
Column('tinyint', { name: 'alertTypeId' }),
|
|
41
|
-
__metadata("design:type", Number)
|
|
42
|
-
], AlertBeta.prototype, "alertTypeId", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
OneToOne(() => AlertType, { createForeignKeyConstraints: false }),
|
|
45
|
-
JoinColumn(),
|
|
46
|
-
__metadata("design:type", Object)
|
|
47
|
-
], AlertBeta.prototype, "alertType", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
Column('varchar', { name: 'value', nullable: true, length: 5000 }),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], AlertBeta.prototype, "value", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
Column('datetime', { name: 'createdAt', precision: 3 }),
|
|
54
|
-
__metadata("design:type", Date)
|
|
55
|
-
], AlertBeta.prototype, "createdAt", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
Column('binary', { name: 'userId', nullable: true, length: 16 }),
|
|
58
|
-
__metadata("design:type", Buffer)
|
|
59
|
-
], AlertBeta.prototype, "userId", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
Column('binary', { name: 'messageId', length: 16 }),
|
|
62
|
-
__metadata("design:type", Buffer)
|
|
63
|
-
], AlertBeta.prototype, "messageId", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
Column('int', { name: 'boundaryId', nullable: true }),
|
|
66
|
-
__metadata("design:type", Number)
|
|
67
|
-
], AlertBeta.prototype, "boundaryId", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
Column('varchar', { name: 'imei', length: 15 }),
|
|
70
|
-
__metadata("design:type", String)
|
|
71
|
-
], AlertBeta.prototype, "imei", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
Column('datetime', { name: 'sendTime', precision: 3 }),
|
|
74
|
-
__metadata("design:type", Date)
|
|
75
|
-
], AlertBeta.prototype, "sendTime", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
Column('decimal', { name: 'lat', nullable: true, precision: 8, scale: 6 }),
|
|
78
|
-
__metadata("design:type", Number)
|
|
79
|
-
], AlertBeta.prototype, "lat", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
Column('decimal', { name: 'lon', nullable: true, precision: 9, scale: 6 }),
|
|
82
|
-
__metadata("design:type", Number)
|
|
83
|
-
], AlertBeta.prototype, "lon", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
Column('varchar', { name: 'address', nullable: true, length: 255 }),
|
|
86
|
-
__metadata("design:type", String)
|
|
87
|
-
], AlertBeta.prototype, "address", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
Column('int', { name: 'clientId', nullable: true }),
|
|
90
|
-
__metadata("design:type", Number)
|
|
91
|
-
], AlertBeta.prototype, "clientId", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
Column('tinyint', { name: 'isBuffer', nullable: true, width: 1 }),
|
|
94
|
-
__metadata("design:type", Boolean)
|
|
95
|
-
], AlertBeta.prototype, "isBuffer", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
Column('tinyint', { name: 'isNotification', nullable: true, width: 1 }),
|
|
98
|
-
__metadata("design:type", Boolean)
|
|
99
|
-
], AlertBeta.prototype, "isNotification", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
Column('datetime', { name: 'gpsUtcTime', nullable: true, precision: 3 }),
|
|
102
|
-
__metadata("design:type", Date)
|
|
103
|
-
], AlertBeta.prototype, "gpsUtcTime", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
Column('varchar', { name: 'relevantAddress', nullable: true, length: 255 }),
|
|
106
|
-
__metadata("design:type", String)
|
|
107
|
-
], AlertBeta.prototype, "relevantAddress", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
Column('binary', { name: 'gpsMessageId', nullable: true, length: 16 }),
|
|
110
|
-
__metadata("design:type", Buffer)
|
|
111
|
-
], AlertBeta.prototype, "gpsMessageId", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
Column('varchar', {
|
|
114
|
-
name: 'cellTowerRelevantAddress',
|
|
115
|
-
nullable: true,
|
|
116
|
-
length: 255,
|
|
117
|
-
}),
|
|
118
|
-
__metadata("design:type", String)
|
|
119
|
-
], AlertBeta.prototype, "cellTowerRelevantAddress", void 0);
|
|
120
|
-
__decorate([
|
|
121
|
-
Column('int', { name: 'userAlertConfigurationId', nullable: true }),
|
|
122
|
-
__metadata("design:type", Number)
|
|
123
|
-
], AlertBeta.prototype, "userAlertConfigurationId", void 0);
|
|
124
|
-
AlertBeta = __decorate([
|
|
125
|
-
Index('ixAlertUserId_Imei_AlertTypeId_SendTime', ['userId', 'imei', 'alertTypeId', 'sendTime'], {}),
|
|
126
|
-
Index('ixAlertUserId_AlertTypeId_SendTime', ['userId', 'alertTypeId', 'sendTime'], {}),
|
|
127
|
-
Index('ixAlertAlertTypeId', ['alertTypeId'], {}),
|
|
128
|
-
Index('ixAlertClientId', ['clientId'], {}),
|
|
129
|
-
Index('ixAlertImei', ['imei'], {}),
|
|
130
|
-
Index('ixAlertSendTime', ['sendTime'], {}),
|
|
131
|
-
Index('ixAlertUserId', ['userId'], {}),
|
|
132
|
-
Entity('alertBeta', { schema: 'nova' })
|
|
133
|
-
], AlertBeta);
|
|
134
|
-
export { AlertBeta };
|
|
135
|
-
//# sourceMappingURL=alertBeta.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alertBeta.js","sourceRoot":"","sources":["../../src/entities/alertBeta.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,UAAU,EACV,QAAQ,EACR,sBAAsB,GAEvB,MAAM,SAAS,CAAA;AAEhB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAUhC,IAAM,SAAS,GAAf,MAAM,SAAS;IAEpB,EAAE,CAAQ;IAGV,WAAW,CAAQ;IAInB,SAAS,CAAsB;IAG/B,KAAK,CAAe;IAGpB,SAAS,CAAa;IAGtB,MAAM,CAAe;IAGrB,SAAS,CAAQ;IAGjB,U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
|
-
alertTypeId: number;
|
|
6
|
-
value: string | null;
|
|
7
|
-
createdAt: Date | null;
|
|
8
|
-
userId: Buffer | null;
|
|
9
|
-
messageId: Buffer;
|
|
10
|
-
boundaryId?: number;
|
|
11
|
-
imei: string;
|
|
12
|
-
sendTime: Date;
|
|
13
|
-
lat: number | null;
|
|
14
|
-
lon: number | null;
|
|
15
|
-
address: string | null;
|
|
16
|
-
clientId: number | null;
|
|
17
|
-
isBuffer: boolean | null;
|
|
18
|
-
isNotification: boolean | null;
|
|
19
|
-
gpsUtcTime: Date | null;
|
|
20
|
-
relevantAddress: string | null;
|
|
21
|
-
gpsMessageId: Buffer | null;
|
|
22
|
-
cellTowerRelevantAddress: string | null;
|
|
23
|
-
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, PrimaryColumn } from 'typeorm';
|
|
11
|
-
let AlertMigration = class AlertMigration {
|
|
12
|
-
id;
|
|
13
|
-
alertTypeId;
|
|
14
|
-
value;
|
|
15
|
-
createdAt;
|
|
16
|
-
userId;
|
|
17
|
-
messageId;
|
|
18
|
-
boundaryId;
|
|
19
|
-
imei;
|
|
20
|
-
sendTime;
|
|
21
|
-
lat;
|
|
22
|
-
lon;
|
|
23
|
-
address;
|
|
24
|
-
clientId;
|
|
25
|
-
isBuffer;
|
|
26
|
-
isNotification;
|
|
27
|
-
gpsUtcTime;
|
|
28
|
-
relevantAddress;
|
|
29
|
-
gpsMessageId;
|
|
30
|
-
cellTowerRelevantAddress;
|
|
31
|
-
};
|
|
32
|
-
__decorate([
|
|
33
|
-
PrimaryColumn({ type: 'bigint', name: 'id' }),
|
|
34
|
-
__metadata("design:type", Number)
|
|
35
|
-
], AlertMigration.prototype, "id", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
Column('tinyint', { name: 'alertTypeId' }),
|
|
38
|
-
__metadata("design:type", Number)
|
|
39
|
-
], AlertMigration.prototype, "alertTypeId", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
Column('varchar', { name: 'value', nullable: true, length: 5000 }),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], AlertMigration.prototype, "value", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
Column('datetime', { name: 'createdAt', precision: 3 }),
|
|
46
|
-
__metadata("design:type", Date)
|
|
47
|
-
], AlertMigration.prototype, "createdAt", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
Column('binary', { name: 'userId', nullable: true, length: 16 }),
|
|
50
|
-
__metadata("design:type", Buffer)
|
|
51
|
-
], AlertMigration.prototype, "userId", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
Column('binary', { name: 'messageId', length: 16 }),
|
|
54
|
-
__metadata("design:type", Buffer)
|
|
55
|
-
], AlertMigration.prototype, "messageId", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
Column('int', { name: 'boundaryId', nullable: true }),
|
|
58
|
-
__metadata("design:type", Number)
|
|
59
|
-
], AlertMigration.prototype, "boundaryId", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
Column('varchar', { name: 'imei', length: 15 }),
|
|
62
|
-
__metadata("design:type", String)
|
|
63
|
-
], AlertMigration.prototype, "imei", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
Column('datetime', { name: 'sendTime', precision: 3 }),
|
|
66
|
-
__metadata("design:type", Date)
|
|
67
|
-
], AlertMigration.prototype, "sendTime", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
Column('decimal', { name: 'lat', nullable: true, precision: 8, scale: 6 }),
|
|
70
|
-
__metadata("design:type", Number)
|
|
71
|
-
], AlertMigration.prototype, "lat", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
Column('decimal', { name: 'lon', nullable: true, precision: 9, scale: 6 }),
|
|
74
|
-
__metadata("design:type", Number)
|
|
75
|
-
], AlertMigration.prototype, "lon", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
Column('varchar', { name: 'address', nullable: true, length: 255 }),
|
|
78
|
-
__metadata("design:type", String)
|
|
79
|
-
], AlertMigration.prototype, "address", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
Column('int', { name: 'clientId', nullable: true }),
|
|
82
|
-
__metadata("design:type", Number)
|
|
83
|
-
], AlertMigration.prototype, "clientId", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
Column('tinyint', { name: 'isBuffer', nullable: true, width: 1 }),
|
|
86
|
-
__metadata("design:type", Boolean)
|
|
87
|
-
], AlertMigration.prototype, "isBuffer", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
Column('tinyint', { name: 'isNotification', nullable: true, width: 1 }),
|
|
90
|
-
__metadata("design:type", Boolean)
|
|
91
|
-
], AlertMigration.prototype, "isNotification", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
Column('datetime', { name: 'gpsUtcTime', nullable: true, precision: 3 }),
|
|
94
|
-
__metadata("design:type", Date)
|
|
95
|
-
], AlertMigration.prototype, "gpsUtcTime", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
Column('varchar', { name: 'relevantAddress', nullable: true, length: 255 }),
|
|
98
|
-
__metadata("design:type", String)
|
|
99
|
-
], AlertMigration.prototype, "relevantAddress", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
Column('binary', { name: 'gpsMessageId', nullable: true, length: 16 }),
|
|
102
|
-
__metadata("design:type", Buffer)
|
|
103
|
-
], AlertMigration.prototype, "gpsMessageId", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
Column('varchar', {
|
|
106
|
-
name: 'cellTowerRelevantAddress',
|
|
107
|
-
nullable: true,
|
|
108
|
-
length: 255,
|
|
109
|
-
}),
|
|
110
|
-
__metadata("design:type", String)
|
|
111
|
-
], AlertMigration.prototype, "cellTowerRelevantAddress", void 0);
|
|
112
|
-
AlertMigration = __decorate([
|
|
113
|
-
Entity('alertMigration', { schema: 'nova' })
|
|
114
|
-
], AlertMigration);
|
|
115
|
-
export { AlertMigration };
|
|
116
|
-
//# sourceMappingURL=alertMigration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alertMigration.js","sourceRoot":"","sources":["../../src/entities/alertMigration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAGhD,IAAM,cAAc,GAApB,MAAM,cAAc;IAEzB,EAAE,CAAQ;IAGV,WAAW,CAAQ;IAGnB,KAAK,CAAe;IAGpB,SAAS,CAAa;IAGtB,MAAM,CAAe;IAGrB,SAAS,CAAQ;IAGjB,UAAU,CAAS;IAGnB,IAAI,CAAQ;IAGZ,QAAQ,CAAM;IAGd,GAAG,CAAe;IAGlB,GAAG,CAAe;IAGlB,OAAO,CAAe;IAGtB,QAAQ,CAAe;IAGvB,QAAQ,CAAgB;IAGxB,cAAc,CAAgB;IAG9B,UAAU,CAAa;IAGvB,eAAe,CAAe;IAG9B,YAAY,CAAe;IAO3B,wBAAwB,CAAe;CACxC,CAAA;AA5DC;IAAC,aAAa,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;0CACpC;AAEV;IAAC,MAAM,CAAC,SAAS,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|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Entity, PrimaryColumn } from 'typeorm';
|
|
11
|
-
let AlertMigrationBatch = class AlertMigrationBatch {
|
|
12
|
-
id;
|
|
13
|
-
};
|
|
14
|
-
__decorate([
|
|
15
|
-
PrimaryColumn({ type: 'bigint', name: 'id' }),
|
|
16
|
-
__metadata("design:type", Number)
|
|
17
|
-
], AlertMigrationBatch.prototype, "id", void 0);
|
|
18
|
-
AlertMigrationBatch = __decorate([
|
|
19
|
-
Entity('alertMigrationBatch', { schema: 'nova' })
|
|
20
|
-
], AlertMigrationBatch);
|
|
21
|
-
export { AlertMigrationBatch };
|
|
22
|
-
//# sourceMappingURL=alertMigrationBatch.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alertMigrationBatch.js","sourceRoot":"","sources":["../../src/entities/alertMigrationBatch.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAGxC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAE9B,EAAE,CAAQ;CACX,CAAA;AAFC;IAAC,aAAa,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+CACpC;AAFC,mBAAmB;IAD/B,MAAM,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACrC,mBAAmB,CAG/B;SAHY,mBAAmB"}
|