@daiso-tech/core 0.47.0 → 0.48.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.
Files changed (37) hide show
  1. package/dist/cache/contracts/cache.contract.d.ts +3 -1
  2. package/dist/cache/implementations/derivables/cache/cache.d.ts +3 -32
  3. package/dist/cache/implementations/derivables/cache/cache.js +2 -41
  4. package/dist/cache/implementations/derivables/cache/cache.js.map +1 -1
  5. package/dist/cache/implementations/test-utilities/cache.test-suite.js +38 -38
  6. package/dist/cache/implementations/test-utilities/cache.test-suite.js.map +1 -1
  7. package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.js +1 -1
  8. package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.js.map +1 -1
  9. package/dist/circuit-breaker/contracts/circuit-breaker-provider.contract.d.ts +3 -1
  10. package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker-provider.d.ts +3 -9
  11. package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker-provider.js +2 -18
  12. package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker-provider.js.map +1 -1
  13. package/dist/collection/contracts/collection.contract.d.ts +12 -12
  14. package/dist/collection/contracts/collection.contract.js.map +1 -1
  15. package/dist/lock/contracts/lock-provider.contract.d.ts +3 -1
  16. package/dist/lock/implementations/derivables/lock-provider/lock-provider.d.ts +3 -33
  17. package/dist/lock/implementations/derivables/lock-provider/lock-provider.js +2 -42
  18. package/dist/lock/implementations/derivables/lock-provider/lock-provider.js.map +1 -1
  19. package/dist/lock/implementations/test-utilities/lock-provider.test-suite.js +58 -58
  20. package/dist/lock/implementations/test-utilities/lock-provider.test-suite.js.map +1 -1
  21. package/dist/rate-limiter/contracts/rate-limiter-provider.contract.d.ts +3 -1
  22. package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/rate-limiter-provider.d.ts +3 -9
  23. package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/rate-limiter-provider.js +2 -18
  24. package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/rate-limiter-provider.js.map +1 -1
  25. package/dist/semaphore/contracts/semaphore-provider.contract.d.ts +3 -1
  26. package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-provider.d.ts +3 -33
  27. package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-provider.js +2 -42
  28. package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-provider.js.map +1 -1
  29. package/dist/semaphore/implementations/test-utilities/semaphore-provider.test-suite.js +57 -57
  30. package/dist/semaphore/implementations/test-utilities/semaphore-provider.test-suite.js.map +1 -1
  31. package/dist/shared-lock/contracts/shared-lock-provider.contract.d.ts +3 -1
  32. package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-provider.d.ts +3 -33
  33. package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-provider.js +2 -42
  34. package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-provider.js.map +1 -1
  35. package/dist/shared-lock/implementations/test-utilities/shared-lock-provider.test-suite.js +117 -117
  36. package/dist/shared-lock/implementations/test-utilities/shared-lock-provider.test-suite.js.map +1 -1
  37. package/package.json +2 -2
@@ -4,13 +4,13 @@
4
4
  import { type StandardSchemaV1 } from "@standard-schema/spec";
5
5
  import { type Comparator, type PredicateInvokable, type ForEach, type Map, type Modifier, type Tap, type Transform, type Reduce, type CrossJoinResult, type EnsureMap, type EnsureRecord } from "../../collection/contracts/_shared/_module.js";
6
6
  import { type ISerializable } from "../../serde/contracts/_module.js";
7
- import { type Lazyable } from "../../utilities/_module.js";
7
+ import { type IterableValue, type Lazyable } from "../../utilities/_module.js";
8
8
  /**
9
9
  *
10
10
  * IMPORT_PATH: `"@daiso-tech/core/collection/contracts"`
11
11
  * @group Contracts
12
12
  */
13
- export type Collapse<TValue> = TValue extends Array<infer TItem> | Iterable<infer TItem> | ICollection<infer TItem> ? TItem : TValue;
13
+ export type Collapse<TValue> = TValue extends Array<infer TItem> | IterableValue<infer TItem> | ICollection<infer TItem> ? TItem : TValue;
14
14
  /**
15
15
  *
16
16
  * IMPORT_PATH: `"@daiso-tech/core/collection/contracts"`
@@ -203,7 +203,7 @@ export type ICollection<TInput = unknown> = Iterable<TInput> & ISerializable<Ser
203
203
  * }
204
204
  * ```
205
205
  */
