@fedify/fedify 0.12.0 → 0.13.0-dev.311

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,6 @@
1
+ import { getLogger } from "@logtape/logtape";
1
2
  import { Link as LinkObject } from "../vocab/mod.js";
3
+ const logger = getLogger(["fedify", "webfinger", "server"]);
2
4
  /**
3
5
  * Handles a WebFinger request. You would not typically call this function
4
6
  * directly, but instead use {@link Federation.handle} method.
@@ -35,9 +37,15 @@ export async function handleWebFinger(request, { context, actorDispatcher, onNot
35
37
  else {
36
38
  handle = uriParsed.handle;
37
39
  }
38
- const actor = await context.getActor(handle);
39
- if (actor == null)
40
+ if (actorDispatcher == null) {
41
+ logger.error("Actor dispatcher is not set.", { handle });
40
42
  return await onNotFound(request);
43
+ }
44
+ const actor = await actorDispatcher(context, handle);
45
+ if (actor == null) {
46
+ logger.error("Actor {handle} not found.", { handle });
47
+ return await onNotFound(request);
48
+ }
41
49
  const links = [
42
50
  {
43
51
  rel: "self",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "0.12.0",
3
+ "version": "0.13.0-dev.311+4c301514",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -18,11 +18,8 @@ export type NodeInfoDispatcher<TContextData> = (context: RequestContext<TContext
18
18
  * @typeParam TContextData The context data to pass to the {@link Context}.
19
19
  * @param context The request context.
20
20
  * @param handle The actor's handle.
21
- * @param key The public key of the actor. **Deprecated: Do not rely on this
22
- * parameter. Instead, use the {@link Context.getActorKeyPairs}
23
- * method.**
24
21
  */
25
- export type ActorDispatcher<TContextData> = (context: RequestContext<TContextData>, handle: string, key: CryptographicKey | null) => Actor | null | Promise<Actor | null>;
22
+ export type ActorDispatcher<TContextData> = (context: RequestContext<TContextData>, handle: string) => Actor | null | Promise<Actor | null>;
26
23
  /**
27
24
  * A callback that dispatches key pairs for an actor.
28
25
  *
@@ -33,13 +30,6 @@ export type ActorDispatcher<TContextData> = (context: RequestContext<TContextDat
33
30
  * @since 0.10.0
34
31
  */
35
32
  export type ActorKeyPairsDispatcher<TContextData> = (context: Context<TContextData>, handle: string) => dntShim.CryptoKeyPair[] | Promise<dntShim.CryptoKeyPair[]>;
36
- /**
37
- * A callback that dispatches a key pair for an actor.
38
- *
39
- * @typeParam TContextData The context data to pass to the {@link Context}.
40
- * @deprecated
41
- */
42
- export type ActorKeyPairDispatcher<TContextData> = (contextData: TContextData, handle: string) => dntShim.CryptoKeyPair | null | Promise<dntShim.CryptoKeyPair | null>;
43
33
  /**
44
34
  * A callback that dispatches an object.
45
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../src/federation/callback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,CAAC,YAAY,IAAI,CAC7C,OAAO,EAAE,cAAc,CAAC,YAAY,CAAC,KAClC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAElC;;;;;;;;;GASG;AACH,MAAM,MAAM,eAAe,CAAC,YAAY,IAAI,CAC1C,OAAO,EAAE,cAAc,CAAC,YAAY,CAAC,EACrC,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,gB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M,EACd,SAAS,EAAE,gBAAgB,GAAG,IAAI,EAClC,cAAc,EAAE,KAAK,GAAG,IAAI,KACzB,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;AAEhC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,wBAAwB,CAAC,YAAY,EAAE,MAAM,SAAS,MAAM,IAAI,CAC1E,OAAO,EAAE,cAAc,CAAC,YAAY,CAAC,EACrC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,SAAS,EAAE,gBAAgB,GAAG,IAAI,EAClC,cAAc,EAAE,KAAK,GAAG,IAAI,KACzB,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC"}
@@ -138,14 +138,6 @@ export interface Context<TContextData> {
138
138
  * @since 0.10.0
139
139
  */
