@sovereignbase/explorer 0.0.0-alpha.4 → 0.0.0-alpha.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/class.cjs +166 -70
- package/dist/class.cjs.map +1 -1
- package/dist/class.d.cts +122 -44
- package/dist/class.d.cts.map +1 -1
- package/dist/class.d.ts +122 -44
- package/dist/class.d.ts.map +1 -1
- package/dist/class.js +167 -72
- package/dist/class.js.map +1 -1
- package/package.json +5 -4
package/dist/class.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"class.d.cts","names":[],"sources":["../src/RecentEntries/class.ts","../src/CredentialEntries/class.ts","../src/.types/type.ts","../src/class.ts"],"mappings":";;;;;;;;;KAsBY;;EAEV;;EAGA;;EAGA,WAAW;;EAGX;;;;;KAMU,qBAAqB,2BACb,aAAa,oBAAoB;;;;KAMzC,sBAAsB,aAChC,qBAAqB;;;;
|
|
1
|
+
{"version":3,"file":"class.d.cts","names":[],"sources":["../src/RecentEntries/class.ts","../src/CredentialEntries/class.ts","../src/.types/type.ts","../src/.errors/class.ts","../src/class.ts"],"mappings":";;;;;;;;;KAsBY;;EAEV;;EAGA;;EAGA,WAAW;;EAGX;;;;;KAMU,qBAAqB,2BACb,aAAa,oBAAoB;;;;KAMzC,sBAAsB,aAChC,qBAAqB;;;;KCpBX;;EAEV;;EAGA,SAAS;;EAGT,SAAS;;EAGT;;EAGA;;EAGA;;EAGA,YAAY;;IAEV;;IAGA;;;;;;KAqCQ,yBAAyB,+BACb,aAAa,oBAAoB;;;;KAM7C,0BAA0B,aACpC,qBAAqB;;;;YC1FX;;;;;;;;;;YAWA,4BAA4B;;EAEtC;;EAGA,iBAAiB;;EAGjB,gBAAgB;;;;;;;;YASN,gBACV,qBAAqB;;;;YAKX;;EAEV;;EAGA,OAAO;;;;;;;YAQG,sBAAsB,gBAAgB,sBAC5C,OAAO,YAAY,iBAAiB;EACpC,YAAY,OA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AWM"}
|
package/dist/class.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { URLString } from "@sovereignbase/storage";
|
|
3
3
|
import { DeepReadonly } from "@sovereignbase/utils";
|
|
4
4
|
import { DeviceBindingStorage } from "@sovereignbase/hardware-bound";
|
|
5
|
-
import { CipherKey } from "@sovereignbase/cryptosuite";
|
|
5
|
+
import { CipherKey, CipherMessage, DecapsulateKey, EncapsulateKey, KeyOffer } from "@sovereignbase/cryptosuite";
|
|
6
6
|
import { SequencedArrayChange, SequencedArrayDelta } from "@sovereignbase/sequenced";
|
|
7
7
|
/**
|
|
8
8
|
* Describes an entry in the recent objects list.
|
|
@@ -29,14 +29,16 @@ type RecentEntriesChange = DeepReadonly<SequencedArrayChange<RecentEntry>>;
|
|
|
29
29
|
* Describes a credential registered with the database.
|
|
30
30
|
*/
|
|
31
31
|
type CredentialEntry = {
|
|
32
|
-
/** The identifier of the credential. */
|
|
33
|
-
id: string;
|
|
34
32
|
/** The display name of the credential. */
|
|
35
33
|
name: string;
|
|
36
34
|
/** The entropy associated with the credential. */
|
|
37
35
|
entropy: Uint8Array;
|
|
38
|
-
/** The storage
|
|
36
|
+
/** The storage characteristics of the device binding. */
|
|
39
37
|
storage: DeviceBindingStorage;
|
|
38
|
+
/** The identifier of the object storing virtual entropy protected by the credential. */
|
|
39
|
+
objectID: string;
|
|
40
|
+
/** The WebAuthn credential identifier. */
|
|
41
|
+
credentialID: string;
|
|
40
42
|
/** The timestamp of the most recent use of the credential. */
|
|
41
43
|
lastUsed: number;
|
|
42
44
|
/** The user agents that have used the credential. */
|
|
@@ -58,7 +60,7 @@ type CredentialEntriesChange = DeepReadonly<SequencedArrayChange<CredentialEntry
|
|
|
58
60
|
/**
|
|
59
61
|
* Represents the outcome of a database authentication attempt.
|
|
60
62
|
*/
|
|
61
|
-
type AuthenticationResult =
|
|
63
|
+
export type AuthenticationResult =
|
|
62
64
|
/** The database was successfully authenticated. */
|
|
63
65
|
'authenticated' |
|
|
64
66
|
/** The device authenticator could not provide the required entropy. */
|
|
@@ -68,9 +70,11 @@ type AuthenticationResult =
|
|
|
68
70
|
/**
|
|
69
71
|
* Describes the parameters used to register a new database credential.
|
|
70
72
|
*/
|
|
71
|
-
type AuthenticationSetupParams = Readonly<{
|
|
73
|
+
export type AuthenticationSetupParams = Readonly<{
|
|
72
74
|
/** The display name assigned to the credential. */
|
|
73
75
|
credentialName: string;
|
|
76
|
+
/** Optional virtual entropy used to establish an existing database. */
|
|
77
|
+
virtualEntropy?: Uint8Array;
|
|
74
78
|
/** The storage mechanism used to bind the credential to the device. */
|
|
75
79
|
bindingStorage: DeviceBindingStorage;
|
|
76
80
|
}>;
|
|
@@ -80,11 +84,11 @@ type AuthenticationSetupParams = Readonly<{
|
|
|
80
84
|
* Includes changes to recent and credential entries, as well as
|
|
81
85
|
* a reserved variant for other delta types.
|
|
82
86
|
*/
|
|
83
|
-
type ExplorerDelta = RecentEntriesDelta | CredentialEntriesDelta | ['other' | []];
|
|
87
|
+
export type ExplorerDelta = RecentEntriesDelta | CredentialEntriesDelta | ['other' | []];
|
|
84
88
|
/**
|
|
85
89
|
* Maps Explorer event names to their detail types.
|
|
86
90
|
*/
|
|
87
|
-
type ExplorerEventMap = {
|
|
91
|
+
export type ExplorerEventMap = {
|
|
88
92
|
/** Fired when the database authentication state changes. */
|
|
89
93
|
authenticated: boolean;
|
|
90
94
|
/** Fired when a synchronized delta is produced. */
|
|
@@ -95,7 +99,7 @@ type ExplorerEventMap = {
|
|
|
95
99
|
*
|
|
96
100
|
* @typeParam K The event name that determines the event detail type.
|
|
97
101
|
*/
|
|
98
|
-
type ExplorerEventListener<K extends keyof ExplorerEventMap> = ((event: CustomEvent<ExplorerEventMap[K]>) => void) | {
|
|
102
|
+
export type ExplorerEventListener<K extends keyof ExplorerEventMap> = ((event: CustomEvent<ExplorerEventMap[K]>) => void) | {
|
|
99
103
|
handleEvent(event: CustomEvent<ExplorerEventMap[K]>): void;
|
|
100
104
|
};
|
|
101
105
|
/**
|
|
@@ -103,22 +107,57 @@ type ExplorerEventListener<K extends keyof ExplorerEventMap> = ((event: CustomEv
|
|
|
103
107
|
*
|
|
104
108
|
* @typeParam K The event name to resolve.
|
|
105
109
|
*/
|
|
106
|
-
type ExplorerEventListenerFor<K extends string> = K extends keyof ExplorerEventMap ? ExplorerEventListener<K> : EventListenerOrEventListenerObject;
|
|
110
|
+
export type ExplorerEventListenerFor<K extends string> = K extends keyof ExplorerEventMap ? ExplorerEventListener<K> : EventListenerOrEventListenerObject;
|
|
111
|
+
/** Identifies an Explorer failure independently of its human-readable message. */
|
|
112
|
+
type ExplorerErrorCode =
|
|
113
|
+
/** An unexpected failure was wrapped with its original cause. */
|
|
114
|
+
'UNKNOWN_ERROR' |
|
|
115
|
+
/** A credential event is missing required identifying or usage information. */
|
|
116
|
+
'INVALID_CREDENTIAL_EVENT' |
|
|
117
|
+
/** A new credential does not provide all required setup properties. */
|
|
118
|
+
'MISSING_CREDENTIAL_SETUP_PROPERTIES' |
|
|
119
|
+
/** An operation requires an authenticated Explorer session. */
|
|
120
|
+
'NOT_AUTHENTICATED';
|
|
121
|
+
/**
|
|
122
|
+
* An Explorer error with a stable, machine-readable code and an optional cause.
|
|
123
|
+
*
|
|
124
|
+
* The message is prefixed with the library name. Use {@link code} rather than
|
|
125
|
+
* parsing the message when handling a particular failure.
|
|
126
|
+
*/
|
|
127
|
+
export declare class ExplorerError extends Error {
|
|
128
|
+
/** The machine-readable category of the failure. */
|
|
129
|
+
readonly code: ExplorerErrorCode;
|
|
130
|
+
/**
|
|
131
|
+
* Creates an error whose name is `ExplorerError`.
|
|
132
|
+
*
|
|
133
|
+
* @param code The category of the failure.
|
|
134
|
+
* @param message The detail to prefix with the library name; defaults to `code`.
|
|
135
|
+
* @param options Error options, including the original `cause`.
|
|
136
|
+
*/
|
|
137
|
+
constructor(code: ExplorerErrorCode, message?: string, options?: ErrorOptions);
|
|
138
|
+
}
|
|
107
139
|
/**
|
|
108
|
-
* Provides
|
|
109
|
-
* the database's synchronized entries.
|
|
140
|
+
* Provides access to an authenticated Sovereignbase database.
|
|
110
141
|
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
142
|
+
* Manages database authentication, encrypted object storage, credential
|
|
143
|
+
* registration, database linking, and synchronized entries.
|
|
113
144
|
*/
|
|
114
145
|
export declare class Explorer {
|
|
115
146
|
/** The identifier of the authenticated database. */
|
|
116
147
|
static databaseID: string;
|
|
117
|
-
/** Indicates whether
|
|
148
|
+
/** Indicates whether a database has been authenticated. */
|
|
118
149
|
static isAuthenticated: boolean;
|
|
150
|
+
/** The base URL used to access database objects. */
|
|
119
151
|
private static storageURL;
|
|
152
|
+
/** The event target used for Explorer events. */
|
|
120
153
|
private static eventTarget?;
|
|
154
|
+
/** The data PIN associated with the current session. */
|
|
155
|
+
private static dataPIN;
|
|
156
|
+
/** The virtual entropy associated with the authenticated database. */
|
|
157
|
+
private static virtualEntropy;
|
|
158
|
+
/** The secret used to access the authenticated database. */
|
|
121
159
|
private static databaseSecret;
|
|
160
|
+
/** The credential information associated with the current authentication. */
|
|
122
161
|
private static sessionCredential?;
|
|
123
162
|
/**
|
|
124
163
|
* Caches cipher keys by object identifier.
|
|
@@ -128,48 +167,80 @@ export declare class Explorer {
|
|
|
128
167
|
*/
|
|
129
168
|
static readonly cipherKeyCache: Map<string, CipherKey>;
|
|
130
169
|
/**
|
|
131
|
-
* Authenticates a database using a data PIN and device
|
|
170
|
+
* Authenticates a database using a data PIN and an existing device binding.
|
|
132
171
|
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
* new credential. Otherwise, loads the existing credential.
|
|
172
|
+
* Establishes the authenticated database context and records the credential
|
|
173
|
+
* used for authentication.
|
|
136
174
|
*
|
|
137
|
-
*
|
|
175
|
+
* When setup parameters are provided, registers a credential using the
|
|
176
|
+
* supplied virtual entropy or generates new virtual entropy.
|
|
138
177
|
*
|
|
139
|
-
* @param dataPIN The PIN
|
|
140
|
-
* @param storageURL The base URL used to access
|
|
141
|
-
* @param setupParams Optional parameters for
|
|
178
|
+
* @param dataPIN The PIN associated with the database.
|
|
179
|
+
* @param storageURL The base URL used to access database objects.
|
|
180
|
+
* @param setupParams Optional parameters for registering a credential.
|
|
181
|
+
*
|
|
182
|
+
* @param credentialId An optional credential identifier used to restrict credential selection.
|
|
142
183
|
* @returns The authentication result.
|
|
143
184
|
*/
|
|
144
|
-
static authenticate(dataPIN: string, storageURL: URLString, setupParams?: AuthenticationSetupParams): Promise<AuthenticationResult>;
|
|
185
|
+
static authenticate(dataPIN: string, storageURL: URLString, setupParams?: AuthenticationSetupParams, credentialId?: string): Promise<AuthenticationResult>;
|
|
186
|
+
/** The number of consecutive failed database linking PIN attempts. */
|
|
187
|
+
private static failCounter;
|
|
188
|
+
/**
|
|
189
|
+
* Prepares an authenticated database for linking to another device.
|
|
190
|
+
*
|
|
191
|
+
* Verifies the current data PIN and prepares an encrypted transfer
|
|
192
|
+
* containing the information required to access the same database.
|
|
193
|
+
*
|
|
194
|
+
* Repeated PIN failures cause the current page to reload.
|
|
195
|
+
*
|
|
196
|
+
* @param dataPIN The PIN associated with the authenticated database.
|
|
197
|
+
* @param encapsulateKey The key used to establish encryption for the transfer.
|
|
198
|
+
* @returns The key offer and encrypted transfer message, or `false`
|
|
199
|
+
* if the supplied PIN is incorrect.
|
|
200
|
+
*/
|
|
201
|
+
static prepareDatabaseLink(dataPIN: string, encapsulateKey: EncapsulateKey): Promise<[keyOffer: KeyOffer, cipherMessage: CipherMessage] | false>;
|
|
202
|
+
/**
|
|
203
|
+
* Links the current device to an existing database.
|
|
204
|
+
*
|
|
205
|
+
* Accesses the transferred database information, creates a device binding,
|
|
206
|
+
* and registers a credential for the existing database.
|
|
207
|
+
*
|
|
208
|
+
* @param keyOffer The key offer associated with the database link.
|
|
209
|
+
* @param cipherMessage The encrypted database linking message.
|
|
210
|
+
* @param decapsulateKey The key used to establish decryption for the transfer.
|
|
211
|
+
* @param credentialName The display name assigned to the new credential.
|
|
212
|
+
* @param storageURL The base URL used to access database objects.
|
|
213
|
+
* @returns `true` if the database was linked and authenticated;
|
|
214
|
+
* otherwise, `false`.
|
|
215
|
+
*/
|
|
216
|
+
static linkToDatabase(keyOffer: KeyOffer, cipherMessage: CipherMessage, decapsulateKey: DecapsulateKey, credentialName: string, storageURL: URLString): Promise<boolean>;
|
|
145
217
|
/**
|
|
146
|
-
* Permanently revokes a
|
|
218
|
+
* Permanently revokes a registered database credential.
|
|
147
219
|
*
|
|
148
|
-
* Removes the credential
|
|
220
|
+
* Removes the credential's persisted data and registration from
|
|
221
|
+
* the authenticated database.
|
|
149
222
|
*
|
|
150
223
|
* @param credentialID The identifier of the credential to revoke.
|
|
151
224
|
* @throws {ExplorerError} If the database is not authenticated.
|
|
152
225
|
*/
|
|
153
226
|
static permanentlyDeleteCredential(credentialID: string): Promise<void>;
|
|
154
227
|
/**
|
|
155
|
-
* Returns the registered credentials
|
|
228
|
+
* Returns the registered database credentials.
|
|
156
229
|
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* The cleanup function removes the registered change listener, if any.
|
|
230
|
+
* Optionally registers a listener for changes to the credential entries.
|
|
231
|
+
* The returned cleanup function removes the registered listener.
|
|
161
232
|
*
|
|
162
233
|
* @param onChange An optional callback invoked when the entries change.
|
|
163
|
-
* @returns The cleanup function, credential entries, and
|
|
234
|
+
* @returns The cleanup function, credential entries, and identifier
|
|
235
|
+
* of the current session's credential.
|
|
164
236
|
* @throws {ExplorerError} If the database is not authenticated.
|
|
165
237
|
*/
|
|
166
238
|
static listCredentialEntries(onChange?: (splice: CredentialEntriesChange) => void): Promise<[cleanup: () => void, entries: DeepReadonly<Array<CredentialEntry>>, sessionCredentialID: string]>;
|
|
167
239
|
/**
|
|
168
|
-
* Returns the recently accessed objects
|
|
240
|
+
* Returns the recently accessed database objects.
|
|
169
241
|
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* if any.
|
|
242
|
+
* Optionally registers a listener for changes to the recent entries.
|
|
243
|
+
* The returned cleanup function removes the registered listener.
|
|
173
244
|
*
|
|
174
245
|
* @param onChange An optional callback invoked when the entries change.
|
|
175
246
|
* @returns The cleanup function and recent entries.
|
|
@@ -177,9 +248,9 @@ export declare class Explorer {
|
|
|
177
248
|
*/
|
|
178
249
|
static listRecentEntries(onChange?: (splice: RecentEntriesChange) => void): Promise<[cleanup: () => void, entries: DeepReadonly<Array<RecentEntry>>]>;
|
|
179
250
|
/**
|
|
180
|
-
* Loads an encrypted object
|
|
251
|
+
* Loads an encrypted database object by its identifier.
|
|
181
252
|
*
|
|
182
|
-
* Caches the cipher key if
|
|
253
|
+
* Caches the supplied cipher key if no key has been cached for the object.
|
|
183
254
|
*
|
|
184
255
|
* @typeParam T The expected type of the loaded object.
|
|
185
256
|
* @param id The identifier of the object to load.
|
|
@@ -189,9 +260,9 @@ export declare class Explorer {
|
|
|
189
260
|
*/
|
|
190
261
|
static loadObjectByID<T>(id: string, cipherKey: CipherKey, onNetworkResponse?: (data: unknown) => void | Promise<void>): Promise<T | undefined>;
|
|
191
262
|
/**
|
|
192
|
-
* Encrypts and stores
|
|
263
|
+
* Encrypts and stores a database object by its identifier.
|
|
193
264
|
*
|
|
194
|
-
* Caches the cipher key if
|
|
265
|
+
* Caches the supplied cipher key if no key has been cached for the object.
|
|
195
266
|
*
|
|
196
267
|
* @typeParam T The type of the object to store.
|
|
197
268
|
* @param id The identifier of the object to store.
|
|
@@ -200,7 +271,9 @@ export declare class Explorer {
|
|
|
200
271
|
*/
|
|
201
272
|
static storeObjectByID<T>(id: string, object: T, cipherKey: CipherKey): Promise<void>;
|
|
202
273
|
/**
|
|
203
|
-
* Deletes a
|
|
274
|
+
* Deletes a database object by its identifier.
|
|
275
|
+
*
|
|
276
|
+
* Removes the persisted object and its corresponding recent entry.
|
|
204
277
|
*
|
|
205
278
|
* @param id The identifier of the object to delete.
|
|
206
279
|
*/
|
|
@@ -217,8 +290,9 @@ export declare class Explorer {
|
|
|
217
290
|
*/
|
|
218
291
|
static apply(data: unknown): void;
|
|
219
292
|
/**
|
|
220
|
-
* Registers an event listener for the specified event
|
|
293
|
+
* Registers an event listener for the specified Explorer event.
|
|
221
294
|
*
|
|
295
|
+
* @typeParam K The event name that determines the event detail type.
|
|
222
296
|
* @param type The event type.
|
|
223
297
|
* @param listener The event listener, or `null`.
|
|
224
298
|
* @param options The event listener options.
|
|
@@ -228,14 +302,16 @@ export declare class Explorer {
|
|
|
228
302
|
* Removes an event listener previously registered with
|
|
229
303
|
* {@link addEventListener}.
|
|
230
304
|
*
|
|
305
|
+
* @typeParam K The event name that determines the listener type.
|
|
231
306
|
* @param type The event type.
|
|
232
307
|
* @param listener The event listener to remove, or `null`.
|
|
233
308
|
* @param options The event listener options.
|
|
234
309
|
*/
|
|
235
310
|
static removeEventListener<K extends keyof ExplorerEventMap>(type: K, listener: ExplorerEventListenerFor<K> | null, options?: boolean | EventListenerOptions): void;
|
|
236
311
|
/**
|
|
237
|
-
* Dispatches an event to
|
|
312
|
+
* Dispatches an Explorer event to registered listeners.
|
|
238
313
|
*
|
|
314
|
+
* @typeParam K The event name that determines the event detail type.
|
|
239
315
|
* @param type The event type.
|
|
240
316
|
* @param detail The value exposed through `CustomEvent.detail`.
|
|
241
317
|
*/
|
|
@@ -247,6 +323,7 @@ export declare class Explorer {
|
|
|
247
323
|
* @returns Whether the value has a string discriminator.
|
|
248
324
|
*/
|
|
249
325
|
private static isExplorerDelta;
|
|
326
|
+
/** The cached recent entries list. */
|
|
250
327
|
private static recentEntries?;
|
|
251
328
|
/**
|
|
252
329
|
* Loads or returns the cached recent entries list.
|
|
@@ -258,6 +335,7 @@ export declare class Explorer {
|
|
|
258
335
|
* @throws {ExplorerError} If the database is not authenticated.
|
|
259
336
|
*/
|
|
260
337
|
private static loadRecentEntries;
|
|
338
|
+
/** The cached credential entries list. */
|
|
261
339
|
private static credentialEntries?;
|
|
262
340
|
/**
|
|
263
341
|
* Loads or returns the cached credential entries list.
|
|
@@ -270,5 +348,5 @@ export declare class Explorer {
|
|
|
270
348
|
*/
|
|
271
349
|
private static loadCredentialEntries;
|
|
272
350
|
}
|
|
273
|
-
export {};
|
|
351
|
+
export type { ExplorerErrorCode };
|
|
274
352
|
//# sourceMappingURL=class.d.ts.map
|
package/dist/class.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"class.d.ts","names":[],"sources":["../src/RecentEntries/class.ts","../src/CredentialEntries/class.ts","../src/.types/type.ts","../src/class.ts"],"mappings":";;;;;;;;;KAsBY;;EAEV;;EAGA;;EAGA,WAAW;;EAGX;;;;;KAMU,qBAAqB,2BACb,aAAa,oBAAoB;;;;KAMzC,sBAAsB,aAChC,qBAAqB;;;;
|
|
1
|
+
{"version":3,"file":"class.d.ts","names":[],"sources":["../src/RecentEntries/class.ts","../src/CredentialEntries/class.ts","../src/.types/type.ts","../src/.errors/class.ts","../src/class.ts"],"mappings":";;;;;;;;;KAsBY;;EAEV;;EAGA;;EAGA,WAAW;;EAGX;;;;;KAMU,qBAAqB,2BACb,aAAa,oBAAoB;;;;KAMzC,sBAAsB,aAChC,qBAAqB;;;;KCpBX;;EAEV;;EAGA,SAAS;;EAGT,SAAS;;EAGT;;EAGA;;EAGA;;EAGA,YAAY;;IAEV;;IAGA;;;;;;KAqCQ,yBAAyB,+BACb,aAAa,oBAAoB;;;;KAM7C,0BAA0B,aACpC,qBAAqB;;;;YC1FX;;;;;;;;;;YAWA,4BAA4B;;EAEtC;;EAGA,iBAAiB;;EAGjB,gBAAgB;;;;;;;;YASN,gBACV,qBAAqB;;;;YAKX;;EAEV;;EAGA,OAAO;;;;;;;YAQG,sBAAsB,gBAAgB,sBAC5C,OAAO,YAAY,iBAAiB;EACpC,YAAY,OAAO,YAAY,iBAAiB;;;;;;;YAO1C,yBAAyB,oBACnC,gBAAgB,mBACZ,sBAAsB,KACtB;;KCjEM;;;;;;;;;;;;;;;qBAgBC,sBAAsB;;WAExB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