206
- flatMap<TOutput>(mapFn: Map<TInput, ICollection<TInput>, Iterable<TOutput>>): ICollection<TOutput>;
206
+ flatMap<TOutput>(mapFn: Map<TInput, ICollection<TInput>, IterableValue<TOutput>>): ICollection<TOutput>;
207
207
  /**
208
208
  * The `change` method changes only the items that passes `predicateFn` using `mapFn`.
209
209
  * @example
@@ -1023,7 +1023,7 @@ export type ICollection<TInput = unknown> = Iterable<TInput> & ISerializable<Ser
1023
1023
  * }
1024
1024
  * ```
1025
1025
  */
1026
- difference<TOutput = TInput>(iterable: Iterable<TInput>, selectFn?: Map<TInput, ICollection<TInput>, TOutput>): ICollection<TInput>;
1026
+ difference<TOutput = TInput>(iterable: IterableValue<TInput>, selectFn?: Map<TInput, ICollection<TInput>, TOutput>): ICollection<TInput>;
1027
1027
  /**
1028
1028
  * The `repeat` method will repeat the original collection `amount` times.
1029
1029
  * @example
@@ -1088,7 +1088,7 @@ export type ICollection<TInput = unknown> = Iterable<TInput> & ISerializable<Ser
1088
1088
  * }
1089
1089
  * ```
1090
1090
  */
1091
- padStart<TExtended = TInput>(maxLength: number, fillItems: Iterable<TExtended>): ICollection<TInput | TExtended>;
1091
+ padStart<TExtended = TInput>(maxLength: number, fillItems: IterableValue<TExtended>): ICollection<TInput | TExtended>;
1092
1092
  /**
1093
1093
  * The `padEnd` method pads this collection with `fillItems` until the resulting collection size reaches `maxLength`.
1094
1094
  * The padding is applied from the end of this collection.
@@ -1146,7 +1146,7 @@ export type ICollection<TInput = unknown> = Iterable<TInput> & ISerializable<Ser
1146
1146
  * }
1147
1147
  * ```
1148
1148
  */
1149
- padEnd<TExtended = TInput>(maxLength: number, fillItems: Iterable<TExtended>): ICollection<TInput | TExtended>;
1149
+ padEnd<TExtended = TInput>(maxLength: number, fillItems: IterableValue<TExtended>): ICollection<TInput | TExtended>;
1150
1150
  /**
1151
1151
  * The `slice` method creates porition of the original collection selected from `start` and `end`
1152
1152
  * where `start` and `end` (end not included) represent the index of items in the collection.
@@ -1246,7 +1246,7 @@ export type ICollection<TInput = unknown> = Iterable<TInput> & ISerializable<Ser
1246
1246
  * }
1247
1247
  * ```
1248
1248
  */
1249
- prepend<TExtended = TInput>(iterable: Iterable<TInput | TExtended>): ICollection<TInput | TExtended>;
1249
+ prepend<TExtended = TInput>(iterable: IterableValue<TInput | TExtended>): ICollection<TInput | TExtended>;
1250
1250
  /**
1251
1251
  * The `append` method adds `iterable` to the end of the collection.
1252
1252
  * @example
@@ -1263,7 +1263,7 @@ export type ICollection<TInput = unknown> = Iterable<TInput> & ISerializable<Ser
1263
1263
  * }
1264
1264
  * ```
1265
1265
  */
1266
- append<TExtended = TInput>(iterable: Iterable<TInput | TExtended>): ICollection<TInput | TExtended>;
1266
+ append<TExtended = TInput>(iterable: IterableValue<TInput | TExtended>): ICollection<TInput | TExtended>;
1267
1267
  /**
1268
1268
  * The `insertBefore` method adds `iterable` before the first item that matches `predicateFn`.
1269
1269
  * @example
@@ -1280,7 +1280,7 @@ export type ICollection<TInput = unknown> = Iterable<TInput> & ISerializable<Ser
1280
1280
  * }
1281
1281
  * ```
1282
1282
  */
1283
- insertBefore<TExtended = TInput>(predicateFn: PredicateInvokable<TInput, ICollection<TInput>>, iterable: Iterable<TInput | TExtended>): ICollection<TInput | TExtended>;
1283
+ insertBefore<TExtended = TInput>(predicateFn: PredicateInvokable<TInput, ICollection<TInput>>, iterable: IterableValue<TInput | TExtended>): ICollection<TInput | TExtended>;
1284
1284
  /**
1285
1285
  * The `insertAfter` method adds `iterable` after the first item that matches `predicateFn`.
1286
1286
  * @example
@@ -1297,7 +1297,7 @@ export type ICollection<TInput = unknown> = Iterable<TInput> & ISerializable<Ser
1297
1297
  * }
1298
1298
  * ```
1299
1299
  */