140
140
  getActorKeyPairs(handle: string): Promise<ActorKeyPair[]>;
141
- /**
142
- * Gets a public RSA-PKCS#1-v1.5 {@link CryptographicKey} for an actor,
143
- * if any exists.
144
- * @param handle The actor's handle.
145
- * @returns The actor's public key, or `null` if the actor has no key.
146
- * @deprecated Use {@link Context.getActorKeyPairs} instead.
147
- */
148
- getActorKey(handle: string): Promise<CryptographicKey | null>;
149
141
  /**
150
142
  * Gets an authenticated {@link DocumentLoader} for the given identity.
151
143
  * Note that an authenticated document loader intentionally does not cache
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/federation/context.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EACV,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACP,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CA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CAAC,QAAQ,GAAG,IAAI,CAAC,CAK1B"}
@@ -4,12 +4,11 @@ import * as dntShim from "../_dnt.shims.js";
4
4
  import { type AuthenticatedDocumentLoaderFactory, type DocumentLoader } from "../runtime/docloader.js";
5
5
  import type { Actor, Recipient } from "../vocab/actor.js";
6
6
  import { Activity, type Hashtag, type Like, type Object } from "../vocab/vocab.js";
7
- import type { ActorDispatcher, ActorKeyPairDispatcher, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler, InboxListener, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectDispatcher, OutboxErrorHandler, SharedInboxKeyDispatcher } from "./callback.js";
8
- import type { Context, RequestContext, SendActivityOptions } from "./context.js";
7
+ import type { ActorDispatcher, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler, InboxListener, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectDispatcher, OutboxErrorHandler, SharedInboxKeyDispatcher } from "./callback.js";
8
+ import type { Context, RequestContext } from "./context.js";
9
9
  import type { KvKey, KvStore } from "./kv.js";
10
10
  import type { MessageQueue } from "./mq.js";
11
11
  import { type RetryPolicy } from "./retry.js";
12
- import { type SenderKeyPair } from "./send.js";
13
12
  /**
14
13
  * Options for {@link createFederation} function.
15
14
  * @since 0.10.0
@@ -97,64 +96,6 @@ export interface CreateFederationOptions {
97
96
  */
98
97
  trailingSlashInsensitive?: boolean;
99
98
  }
100
- /**
101
- * Parameters for initializing a {@link Federation} instance.
102
- * @deprecated
103
- */
104
- export interface FederationParameters extends Omit<CreateFederationOptions, "outboxRetryPolicy" | "inboxRetryPolicy"> {
105
- /**
106
- * The message queue for sending activities to recipients' inboxes.
107
- * If not provided, activities will not be queued and will be sent
108
- * immediately.
109
- * @since 0.5.0
110
- */
111
- queue?: MessageQueue;
112
- /**
113
- * A custom JSON-LD context loader. By default, this uses the same loader
114
- * as the document loader.
115
- * @since 0.8.0
116
- */
117
- contextLoader?: DocumentLoader;
118
- /**
119
- * A factory function that creates an authenticated document loader for a
120
- * given identity. This is used for fetching documents that require
121
- * authentication.
122
- *
123
- * @since 0.4.0
124
- */
125
- authenticatedDocumentLoaderFactory?: AuthenticatedDocumentLoaderFactory;
126
- /**
127
- * A callback that handles errors during outbox processing. Note that this
128
- * callback can be called multiple times for the same activity, because
129
- * the delivery is retried according to the backoff schedule until it
130
- * succeeds or reaches the maximum retry count.
131
- *
132
- * If any errors are thrown in this callback, they are ignored.
133
- *
134
- * @since 0.6.0
135
- */
136
- onOutboxError?: OutboxErrorHandler;
137
- /**
138
- * The time window for verifying the signature of incoming requests. If the
139
- * request is older or newer than this window, it is rejected. By default,
140
- * the window is a minute.
141
- */
142
- signatureTimeWindow?: dntShim.Temporal.DurationLike;
143
- /**
144
- * Whether to treat HTTP requests as HTTPS. This is useful for testing and
145
- * local development. However, it must be disabled in production.
146
- * Turned off by default.
147
- *
148
- * Note that this option is deprecated and will be removed in a future
149
- * release. Instead, use the [x-forwarded-fetch] library to recognize
150
- * the `X-Forwarded-Host` and `X-Forwarded-Proto` headers.
151
- *
152
- * [x-forwarded-fetch]: https://github.com/dahlia/x-forwarded-fetch
153
- *
154
- * @deprecated
155
- */
156
- treatHttps?: boolean;
157
- }
158
99
  /**
159
100
  * Prefixes for namespacing keys in the Deno KV store.
160
101
  */
