@replit/river 0.10.0 → 0.10.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/dist/{router/builder.d.ts → builder-3c4485f0.d.ts} +76 -21
- package/dist/chunk-7WJ6YLE5.js +683 -0
- package/dist/chunk-AJQU4AZG.js +284 -0
- package/dist/chunk-ORAG7IAU.js +0 -0
- package/dist/chunk-PC65ZFWJ.js +29 -0
- package/dist/chunk-R6H2BIMC.js +49 -0
- package/dist/chunk-RGMHF6PF.js +65 -0
- package/dist/chunk-SLUSVGQH.js +30 -0
- package/dist/chunk-UU2Z7LDR.js +113 -0
- package/dist/chunk-WVT5QXMZ.js +20 -0
- package/dist/chunk-ZE4MX7DF.js +75 -0
- package/dist/codec/index.cjs +94 -0
- package/dist/codec/index.d.cts +15 -0
- package/dist/codec/index.d.ts +15 -4
- package/dist/codec/index.js +10 -2
- package/dist/connection-8e19874c.d.ts +11 -0
- package/dist/connection-f7688cc1.d.ts +11 -0
- package/dist/logging/index.cjs +56 -0
- package/dist/logging/index.d.cts +28 -0
- package/dist/logging/index.d.ts +6 -6
- package/dist/logging/index.js +9 -40
- package/dist/router/index.cjs +770 -0
- package/dist/router/index.d.cts +114 -0
- package/dist/router/index.d.ts +114 -12
- package/dist/router/index.js +24 -5
- package/dist/transport/impls/ws/client.cjs +505 -0
- package/dist/transport/impls/ws/client.d.cts +42 -0
- package/dist/transport/impls/ws/client.d.ts +8 -8
- package/dist/transport/impls/ws/client.js +10 -100
- package/dist/transport/impls/ws/server.cjs +457 -0
- package/dist/transport/impls/ws/server.d.cts +21 -0
- package/dist/transport/impls/ws/server.d.ts +11 -10
- package/dist/transport/impls/ws/server.js +11 -52
- package/dist/transport/index.cjs +362 -0
- package/dist/transport/{transport.d.ts → index.d.cts} +119 -7
- package/dist/transport/index.d.ts +273 -4
- package/dist/transport/index.js +20 -2
- package/dist/{codec/types.d.ts → types-3e5768ec.d.ts} +3 -2
- package/dist/util/testHelpers.cjs +731 -0
- package/dist/util/testHelpers.d.cts +79 -0
- package/dist/util/testHelpers.d.ts +22 -19
- package/dist/util/testHelpers.js +135 -163
- package/package.json +41 -13
- package/dist/__tests__/bandwidth.bench.d.ts +0 -2
- package/dist/__tests__/bandwidth.bench.d.ts.map +0 -1
- package/dist/__tests__/bandwidth.bench.js +0 -90
- package/dist/__tests__/cleanup.test.d.ts +0 -2
- package/dist/__tests__/cleanup.test.d.ts.map +0 -1
- package/dist/__tests__/cleanup.test.js +0 -165
- package/dist/__tests__/disconnects.test.d.ts +0 -2
- package/dist/__tests__/disconnects.test.d.ts.map +0 -1
- package/dist/__tests__/disconnects.test.js +0 -163
- package/dist/__tests__/e2e.test.d.ts +0 -2
- package/dist/__tests__/e2e.test.d.ts.map +0 -1
- package/dist/__tests__/e2e.test.js +0 -317
- package/dist/__tests__/fixtures/cleanup.d.ts +0 -12
- package/dist/__tests__/fixtures/cleanup.d.ts.map +0 -1
- package/dist/__tests__/fixtures/cleanup.js +0 -36
- package/dist/__tests__/fixtures/largePayload.json +0 -33
- package/dist/__tests__/fixtures/observable.d.ts +0 -26
- package/dist/__tests__/fixtures/observable.d.ts.map +0 -1
- package/dist/__tests__/fixtures/observable.js +0 -38
- package/dist/__tests__/fixtures/observable.test.d.ts +0 -2
- package/dist/__tests__/fixtures/observable.test.d.ts.map +0 -1
- package/dist/__tests__/fixtures/observable.test.js +0 -39
- package/dist/__tests__/fixtures/services.d.ts +0 -288
- package/dist/__tests__/fixtures/services.d.ts.map +0 -1
- package/dist/__tests__/fixtures/services.js +0 -207
- package/dist/__tests__/handler.test.d.ts +0 -2
- package/dist/__tests__/handler.test.d.ts.map +0 -1
- package/dist/__tests__/handler.test.js +0 -120
- package/dist/__tests__/serialize.test.d.ts +0 -2
- package/dist/__tests__/serialize.test.d.ts.map +0 -1
- package/dist/__tests__/serialize.test.js +0 -208
- package/dist/__tests__/typescript-stress.test.d.ts +0 -1583
- package/dist/__tests__/typescript-stress.test.d.ts.map +0 -1
- package/dist/__tests__/typescript-stress.test.js +0 -123
- package/dist/codec/binary.d.ts +0 -7
- package/dist/codec/binary.d.ts.map +0 -1
- package/dist/codec/binary.js +0 -20
- package/dist/codec/codec.test.d.ts +0 -5
- package/dist/codec/codec.test.d.ts.map +0 -1
- package/dist/codec/codec.test.js +0 -41
- package/dist/codec/index.d.ts.map +0 -1
- package/dist/codec/json.d.ts +0 -7
- package/dist/codec/json.d.ts.map +0 -1
- package/dist/codec/json.js +0 -51
- package/dist/codec/types.d.ts.map +0 -1
- package/dist/codec/types.js +0 -1
- package/dist/logging/index.d.ts.map +0 -1
- package/dist/router/builder.d.ts.map +0 -1
- package/dist/router/builder.js +0 -91
- package/dist/router/client.d.ts +0 -72
- package/dist/router/client.d.ts.map +0 -1
- package/dist/router/client.js +0 -257
- package/dist/router/context.d.ts +0 -30
- package/dist/router/context.d.ts.map +0 -1
- package/dist/router/context.js +0 -1
- package/dist/router/defs.d.ts +0 -16
- package/dist/router/defs.d.ts.map +0 -1
- package/dist/router/defs.js +0 -11
- package/dist/router/index.d.ts.map +0 -1
- package/dist/router/result.d.ts +0 -26
- package/dist/router/result.d.ts.map +0 -1
- package/dist/router/result.js +0 -22
- package/dist/router/server.d.ts +0 -39
- package/dist/router/server.d.ts.map +0 -1
- package/dist/router/server.js +0 -260
- package/dist/transport/events.d.ts +0 -19
- package/dist/transport/events.d.ts.map +0 -1
- package/dist/transport/events.js +0 -26
- package/dist/transport/impls/stdio/stdio.d.ts +0 -33
- package/dist/transport/impls/stdio/stdio.d.ts.map +0 -1
- package/dist/transport/impls/stdio/stdio.js +0 -75
- package/dist/transport/impls/stdio/stdio.test.d.ts +0 -2
- package/dist/transport/impls/stdio/stdio.test.d.ts.map +0 -1
- package/dist/transport/impls/stdio/stdio.test.js +0 -24
- package/dist/transport/impls/ws/client.d.ts.map +0 -1
- package/dist/transport/impls/ws/connection.d.ts +0 -11
- package/dist/transport/impls/ws/connection.d.ts.map +0 -1
- package/dist/transport/impls/ws/connection.js +0 -23
- package/dist/transport/impls/ws/server.d.ts.map +0 -1
- package/dist/transport/impls/ws/ws.test.d.ts +0 -2
- package/dist/transport/impls/ws/ws.test.d.ts.map +0 -1
- package/dist/transport/impls/ws/ws.test.js +0 -185
- package/dist/transport/index.d.ts.map +0 -1
- package/dist/transport/message.d.ts +0 -142
- package/dist/transport/message.d.ts.map +0 -1
- package/dist/transport/message.js +0 -113
- package/dist/transport/message.test.d.ts +0 -2
- package/dist/transport/message.test.d.ts.map +0 -1
- package/dist/transport/message.test.js +0 -52
- package/dist/transport/transport.d.ts.map +0 -1
- package/dist/transport/transport.js +0 -281
- package/dist/util/testHelpers.d.ts.map +0 -1
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
import { Value } from '@sinclair/typebox/value';
|
|
2
|
-
import { OpaqueTransportMessageSchema, TransportAckSchema, isAck, reply, } from './message';
|
|
3
|
-
import { log } from '../logging';
|
|
4
|
-
import { EventDispatcher } from './events';
|
|
5
|
-
/**
|
|
6
|
-
* A 1:1 connection between two transports. Once this is created,
|
|
7
|
-
* the {@link Connection} is expected to take over responsibility for
|
|
8
|
-
* reading and writing messages from the underlying connection.
|
|
9
|
-
*
|
|
10
|
-
* 1) Messages received on the {@link Connection} are dispatched back to the {@link Transport}
|
|
11
|
-
* via {@link Transport.onMessage}. The {@link Transport} then notifies any registered message listeners.
|
|
12
|
-
* 2) When {@link Transport.send}(msg) is called, the transport looks up the appropriate
|
|
13
|
-
* connection in the {@link connections} map via `msg.to` and calls {@link send}(bytes)
|
|
14
|
-
* so the connection can send it.
|
|
15
|
-
*/
|
|
16
|
-
export class Connection {
|
|
17
|
-
connectedTo;
|
|
18
|
-
transport;
|
|
19
|
-
constructor(transport, connectedTo) {
|
|
20
|
-
this.connectedTo = connectedTo;
|
|
21
|
-
this.transport = transport;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Transports manage the lifecycle (creation/deletion) of connections. Its responsibilities include:
|
|
26
|
-
*
|
|
27
|
-
* 1) Constructing a new {@link Connection} on {@link TransportMessage}s from new clients.
|
|
28
|
-
* After constructing the {@link Connection}, {@link onConnect} is called which adds it to the connection map.
|
|
29
|
-
* 2) Delegating message listening of the connection to the newly created {@link Connection}.
|
|
30
|
-
* From this point on, the {@link Connection} is responsible for *reading* and *writing*
|
|
31
|
-
* messages from the connection.
|
|
32
|
-
* 3) When a connection is closed, the {@link Transport} calls {@link onDisconnect} which closes the
|
|
33
|
-
* connection via {@link Connection.close} and removes it from the {@link connections} map.
|
|
34
|
-
|
|
35
|
-
*
|
|
36
|
-
* ```plaintext
|
|
37
|
-
* ▲
|
|
38
|
-
* incoming │
|
|
39
|
-
* messages │
|
|
40
|
-
* ▼
|
|
41
|
-
* ┌─────────────┐ 1:N ┌────────────┐
|
|
42
|
-
* │ Transport │ ◄─────► │ Connection │
|
|
43
|
-
* └─────────────┘ └────────────┘
|
|
44
|
-
* ▲
|
|
45
|
-
* │
|
|
46
|
-
* ▼
|
|
47
|
-
* ┌───────────┐
|
|
48
|
-
* │ Message │
|
|
49
|
-
* │ Listeners │
|
|
50
|
-
* └───────────┘
|
|
51
|
-
* ```
|
|
52
|
-
* @abstract
|
|
53
|
-
*/
|
|
54
|
-
export class Transport {
|
|
55
|
-
/**
|
|
56
|
-
* A flag indicating whether the transport has been destroyed.
|
|
57
|
-
* A destroyed transport will not attempt to reconnect and cannot be used again.
|
|
58
|
-
*/
|
|
59
|
-
state;
|
|
60
|
-
/**
|
|
61
|
-
* The {@link Codec} used to encode and decode messages.
|
|
62
|
-
*/
|
|
63
|
-
codec;
|
|
64
|
-
/**
|
|
65
|
-
* The client ID of this transport.
|
|
66
|
-
*/
|
|
67
|
-
clientId;
|
|
68
|
-
/**
|
|
69
|
-
* An array of message IDs that are waiting to be sent over the WebSocket connection.
|
|
70
|
-
* This builds up if the WebSocket is down for a period of time.
|
|
71
|
-
*/
|
|
72
|
-
sendQueue;
|
|
73
|
-
/**
|
|
74
|
-
* The buffer of messages that have been sent but not yet acknowledged.
|
|
75
|
-
*/
|
|
76
|
-
sendBuffer;
|
|
77
|
-
/**
|
|
78
|
-
* The map of {@link Connection}s managed by this transport.
|
|
79
|
-
*/
|
|
80
|
-
connections;
|
|
81
|
-
/**
|
|
82
|
-
* The event dispatcher for handling events of type EventTypes.
|
|
83
|
-
*/
|
|
84
|
-
eventDispatcher;
|
|
85
|
-
/**
|
|
86
|
-
* Creates a new Transport instance.
|
|
87
|
-
* @param codec The codec used to encode and decode messages.
|
|
88
|
-
* @param clientId The client ID of this transport.
|
|
89
|
-
*/
|
|
90
|
-
constructor(codec, clientId) {
|
|
91
|
-
this.eventDispatcher = new EventDispatcher();
|
|
92
|
-
this.sendBuffer = new Map();
|
|
93
|
-
this.sendQueue = new Map();
|
|
94
|
-
this.connections = new Map();
|
|
95
|
-
this.codec = codec;
|
|
96
|
-
this.clientId = clientId;
|
|
97
|
-
this.state = 'open';
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* The downstream implementation needs to call this when a new connection is established.
|
|
101
|
-
* @param conn The connection object.
|
|
102
|
-
*/
|
|
103
|
-
onConnect(conn) {
|
|
104
|
-
log?.info(`${this.clientId} -- new connection to ${conn.connectedTo}`);
|
|
105
|
-
this.connections.set(conn.connectedTo, conn);
|
|
106
|
-
this.eventDispatcher.dispatchEvent('connectionStatus', {
|
|
107
|
-
status: 'connect',
|
|
108
|
-
conn,
|
|
109
|
-
});
|
|
110
|
-
// send outstanding
|
|
111
|
-
const outstanding = this.sendQueue.get(conn.connectedTo);
|
|
112
|
-
if (!outstanding) {
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
for (const id of outstanding) {
|
|
116
|
-
const msg = this.sendBuffer.get(id);
|
|
117
|
-
if (!msg) {
|
|
118
|
-
log?.warn(`${this.clientId} -- tried to resend a message we received an ack for`);
|
|
119
|
-
continue;
|
|
120
|
-
}
|
|
121
|
-
this.send(msg);
|
|
122
|
-
}
|
|
123
|
-
this.sendQueue.delete(conn.connectedTo);
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* The downstream implementation needs to call this when a connection is closed.
|
|
127
|
-
* @param conn The connection object.
|
|
128
|
-
*/
|
|
129
|
-
onDisconnect(conn) {
|
|
130
|
-
log?.info(`${this.clientId} -- disconnect from ${conn.connectedTo}`);
|
|
131
|
-
conn.close();
|
|
132
|
-
this.connections.delete(conn.connectedTo);
|
|
133
|
-
this.eventDispatcher.dispatchEvent('connectionStatus', {
|
|
134
|
-
status: 'disconnect',
|
|
135
|
-
conn,
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Handles a message received by this transport. Thin wrapper around {@link handleMsg} and {@link parseMsg}.
|
|
140
|
-
* @param msg The message to handle.
|
|
141
|
-
*/
|
|
142
|
-
onMessage(msg) {
|
|
143
|
-
return this.handleMsg(this.parseMsg(msg));
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Parses a message from a Uint8Array into a {@link OpaqueTransportMessage}.
|
|
147
|
-
* @param msg The message to parse.
|
|
148
|
-
* @returns The parsed message, or null if the message is malformed or invalid.
|
|
149
|
-
*/
|
|
150
|
-
parseMsg(msg) {
|
|
151
|
-
const parsedMsg = this.codec.fromBuffer(msg);
|
|
152
|
-
if (parsedMsg === null) {
|
|
153
|
-
const decodedBuffer = new TextDecoder().decode(msg);
|
|
154
|
-
log?.warn(`${this.clientId} -- received malformed msg: ${decodedBuffer}`);
|
|
155
|
-
return null;
|
|
156
|
-
}
|
|
157
|
-
if (Value.Check(OpaqueTransportMessageSchema, parsedMsg)) {
|
|
158
|
-
// JSON can't express the difference between `undefined` and `null`, so we need to patch that.
|
|
159
|
-
return {
|
|
160
|
-
...parsedMsg,
|
|
161
|
-
serviceName: parsedMsg.serviceName === null ? undefined : parsedMsg.serviceName,
|
|
162
|
-
procedureName: parsedMsg.procedureName === null
|
|
163
|
-
? undefined
|
|
164
|
-
: parsedMsg.procedureName,
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
log?.warn(`${this.clientId} -- received invalid msg: ${JSON.stringify(parsedMsg)}`);
|
|
169
|
-
return null;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Called when a message is received by this transport.
|
|
174
|
-
* You generally shouldn't need to override this in downstream transport implementations.
|
|
175
|
-
* @param msg The received message.
|
|
176
|
-
*/
|
|
177
|
-
handleMsg(msg) {
|
|
178
|
-
if (!msg) {
|
|
179
|
-
return;
|
|
180
|
-
}
|
|
181
|
-
if (isAck(msg.controlFlags) && Value.Check(TransportAckSchema, msg)) {
|
|
182
|
-
// process ack
|
|
183
|
-
log?.info(`${this.clientId} -- received ack: ${JSON.stringify(msg)}`);
|
|
184
|
-
if (this.sendBuffer.has(msg.payload.ack)) {
|
|
185
|
-
this.sendBuffer.delete(msg.payload.ack);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
else {
|
|
189
|
-
// regular river message
|
|
190
|
-
log?.info(`${this.clientId} -- received msg: ${JSON.stringify(msg)}`);
|
|
191
|
-
if (msg.to !== this.clientId) {
|
|
192
|
-
return;
|
|
193
|
-
}
|
|
194
|
-
this.eventDispatcher.dispatchEvent('message', msg);
|
|
195
|
-
if (!isAck(msg.controlFlags)) {
|
|
196
|
-
const ackMsg = reply(msg, { ack: msg.id });
|
|
197
|
-
ackMsg.controlFlags = 1 /* ControlFlags.AckBit */;
|
|
198
|
-
ackMsg.from = this.clientId;
|
|
199
|
-
this.send(ackMsg);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* Adds a listener to this transport.
|
|
205
|
-
* @param the type of event to listen for
|
|
206
|
-
* @param handler The message handler to add.
|
|
207
|
-
*/
|
|
208
|
-
addEventListener(type, handler) {
|
|
209
|
-
this.eventDispatcher.addEventListener(type, handler);
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
* Removes a listener from this transport.
|
|
213
|
-
* @param the type of event to unlisten on
|
|
214
|
-
* @param handler The message handler to remove.
|
|
215
|
-
*/
|
|
216
|
-
removeEventListener(type, handler) {
|
|
217
|
-
this.eventDispatcher.removeEventListener(type, handler);
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* Sends a message over this transport, delegating to the appropriate connection to actually
|
|
221
|
-
* send the message.
|
|
222
|
-
* @param msg The message to send.
|
|
223
|
-
* @returns The ID of the sent message.
|
|
224
|
-
*/
|
|
225
|
-
send(msg) {
|
|
226
|
-
if (this.state === 'destroyed') {
|
|
227
|
-
const err = 'transport is destroyed, cant send';
|
|
228
|
-
log?.error(`${this.clientId} -- ` + err + `: ${JSON.stringify(msg)}`);
|
|
229
|
-
throw new Error(err);
|
|
230
|
-
}
|
|
231
|
-
else if (this.state === 'closed') {
|
|
232
|
-
log?.info(`${this.clientId} -- transport closed when sending, discarding : ${JSON.stringify(msg)}`);
|
|
233
|
-
return msg.id;
|
|
234
|
-
}
|
|
235
|
-
let conn = this.connections.get(msg.to);
|
|
236
|
-
// we only use sendBuffer to track messages that we expect an ack from,
|
|
237
|
-
// messages with the ack flag are not responded to
|
|
238
|
-
if (!isAck(msg.controlFlags)) {
|
|
239
|
-
this.sendBuffer.set(msg.id, msg);
|
|
240
|
-
}
|
|
241
|
-
if (conn) {
|
|
242
|
-
log?.info(`${this.clientId} -- sending ${JSON.stringify(msg)}`);
|
|
243
|
-
const ok = conn.send(this.codec.toBuffer(msg));
|
|
244
|
-
if (ok) {
|
|
245
|
-
return msg.id;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
log?.info(`${this.clientId} -- connection to ${msg.to} not ready, attempting reconnect and queuing ${JSON.stringify(msg)}`);
|
|
249
|
-
const outstanding = this.sendQueue.get(msg.to) || [];
|
|
250
|
-
outstanding.push(msg.id);
|
|
251
|
-
this.sendQueue.set(msg.to, outstanding);
|
|
252
|
-
this.createNewConnection(msg.to);
|
|
253
|
-
return msg.id;
|
|
254
|
-
}
|
|
255
|
-
/**
|
|
256
|
-
* Default close implementation for transports. You should override this in the downstream
|
|
257
|
-
* implementation if you need to do any additional cleanup and call super.close() at the end.
|
|
258
|
-
* Closes the transport. Any messages sent while the transport is closed will be silently discarded.
|
|
259
|
-
*/
|
|
260
|
-
async close() {
|
|
261
|
-
for (const conn of this.connections.values()) {
|
|
262
|
-
conn.close();
|
|
263
|
-
}
|
|
264
|
-
this.connections.clear();
|
|
265
|
-
this.state = 'closed';
|
|
266
|
-
log?.info(`${this.clientId} -- closed transport`);
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Default destroy implementation for transports. You should override this in the downstream
|
|
270
|
-
* implementation if you need to do any additional cleanup and call super.destroy() at the end.
|
|
271
|
-
* Destroys the transport. Any messages sent while the transport is destroyed will throw an error.
|
|
272
|
-
*/
|
|
273
|
-
async destroy() {
|
|
274
|
-
for (const conn of this.connections.values()) {
|
|
275
|
-
conn.close();
|
|
276
|
-
}
|
|
277
|
-
this.connections.clear();
|
|
278
|
-
this.state = 'destroyed';
|
|
279
|
-
log?.info(`${this.clientId} -- destroyed transport`);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"testHelpers.d.ts","sourceRoot":"","sources":["../../util/testHelpers.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AACrC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EACL,UAAU,EACV,sBAAsB,EACtB,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EACL,WAA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