1300
- insertAfter<TExtended = TInput>(predicateFn: PredicateInvokable<TInput, ICollection<TInput>>, iterable: Iterable<TInput | TExtended>): ICollection<TInput | TExtended>;
1300
+ insertAfter<TExtended = TInput>(predicateFn: PredicateInvokable<TInput, ICollection<TInput>>, iterable: IterableValue<TInput | TExtended>): ICollection<TInput | TExtended>;
1301
1301
  /**
1302
1302
  * The `crossJoin` method cross joins the collection's values among `iterables`, returning a Cartesian product with all possible permutations.
1303
1303
  * @example
@@ -1342,7 +1342,7 @@ export type ICollection<TInput = unknown> = Iterable<TInput> & ISerializable<Ser
1342
1342
  * }
1343
1343
  * ```
1344
1344
  */
1345
- crossJoin<TExtended>(iterable: Iterable<TExtended>): ICollection<CrossJoinResult<TInput, TExtended>>;
1345
+ crossJoin<TExtended>(iterable: IterableValue<TExtended>): ICollection<CrossJoinResult<TInput, TExtended>>;
1346
1346
  /**
1347
1347
  * The `zip` method merges together the values of `iterable` with the values of the collection at their corresponding index.
1348
1348
  * The returned collection has size of the shortest collection.
@@ -1386,7 +1386,7 @@ export type ICollection<TInput = unknown> = Iterable<TInput> & ISerializable<Ser
1386
1386
  * }
1387
1387
  * ```
1388
1388
  */
1389
- zip<TExtended>(iterable: Iterable<TExtended>): ICollection<[TInput, TExtended]>;
1389
+ zip<TExtended>(iterable: IterableValue<TExtended>): ICollection<[TInput, TExtended]>;
1390
1390
  /**
1391
1391
  * The `sort` method sorts the collection. You can provide a `comparator` function.
1392
1392
  * @example
@@ -1 +1 @@
1
- {"version":3,"file":"collection.contract.js","sourceRoot":"","sources":["../../../src/collection/contracts/collection.contract.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAyB,MAAM,uBAAuB,CAAC;AAE9D,OAAO,EAYN,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAON,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAsB,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAiB,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"collection.contract.js","sourceRoot":"","sources":["../../../src/collection/contracts/collection.contract.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAyB,MAAM,uBAAuB,CAAC;AAE9D,OAAO,EAYN,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAON,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAsB,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAqC,MAAM,wBAAwB,CAAC"}
@@ -45,4 +45,6 @@ export type ILockProviderBase = {
45
45
  * IMPORT_PATH: `"@daiso-tech/core/lock/contracts"`
46
46
  * @group Contracts
47
47
  */
48
- export type ILockProvider = ILockListenable & ILockProviderBase;
48
+ export type ILockProvider = ILockProviderBase & {
49
+ readonly events: ILockListenable;
50
+ };
@@ -1,11 +1,10 @@
1
1
  /**
2
2
  * @module Lock
3
3
  */
4
- import { type EventListener, type IEventBus, type Unsubscribe } from "../../../../event-bus/contracts/_module.js";
5
- import { type ILock, type LockProviderCreateSettings, type ILockProvider, type LockAdapterVariants, type LockEventMap } from "../../../../lock/contracts/_module.js";
4
+ import { type IEventBus } from "../../../../event-bus/contracts/_module.js";
5
+ import { type ILock, type LockProviderCreateSettings, type ILockProvider, type LockAdapterVariants, type ILockListenable } from "../../../../lock/contracts/_module.js";
6
6
  import { type INamespace } from "../../../../namespace/contracts/_module.js";
7
7
  import { type ISerderRegister } from "../../../../serde/contracts/_module.js";
8
- import { type ITask } from "../../../../task/contracts/_module.js";
9
8
  import { type ITimeSpan } from "../../../../time-span/contracts/_module.js";
10
9
  import { type OneOrMore, type Invokable } from "../../../../utilities/_module.js";
11
10
  /**
@@ -157,36 +156,7 @@ export declare class LockProvider implements ILockProvider {
157
156
  */
158
157
  constructor(settings: LockProviderSettings);
159
158
  private registerToSerde;