@@ -176,35 +117,22 @@ export interface FederationKvPrefixes {
176
117
  */
177
118
  publicKey: KvKey;
178
119
  }
179
- /**
180
- * Create a new {@link Federation} instance.
181
- * @param parameters Parameters for initializing the instance.
182
- * @returns A new {@link Federation} instance.
183
- * @since 0.10.0
184
- */
185
- export declare function createFederation<TContextData>(options: CreateFederationOptions): Federation<TContextData>;
186
120
  /**
187
121
  * An object that registers federation-related business logic and dispatches
188
122
  * requests to the appropriate handlers.
189
123
  *
190
124
  * It also provides a middleware interface for handling requests before your
191
- * web framework's router; see {@link Federation.handle}.
125
+ * web framework's router; see {@link Federation.fetch}.
126
+ *
127
+ * @since 0.13.0
192
128
  */
193
- export declare class Federation<TContextData> {
194
- #private;
195
- /**
196
- * Create a new {@link Federation} instance.
197
- * @param parameters Parameters for initializing the instance.
198
- * @deprecated Use {@link createFederation} method instead.
199
- */
200
- constructor(parameters: FederationParameters);
129
+ export interface Federation<TContextData> {
201
130
  /**
202
131
  * Manually start the task queue.
203
132
  *
204
133
  * This method is useful when you set the `manuallyStartQueue` option to
205
134
  * `true` in the {@link createFederation} function.
206
135
  * @param contextData The context data to pass to the context.
207
- * @since 0.12.0
208
136
  */
209
137
  startQueue(contextData: TContextData): Promise<void>;
210
138
  /**
@@ -230,7 +158,6 @@ export declare class Federation<TContextData> {
230
158
  * must have no variables.
231
159
  * @param dispatcher A NodeInfo dispatcher callback to register.
232
160
  * @throws {RouterError} Thrown if the path pattern is invalid.
233
- * @since 0.2.0
234
161
  */
235
162
  setNodeInfoDispatcher(path: string, dispatcher: NodeInfoDispatcher<TContextData>): void;
236
163
  /**
@@ -271,7 +198,6 @@ export declare class Federation<TContextData> {
271
198
  * ([RFC 6570](https://tools.ietf.org/html/rfc6570)). The path
272
199
  * must have one or more variables.
273
200
  * @param dispatcher An object dispatcher callback to register.
274
- * @since 0.7.0
275
201
  */
276
202
  setObjectDispatcher<TObject extends Object, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
277
203
  typeId: URL;
@@ -288,7 +214,6 @@ export declare class Federation<TContextData> {
288
214
  * ([RFC 6570](https://tools.ietf.org/html/rfc6570)). The path
289
215
  * must have one or more variables.
290
216
  * @param dispatcher An object dispatcher callback to register.
291
- * @since 0.7.0
292
217
  */
293
218
  setObjectDispatcher<TObject extends Object, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
294
219
  typeId: URL;
@@ -305,7 +230,6 @@ export declare class Federation<TContextData> {
305
230
  * ([RFC 6570](https://tools.ietf.org/html/rfc6570)). The path
306
231
  * must have one or more variables.
307
232
  * @param dispatcher An object dispatcher callback to register.
308
- * @since 0.7.0
309
233
  */
310
234
  setObjectDispatcher<TObject extends Object, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
311
235
  typeId: URL;
@@ -322,7 +246,6 @@ export declare class Federation<TContextData> {
322
246
  * ([RFC 6570](https://tools.ietf.org/html/rfc6570)). The path
323
247
  * must have one or more variables.
324
248
  * @param dispatcher An object dispatcher callback to register.
325
- * @since 0.7.0
326
249
  */
327
250
  setObjectDispatcher<TObject extends Object, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
328
251
  typeId: URL;
@@ -339,7 +262,6 @@ export declare class Federation<TContextData> {
339
262
  * ([RFC 6570](https://tools.ietf.org/html/rfc6570)). The path
340
263
  * must have one or more variables.
341
264
  * @param dispatcher An object dispatcher callback to register.
342
- * @since 0.7.0
343
265
  */
344
266
  setObjectDispatcher<TObject extends Object, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
345
267
  typeId: URL;
@@ -356,7 +278,6 @@ export declare class Federation<TContextData> {
356
278
  * ([RFC 6570](https://tools.ietf.org/html/rfc6570)). The path
357
279
  * must have one or more variables.
358
280
  * @param dispatcher An object dispatcher callback to register.
359
- * @since 0.7.0
360
281
  */
361
282
  setObjectDispatcher<TObject extends Object, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
362
283
  typeId: URL;
@@ -371,7 +292,6 @@ export declare class Federation<TContextData> {
371
292
  * listener path.
372
293
  * @param dispatcher An inbox dispatcher callback to register.
373
294
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
374
- * @since 0.11.0
375
295
  */
376
296
  setInboxDispatcher(path: `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Activity, TContextData, void>): CollectionCallbackSetters<TContextData, void>;
377
297
  /**
@@ -432,7 +352,6 @@ export declare class Federation<TContextData> {
432
352
  * @returns An object with methods to set other liked collection
433
353
  * callbacks.
434
354
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
435
- * @since 0.11.0
436
355
  */
437
356
  setLikedDispatcher(path: `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Like, TContextData, void>): CollectionCallbackSetters<TContextData, void>;
438
357
  /**
@@ -445,7 +364,6 @@ export declare class Federation<TContextData> {
445
364
  * @returns An object with methods to set other featured collection
446
365
  * callbacks.
447
366
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
448
- * @since 0.11.0
449
367
  */
450
368
  setFeaturedDispatcher(path: `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Object, TContextData, void>): CollectionCallbackSetters<TContextData, void>;
451
369
  /**
@@ -458,7 +376,6 @@ export declare class Federation<TContextData> {
458
376
  * @returns An object with methods to set other featured tags collection
459
377
  * callbacks.
460
378
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
461
- * @since 0.11.0
462
379
  */
463
380
  setFeaturedTagsDispatcher(path: `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Hashtag, TContextData, void>): CollectionCallbackSetters<TContextData, void>;
464
381
  /**
@@ -492,18 +409,6 @@ export declare class Federation<TContextData> {
492
409
  * @throws {RouteError} Thrown if the path pattern is invalid.
493
410
  */
494
411
  setInboxListeners(inboxPath: `${string}{handle}${string}`, sharedInboxPath?: string): InboxListenerSetters<TContextData>;
495
- /**
496
- * Sends an activity to recipients' inboxes. You would typically use
497
- * {@link Context.sendActivity} instead of this method.
498
- *
499
- * @param keys The sender's key pairs.
500
- * @param recipients The recipients of the activity.
501
- * @param activity The activity to send.
502
- * @param options Options for sending the activity.
503
- * @throws {TypeError} If the activity to send does not have an actor.
504
- * @deprecated Use {@link Context.sendActivity} instead.
505
- */
506
- sendActivity(keys: SenderKeyPair[], recipients: Recipient | Recipient[], activity: Activity, options: SendActivityInternalOptions<TContextData>): Promise<void>;
507
412
  /**
508
413
  * Handles a request related to federation. If a request is not related to
509
414
  * federation, the `onNotFound` or `onNotAcceptable` callback is called.
@@ -514,10 +419,16 @@ export declare class Federation<TContextData> {
514
419
  * @param request The request object.
515
420
  * @param parameters The parameters for handling the request.
516
421
  * @returns The response to the request.
517
- * @since 0.6.0
518
422
  */
519
423
  fetch(request: Request, options: FederationFetchOptions<TContextData>): Promise<Response>;
520
424
  }
425
+ /**
426
+ * Create a new {@link Federation} instance.
427
+ * @param parameters Parameters for initializing the instance.
428
+ * @returns A new {@link Federation} instance.
429
+ * @since 0.10.0
430
+ */
431
+ export declare function createFederation<TContextData>(options: CreateFederationOptions): Federation<TContextData>;
521
432
  /**
522
433
  * Parameters of {@link Federation.fetch} method.
523
434
  *
@@ -573,15 +484,6 @@ export interface ActorCallbackSetters<TContextData> {
573
484
  * @since 0.10.0
574
485
  */
575
486
  setKeyPairsDispatcher(dispatcher: ActorKeyPairsDispatcher<TContextData>): ActorCallbackSetters<TContextData>;
576
- /**
577
- * Sets the RSA-PKCS#1-v1.5 key pair dispatcher for actors.
578
- *
579
- * Use {@link ActorCallbackSetters.setKeyPairsDispatcher} instead.
580
- * @param dispatcher A callback that returns the key pair for an actor.
581
- * @returns The setters object so that settings can be chained.
582
- * @deprecated Use {@link ActorCallbackSetters.setKeyPairsDispatcher} instead.
583
- */
584
- setKeyPairDispatcher(dispatcher: ActorKeyPairDispatcher<TContextData>): ActorCallbackSetters<TContextData>;
585
487
  /**
586
488
  * Specifies the conditions under which requests are authorized.
587
489
  * @param predicate A callback that returns whether a request is authorized.
@@ -666,9 +568,4 @@ export interface InboxListenerSetters<TContextData> {
666
568
  */
667
569
  setSharedKeyDispatcher(dispatcher: SharedInboxKeyDispatcher<TContextData>): InboxListenerSetters<TContextData>;
668
570
  }
669
- interface SendActivityInternalOptions<TContextData> extends SendActivityOptions {
670
- collectionSync?: string;
671
- contextData: TContextData;
672
- }
673
- export {};
674
571
  //# sourceMappingURL=middleware.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,cAAc,EAIpB,MAAM,yBAAy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AAED,wBAAgB,oBAAoB,CAAC,YAAY,EAC/C,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,GAAG;IAC5C,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,YAAY,CAAC;CACpB,GACA,cAAc,CAAC,YAAY,CAAC,CAa9B"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/testing/context.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAIxE,wBAAgB,aAAa,CAAC,YAAY,EACxC,EACE,GAAG,EACH,IAAI,EACJ,cAAc,EACd,aAAa,EACb,cAAc,EACd,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,GACb,EAAE,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC;IAAC,IAAI,EAAE,YAAY,CAAA;CAAE,GACpE,OAAO,CAAC,YAAY,CAAC,CAiCvB;AAED,wBAAgB,oBAAoB,CAAC,YAAY,EAC/C,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,GAAG;IAC5C,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,YAAY,CAAC;CACpB,GACA,cAAc,CAAC,YAAY,CAAC,CAa9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../src/webfinger/handler.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI/D;;GAEG;AACH,MAAM,WAAW,0BAA0B,CAAC,YAAY;IACtD;;OA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