@blaze-cache/core 0.3.0 → 0.4.0-beta.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.
- package/README.md +78 -15
- package/dist/cache.d.ts +118 -23
- package/dist/cache.d.ts.map +1 -1
- package/dist/cache.js +541 -54
- package/dist/cache.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/persistence/indexeddb.d.ts +16 -2
- package/dist/persistence/indexeddb.d.ts.map +1 -1
- package/dist/persistence/indexeddb.js +248 -54
- package/dist/persistence/indexeddb.js.map +1 -1
- package/dist/persistence/types.d.ts +271 -0
- package/dist/persistence/types.d.ts.map +1 -1
- package/dist/reactivity.d.ts +63 -0
- package/dist/reactivity.d.ts.map +1 -0
- package/dist/reactivity.js +424 -0
- package/dist/reactivity.js.map +1 -0
- package/dist/types.d.ts +41 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/wasm.d.ts +79 -1
- package/dist/wasm.d.ts.map +1 -1
- package/dist/wasm.js +142 -0
- package/dist/wasm.js.map +1 -1
- package/package.json +2 -1
- package/pkg/blaze_cache_wasm.d.ts +15 -10
- package/pkg/blaze_cache_wasm.js +159 -137
- package/pkg/blaze_cache_wasm_bg.wasm +0 -0
- package/pkg/blaze_cache_wasm_bg.wasm.d.ts +14 -9
- package/pkg/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,17 +95,73 @@ with the wasm memory — and overlapping `dispose()` calls share one teardown, s
|
|
|
95
95
|
is freed exactly once. The full design notes live in the
|
|
96
96
|
[repository README](https://github.com/blaze-cache/blaze-cache#events).
|
|
97
97
|
|
|
98
|
+
## Subscriptions
|
|
99
|
+
|
|
100
|
+
`subscribe` is the value-oriented front end of [Events](#events): hand it a key, a list of
|
|
101
|
+
keys or a tag and a callback, and it runs that callback with the **current value** every
|
|
102
|
+
time the cache changes one of them. Each call returns its own stop function, and nothing is
|
|
103
|
+
registered until the first one.
|
|
104
|
+
|
|
105
|
+
```ts
|
|
106
|
+
const stop = cache.subscribe('user:42', (user, change) => {
|
|
107
|
+
console.log(change.type, user); // 'set' → the new value, 'delete' → undefined
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
const stopMany = cache.subscribeMany(['a', 'b'], (key, value, change) => {
|
|
111
|
+
console.log(key, value, change.type);
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
const stopTag = cache.subscribeTag('user', ({ tag, keys, change }) => {
|
|
115
|
+
console.log(tag, keys, change.type); // 'user', ['user:42'], 'invalidate'
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
stop(); stopMany(); stopTag(); // idempotent — also safe from inside a listener
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
* **`value` is what the cache holds now** — the new value after `set`, the unchanged one
|
|
122
|
+
after `touch`, and `undefined` after `delete`, `evict`, `expire`, `invalidate`, `prune`
|
|
123
|
+
or `clear`. For `evict`/`expire` the dropped reference is still on `change.value`.
|
|
124
|
+
* **Reads never wake a subscriber** — `hit`/`miss` are not part of a subscription at all,
|
|
125
|
+
so `get`, `peek`, `has`, `ttl` … cost a subscription nothing.
|
|
126
|
+
* **Tag subscriptions know what the raw events cannot** — a removal carries no tags, so the
|
|
127
|
+
layer keeps a per-tag mirror of the live keys carrying it and attributes `delete`,
|
|
128
|
+
`evict`, `expire`, `invalidate`, `prune` and `clear` to the tags they actually hit.
|
|
129
|
+
* **Subscriptions switch on the drop log**, exactly like an `evict`/`expire` listener: the
|
|
130
|
+
Rust core only records the entries it drops by itself while somebody is waiting for them,
|
|
131
|
+
and the last stop function switches it back off.
|
|
132
|
+
* **`{ once: true }`** fires a single time and unsubscribes itself.
|
|
133
|
+
* **A subscriber that throws is isolated** — logged with `console.error`, the mutation
|
|
134
|
+
stands, and the remaining subscribers still run. One that unsubscribes mid-notification
|
|
135
|
+
(through its own handle, or because a `once` sibling fired) is never visited for that
|
|
136
|
+
event.
|
|
137
|
+
* **All of it is opt-in** — with no subscription the layer does not exist. The first call
|
|
138
|
+
attaches eight typed listeners and snapshots the live keys; while a subscription lives, a
|
|
139
|
+
write crosses the boundary once more to re-read that key's tags (and only when a tag
|
|
140
|
+
subscription exists), and reads back a value only for keys somebody subscribed to.
|
|
141
|
+
Releasing the last subscription detaches everything again. `cache.off()` clears *event*
|
|
142
|
+
listeners only — live subscriptions re-bind their own immediately.
|
|
143
|
+
|
|
98
144
|
## Good to know
|
|
99
145
|
|
|
100
|
-
* **The `.wasm` ships inside this package** — no CDN setup
|
|
101
|
-
|
|
146
|
+
* **The `.wasm` ships inside this package** — no CDN setup, no separate asset download.
|
|
147
|
+
`createCache` fetches it relative to the package's own module, streams it in, and does
|
|
148
|
+
it once per page even when several caches are created at once. Under Vite this needs no
|
|
149
|
+
configuration at all.
|
|
102
150
|
|
|
103
|
-
|
|
104
|
-
|
|
151
|
+
When the binary lives somewhere else — a `public/` asset path, a CDN, Next.js, or a
|
|
152
|
+
bundler that pre-bundles dependencies — say so explicitly:
|
|
105
153
|
|
|
106
|
-
|
|
154
|
+
```ts
|
|
155
|
+
// a file you copied to public/, served at /assets/blaze_cache_wasm_bg.wasm
|
|
156
|
+
const cache = await createCache({ capacity: 1000, wasmUrl: '/assets/blaze_cache_wasm_bg.wasm' });
|
|
107
157
|
```
|
|
108
158
|
|
|
159
|
+
Two further overrides cover the rest: `module` for a precompiled `WebAssembly.Module`
|
|
160
|
+
(no fetch, no compile), and `instantiate` for a custom loader that resolves to a source
|
|
161
|
+
— a URL, a `Request`/`Response`, bytes, or a `Module`. Pass at most one of the three;
|
|
162
|
+
two at once throws a `TypeError`. Failures name the URL or step that failed and keep the
|
|
163
|
+
original error on `cause`.
|
|
164
|
+
|
|
109
165
|
* **Types are bundled** — no `@types/*` packages to install.
|
|
110
166
|
* **ESM only, browser only.** Node/SSR targets are out of scope by design.
|
|
111
167
|
* **Values are shared by reference** — `set` hands the object over and `get`/`peek`/
|
|
@@ -114,24 +170,31 @@ is freed exactly once. The full design notes live in the
|
|
|
114
170
|
is what keeps `get`/`set` allocation-free.
|
|
115
171
|
* **Persistence is optional** and off by default; a blocked IndexedDB (private mode)
|
|
116
172
|
degrades to memory-only instead of breaking the app. A flush that fails later — a quota
|
|
117
|
-
error, a transient IndexedDB problem — is
|
|
118
|
-
the queue for the next flush, rather
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
173
|
+
error, a transient IndexedDB problem — is reported (`onError`, or the awaited call's
|
|
174
|
+
rejection) and its records go straight back on the queue for the next flush, rather
|
|
175
|
+
than being dropped; the exception is a record that fails *on its own* three times
|
|
176
|
+
running, which is dropped from the queue with a console warning (still in memory) so one
|
|
177
|
+
poison row cannot block every later flush, and any successful pass resets the count.
|
|
178
|
+
Options — `namespace`, `debounceMs`, `maxEntries`, `restoreExpired`, `writeMode`,
|
|
179
|
+
`onError`, `onActivity`, `generation` — are validated when persistence is attached and
|
|
180
|
+
throw from `create` rather than misbehave later (`flushDelayMs`/`maxRecords` remain as
|
|
181
|
+
aliases). `cache.persistence` is the control surface: `flush()` writes now, `clear()`
|
|
182
|
+
empties storage without touching memory, `hydrate()` reloads storage into memory,
|
|
183
|
+
`stats()` reports counters, and `rotate(generation)` switches sessions — dropping the
|
|
184
|
+
previous session's queued *and* in-flight writes (see
|
|
185
|
+
[Persistence](https://github.com/blaze-cache/blaze-cache#persistence)).
|
|
124
186
|
* **`capacity` is normalised** — below `1` clamps up, above `1_000_000` clamps down, and
|
|
125
187
|
a non-finite value falls back to the wasm default — so `capacity()` reports a real
|
|
126
188
|
number back.
|
|
127
189
|
* **Events cost nothing when unused** — with no listeners the bus is a size check per
|
|
128
190
|
operation, and the Rust core's drop log stays off until somebody asks for
|
|
129
|
-
`evict`/`expire
|
|
191
|
+
`evict`/`expire`, or subscribes to a key or a tag (see [Events](#events) and
|
|
192
|
+
[Subscriptions](#subscriptions)).
|
|
130
193
|
|
|
131
194
|
## Documentation
|
|
132
195
|
|
|
133
|
-
Setup, persistence, eviction, tags, events and the full API are documented
|
|
134
|
-
[repository README](https://github.com/blaze-cache/blaze-cache#readme).
|
|
196
|
+
Setup, persistence, eviction, tags, events, subscriptions and the full API are documented
|
|
197
|
+
in the [repository README](https://github.com/blaze-cache/blaze-cache#readme).
|
|
135
198
|
|
|
136
199
|
## License
|
|
137
200
|
|
package/dist/cache.d.ts
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
|
-
import type { BlazeCacheLike, CacheEntry, CacheEventListener, CacheEventType, CacheListener, CacheStats, SetManyEntry, SetOptions, TouchOptions } from './types.js';
|
|
2
|
-
import type {
|
|
3
|
-
import type { CachePersistence,
|
|
1
|
+
import type { BlazeCacheLike, CacheEntry, CacheEventListener, CacheEventType, CacheKeySubscriber, CacheListener, CacheManySubscriber, CacheStats, CacheSubscribeOptions, CacheTagSubscriber, SetManyEntry, SetOptions, TouchOptions } from './types.js';
|
|
2
|
+
import type { WasmLoadOptions } from './wasm.js';
|
|
3
|
+
import type { CachePersistence, PersistenceControl, PersistenceOptions } from './persistence/types.js';
|
|
4
4
|
/** Entries held when `capacity` is not given. */
|
|
5
5
|
export declare const DEFAULT_CAPACITY = 500;
|
|
6
6
|
/** Milliseconds a write waits for more writes before hitting IndexedDB. */
|
|
7
7
|
export declare const DEFAULT_FLUSH_DELAY_MS = 400;
|
|
8
8
|
/** Upper bound on records written by a single flush. */
|
|
9
9
|
export declare const DEFAULT_MAX_RECORDS = 2000;
|
|
10
|
-
/** Options for a custom {@link CachePersistence} adapter. */
|
|
11
|
-
export interface CachePersistenceOptions {
|
|
10
|
+
/** Options for a custom {@link CachePersistence} adapter — settings, tuning and observers. */
|
|
11
|
+
export interface CachePersistenceOptions extends PersistenceOptions {
|
|
12
12
|
adapter: CachePersistence;
|
|
13
|
-
/** Debounce applied to write-through flushes. Default {@link DEFAULT_FLUSH_DELAY_MS}. */
|
|
14
|
-
flushDelayMs?: number;
|
|
15
|
-
/** Maximum records persisted per flush (newest win). Default {@link DEFAULT_MAX_RECORDS}. */
|
|
16
|
-
maxRecords?: number;
|
|
17
|
-
}
|
|
18
|
-
/** Options for the built-in IndexedDB adapter — settings plus flush tuning. */
|
|
19
|
-
export interface IndexedDbPersistenceOptions extends IndexedDbOptions {
|
|
20
|
-
flushDelayMs?: number;
|
|
21
|
-
maxRecords?: number;
|
|
22
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Options for the built-in IndexedDB adapter — connection settings plus flush tuning,
|
|
16
|
+
* session isolation and observers. An alias of {@link PersistenceOptions}: the full set
|
|
17
|
+
* of persistence options is identical for both flavours.
|
|
18
|
+
*/
|
|
19
|
+
export type IndexedDbPersistenceOptions = PersistenceOptions;
|
|
23
20
|
/** Options accepted by {@link BlazeCache.create}. */
|
|
24
|
-
export interface BlazeCacheOptions {
|
|
21
|
+
export interface BlazeCacheOptions extends WasmLoadOptions {
|
|
25
22
|
/**
|
|
26
23
|
* Maximum number of entries kept in memory. The wasm binding normalises it before it is
|
|
27
24
|
* ever used: below `1` clamps up, above `1_000_000` clamps down, and a non-finite value
|
|
@@ -36,16 +33,15 @@ export interface BlazeCacheOptions {
|
|
|
36
33
|
*
|
|
37
34
|
* * `{ namespace, database, store, ... }` — the built-in IndexedDB adapter.
|
|
38
35
|
* * `{ adapter, ... }` — any {@link CachePersistence} implementation.
|
|
39
|
-
*/
|
|
40
|
-
persistence?: false | CachePersistenceOptions | IndexedDbPersistenceOptions;
|
|
41
|
-
/**
|
|
42
|
-
* How the `.wasm` binary is fetched and instantiated.
|
|
43
36
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
37
|
+
* Both flavours accept the same tuning, session and observer options — see
|
|
38
|
+
* {@link PersistenceOptions} — and expose the same control surface at
|
|
39
|
+
* {@link BlazeCache.persistence}.
|
|
46
40
|
*/
|
|
47
|
-
|
|
41
|
+
persistence?: false | CachePersistenceOptions | IndexedDbPersistenceOptions;
|
|
48
42
|
}
|
|
43
|
+
/** The options {@link createCache} takes — an alias for {@link BlazeCacheOptions}. */
|
|
44
|
+
export type CreateCacheOptions = BlazeCacheOptions;
|
|
49
45
|
/**
|
|
50
46
|
* The client-side cache: WebAssembly storage and eviction, optional write-through persistence.
|
|
51
47
|
*
|
|
@@ -142,6 +138,11 @@ export declare class BlazeCache<V = any> implements BlazeCacheLike<V> {
|
|
|
142
138
|
/**
|
|
143
139
|
* Loads the wasm module, builds the cache and — if requested — hydrates it from storage.
|
|
144
140
|
*
|
|
141
|
+
* The binary comes from the one source option given ({@link WasmLoadOptions.wasmUrl},
|
|
142
|
+
* {@link WasmLoadOptions.module} or {@link WasmLoadOptions.instantiate}), or from the
|
|
143
|
+
* asset shipped with this package when none is. Loading happens once per page: concurrent
|
|
144
|
+
* `create()` calls share one download and one instantiation.
|
|
145
|
+
*
|
|
145
146
|
* Storage failures (blocked IndexedDB, quota, private mode) degrade to memory-only with a
|
|
146
147
|
* console warning instead of rejecting.
|
|
147
148
|
*/
|
|
@@ -306,11 +307,103 @@ export declare class BlazeCache<V = any> implements BlazeCacheLike<V> {
|
|
|
306
307
|
*
|
|
307
308
|
* Calling it with something that is not registered is a no-op. Releasing the last
|
|
308
309
|
* `evict`/`expire`-interested listener also switches the core's drop log off.
|
|
310
|
+
*
|
|
311
|
+
* It clears **event** listeners only: any live {@link BlazeCache.subscribe} /
|
|
312
|
+
* `subscribeTag` / `subscribeMany` registration re-binds its own internal listeners
|
|
313
|
+
* immediately afterwards, so a sledgehammer `off()` cannot silently kill a subscription.
|
|
314
|
+
* Releasing a subscription still goes through the handle `subscribe` returned.
|
|
309
315
|
*/
|
|
310
316
|
off(): void;
|
|
311
317
|
off(type: CacheEventType): void;
|
|
312
318
|
off(type: CacheEventType, listener: CacheEventListener<V>): void;
|
|
313
319
|
off(listener: CacheEventListener<V> | CacheListener): void;
|
|
320
|
+
/**
|
|
321
|
+
* Watches one key and runs `listener` with its **current value** every time the cache
|
|
322
|
+
* changes it. Returns the unsubscribe function — idempotent, and safe to call from
|
|
323
|
+
* inside the listener itself.
|
|
324
|
+
*
|
|
325
|
+
* This is the value-oriented front end of the event system: no `hit`/`miss`, no wildcard,
|
|
326
|
+
* just the key you asked for. `value` is what the cache holds *now* — the new value after
|
|
327
|
+
* `set`, the unchanged one after `touch`, and `undefined` after `delete`, `evict`,
|
|
328
|
+
* `expire`, `invalidate`, `prune` or `clear` (for `evict`/`expire` the dropped reference
|
|
329
|
+
* is still on `change.value`). The second argument is the mutation itself, so a listener
|
|
330
|
+
* can tell a renewal from a replacement without a second lookup.
|
|
331
|
+
*
|
|
332
|
+
* Everything is opt-in: with no subscription the layer does not exist and `get`/`set`
|
|
333
|
+
* are untouched. The first call attaches eight typed listeners to the event bus and
|
|
334
|
+
* snapshots the live keys; while a subscription lives, a write crosses the boundary once
|
|
335
|
+
* more to re-read that key's tags — and only when a {@link BlazeCache.subscribeTag}
|
|
336
|
+
* subscription exists. A listener that throws is isolated: the failure is logged with
|
|
337
|
+
* `console.error`, the mutation stands, and the other subscribers still run.
|
|
338
|
+
*
|
|
339
|
+
* @example
|
|
340
|
+
* ```ts
|
|
341
|
+
* const stop = cache.subscribe('user:42', (user, change) => {
|
|
342
|
+
* if (change.type === 'delete') console.log('gone');
|
|
343
|
+
* else console.log(change.type, user);
|
|
344
|
+
* });
|
|
345
|
+
*
|
|
346
|
+
* const stopOnce = cache.subscribe('ready', (v) => console.log('first change', v), { once: true });
|
|
347
|
+
*
|
|
348
|
+
* stop();
|
|
349
|
+
* stopOnce(); // already fired — a no-op
|
|
350
|
+
* ```
|
|
351
|
+
*/
|
|
352
|
+
subscribe(key: string, listener: CacheKeySubscriber<V>, options?: CacheSubscribeOptions): () => void;
|
|
353
|
+
/**
|
|
354
|
+
* Watches several keys with one listener, which is told **which** key changed:
|
|
355
|
+
* `(key, value, change)`. Duplicates collapse, an empty list subscribes to nothing (it
|
|
356
|
+
* never attaches and returns a no-op handle), and everything else — opt-in cost, error
|
|
357
|
+
* isolation, the `once` option — matches {@link BlazeCache.subscribe}.
|
|
358
|
+
*
|
|
359
|
+
* @example
|
|
360
|
+
* ```ts
|
|
361
|
+
* const stop = cache.subscribeMany(['a', 'b'], (key, value, change) => {
|
|
362
|
+
* console.log(`${key} is now`, value, `after a ${change.type}`);
|
|
363
|
+
* });
|
|
364
|
+
* ```
|
|
365
|
+
*/
|
|
366
|
+
subscribeMany(keys: string[], listener: CacheManySubscriber<V>, options?: CacheSubscribeOptions): () => void;
|
|
367
|
+
/**
|
|
368
|
+
* Watches one tag and runs `listener` whenever an entry carrying it changes — including
|
|
369
|
+
* entries removed by an unrelated `invalidateTags` call, an eviction or a TTL that ran
|
|
370
|
+
* out, which is the part the raw events cannot tell you on their own.
|
|
371
|
+
*
|
|
372
|
+
* The listener receives `{ tag, keys, change }`: the tag that woke it, the keys of *that
|
|
373
|
+
* tag* the mutation touched (a write reports the key that entered or stayed in the tag,
|
|
374
|
+
* a removal reports the keys that left it), and the mutation itself. Keys are attributed
|
|
375
|
+
* from a per-tag mirror the layer keeps while anybody watches, so removals need no extra
|
|
376
|
+
* lookup. Opt-in cost, error isolation and `once` match {@link BlazeCache.subscribe}.
|
|
377
|
+
*
|
|
378
|
+
* @example
|
|
379
|
+
* ```ts
|
|
380
|
+
* const stop = cache.subscribeTag('user', ({ keys, change }) => {
|
|
381
|
+
* console.log(change.type, keys); // 'invalidate', ['user:42', 'user:43']
|
|
382
|
+
* });
|
|
383
|
+
* ```
|
|
384
|
+
*/
|
|
385
|
+
subscribeTag(tag: string, listener: CacheTagSubscriber<V>, options?: CacheSubscribeOptions): () => void;
|
|
386
|
+
/**
|
|
387
|
+
* The persistence control surface: `flush()`, `clear()`, `hydrate()`, `stats()` and
|
|
388
|
+
* `rotate()` — see {@link PersistenceControl}.
|
|
389
|
+
*
|
|
390
|
+
* Always present, even on a memory-only cache (the methods resolve as no-ops and
|
|
391
|
+
* `stats().enabled` is `false`), so callers never have to remember which flavour of
|
|
392
|
+
* `create` they are holding.
|
|
393
|
+
*
|
|
394
|
+
* ```ts
|
|
395
|
+
* await cache.persistence.flush(); // same as cache.flush()
|
|
396
|
+
* await cache.persistence.clear(); // wipe this namespace in storage (memory stays)
|
|
397
|
+
* await cache.persistence.hydrate(); // reload stored records into memory
|
|
398
|
+
* cache.persistence.stats(); // counters: hydrates, flushes, errors, pending…
|
|
399
|
+
*
|
|
400
|
+
* // logout → login:
|
|
401
|
+
* await cache.persistence.rotate('user-43'); // invalidate the previous session
|
|
402
|
+
* cache.clear(); // drop its entries from memory
|
|
403
|
+
* await cache.persistence.hydrate(); // load the new session's records
|
|
404
|
+
* ```
|
|
405
|
+
*/
|
|
406
|
+
get persistence(): PersistenceControl;
|
|
314
407
|
/**
|
|
315
408
|
* Writes pending changes to storage immediately.
|
|
316
409
|
*
|
|
@@ -320,7 +413,9 @@ export declare class BlazeCache<V = any> implements BlazeCacheLike<V> {
|
|
|
320
413
|
* When the write itself fails — quota, a blocked or transient IndexedDB error — the pass
|
|
321
414
|
* rejects **and hands every record it had claimed back onto the queue**, so the next flush
|
|
322
415
|
* (a later mutation's timer, an explicit call, `pagehide`, `dispose`) retries them instead
|
|
323
|
-
* of losing them.
|
|
416
|
+
* of losing them. A pass invalidated by {@link PersistenceControl.rotate} is the
|
|
417
|
+
* exception: its claimed work belongs to a session that no longer exists, so it is
|
|
418
|
+
* dropped and the flush resolves without writing.
|
|
324
419
|
*/
|
|
325
420
|
flush(): Promise<void>;
|
|
326
421
|
/**
|
package/dist/cache.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../src/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EAEd,UAAU,EAEV,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,UAAU,EACV,YAAY,EACZ,UAAU,EACV,YAAY,EACb,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../src/cache.ts"],"names":[],"mappings":"A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