160
- /**
161
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
162
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
163
- */
164
- addListener<TEventName extends keyof LockEventMap>(eventName: TEventName, listener: EventListener<LockEventMap[TEventName]>): ITask<void>;
165
- /**
166
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
167
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
168
- */
169
- removeListener<TEventName extends keyof LockEventMap>(eventName: TEventName, listener: EventListener<LockEventMap[TEventName]>): ITask<void>;
170
- /**
171
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
172
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
173
- */
174
- listenOnce<TEventName extends keyof LockEventMap>(eventName: TEventName, listener: EventListener<LockEventMap[TEventName]>): ITask<void>;
175
- /**
176
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
177
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
178
- */
179
- asTask<TEventName extends keyof LockEventMap>(eventName: TEventName): ITask<LockEventMap[TEventName]>;
180
- /**
181
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
182
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
183
- */
184
- subscribeOnce<TEventName extends keyof LockEventMap>(eventName: TEventName, listener: EventListener<LockEventMap[TEventName]>): ITask<Unsubscribe>;
185
- /**
186
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
187
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
188
- */
189
- subscribe<TEventName extends keyof LockEventMap>(eventName: TEventName, listener: EventListener<LockEventMap[TEventName]>): ITask<Unsubscribe>;
159
+ get events(): ILockListenable;
190
160
  /**
191
161
  * @example
192
162
  * ```ts
@@ -14,7 +14,6 @@ import { NoOpNamespace } from "../../../../namespace/implementations/_module.js"
14
14
  import {} from "../../../../serde/contracts/_module.js";
15
15
  import { NoOpSerdeAdapter } from "../../../../serde/implementations/adapters/_module.js";
16
16
  import { Serde } from "../../../../serde/implementations/derivables/_module.js";
17
- import {} from "../../../../task/contracts/_module.js";
18
17
  import {} from "../../../../time-span/contracts/_module.js";
19
18
  import { TimeSpan } from "../../../../time-span/implementations/_module.js";
20
19
  import { CORE, resolveOneOrMore, callInvokable, } from "../../../../utilities/_module.js";
@@ -100,47 +99,8 @@ export class LockProvider {
100
99
  serde.registerCustom(transformer, CORE);
101
100
  }
102
101
  }
103
- /**
104
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
105
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
106
- */
107
- addListener(eventName, listener) {
108
- return this.eventBus.addListener(eventName, listener);
109
- }
110
- /**
111
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
112
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
113
- */
114
- removeListener(eventName, listener) {
115
- return this.eventBus.removeListener(eventName, listener);
116
- }
117
- /**
118
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
119
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
120
- */
121
- listenOnce(eventName, listener) {
122
- return this.eventBus.listenOnce(eventName, listener);
123
- }
124
- /**
125
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
126
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
127
- */
128
- asTask(eventName) {
129
- return this.eventBus.asTask(eventName);
130
- }
131
- /**
132
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
133
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
134
- */
135
- subscribeOnce(eventName, listener) {
136
- return this.eventBus.subscribeOnce(eventName, listener);
137
- }
138
- /**
139
- * You can listen to the following {@link LockEventMap | `LockEventMap`} of all {@link ILock | `ILock`} instances created by the {@link ILockProvider | `ILockProvider`}.
140
- * To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
141
- */
142
- subscribe(eventName, listener) {
143
- return this.eventBus.subscribe(eventName, listener);
102
+ get events() {
103
+ return this.eventBus;
144
104
  }
145
105
  /**
146
106
  * @example
@@ -1 +1 @@
1
- {"version":3,"file":"lock-provider.js","sourceRoot":"","sources":["../../../../../src/lock/implementations/derivables/lock-provider/lock-provider.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAE1B,OAAO,EAMN,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAUN,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2EAA2E,CAAC;AACjH,OAAO,EAAE,IAAI,EAAE,MAAM,yDAAyD,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,yEAAyE,CAAC;AAC7G,OAAO,EAAmB,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAwB,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,+CAA+C,CAAC;AACtE,OAAO,EAAc,MAAM,6BAA6B,CAA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AI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,GAAG,CAAC;YACrD,oBAAoB,EAAE,IAAI,CAAC,oBAAoB;YAC/C,uBAAuB,EAAE,IAAI,CAAC,uBAAuB;YACrD,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;YAC7C,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;SAC9C,CAAC,CAAC;IACP,CAAC;CACJ"}
1
+ {"version":3,"file":"lock-provider.js","sourceRoot":"","sources":["../../../../../src/lock/implementations/derivables/lock-provider/lock-provider.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAE1B,OAAO,EAAkB,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAWN,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2EAA2E,CAAC;AACjH,OAAO,EAAE,IAAI,EAAE,MAAM,yDAAyD,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,yEAAyE,CAAC;AAC7G,OAAO,EAAmB,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAwB,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,+CAA+C,CAAC;AACtE,OAAO,EAAkB,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAEH,IAAI,EACJ,gBAAgB,EAEhB,aAAa,GAChB,MAAM,wBAAwB,CAAC;AA8GhC;;;;;;;;;GASG;AACH,MAAM,OAAO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