swaggerizer 1.0.0 → 1.1.0
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 +28 -1
- package/dist/admin.d.ts +2 -1
- package/dist/admin.d.ts.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +651 -33
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +7 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/config.mjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +654 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +651 -35
- package/dist/index.mjs.map +1 -1
- package/dist/server.d.ts +9 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/types.d.ts +30 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/ui/app.css +10 -0
- package/dist/ui/app.js +25 -0
- package/dist/validate.d.ts +33 -0
- package/dist/validate.d.ts.map +1 -0
- package/package.json +3 -1
- package/dist/chunks/scenario-5a1VnDmg.mjs +0 -345
- package/dist/chunks/scenario-5a1VnDmg.mjs.map +0 -1
- package/dist/chunks/scenario-BeXAfctR.mjs +0 -347
- package/dist/chunks/scenario-BeXAfctR.mjs.map +0 -1
- package/dist/chunks/scenario-CGR-NuEy.mjs +0 -371
- package/dist/chunks/scenario-CGR-NuEy.mjs.map +0 -1
- package/dist/chunks/scenario-DKCQMD5-.js +0 -364
- package/dist/chunks/scenario-DKCQMD5-.js.map +0 -1
- package/dist/chunks/scenario-yqSnVp0L.js +0 -362
- package/dist/chunks/scenario-yqSnVp0L.js.map +0 -1
|
@@ -1,364 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
* Shared types. This file must stay free of Node imports: it is used by the server, the MSW
|
|
5
|
-
* runtime (browser + node) and the in-page debug menu.
|
|
6
|
-
*/
|
|
7
|
-
const HTTP_METHODS = [
|
|
8
|
-
"get",
|
|
9
|
-
"put",
|
|
10
|
-
"post",
|
|
11
|
-
"delete",
|
|
12
|
-
"options",
|
|
13
|
-
"head",
|
|
14
|
-
"patch",
|
|
15
|
-
"trace"
|
|
16
|
-
];
|
|
17
|
-
/** Variant name used for a response that has a body but no explicit examples in the spec. */
|
|
18
|
-
const GENERATED = "generated";
|
|
19
|
-
/** Variant name used for a response that declares no body at all. */
|
|
20
|
-
const EMPTY = "empty";
|
|
21
|
-
|
|
22
|
-
/*
|
|
23
|
-
* The scenario planner: which response each operation serves. Pure and browser-safe — shared by
|
|
24
|
-
* the Node mock server, the MSW runtime and the in-page debug menu so they all behave the same.
|
|
25
|
-
*/
|
|
26
|
-
const SCENARIO_HEADER = "x-swaggerizer-scenario";
|
|
27
|
-
const MODES = ["mock", "custom", "proxy"];
|
|
28
|
-
const MAX_DELAY_MS = 120_000;
|
|
29
|
-
function operationKey(method, route) {
|
|
30
|
-
return `${String(method).toLowerCase()}:${route}`;
|
|
31
|
-
}
|
|
32
|
-
/** Every selectable (code, example) pair for an operation. */
|
|
33
|
-
function variantsOf(op) {
|
|
34
|
-
const list = [];
|
|
35
|
-
for (const response of op.responses) {
|
|
36
|
-
if (response.examples.length > 0) {
|
|
37
|
-
for (const ex of response.examples) {
|
|
38
|
-
list.push({ code: response.code, example: ex.name, kind: "example", value: ex.value, response });
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
else if (response.hasBody) {
|
|
42
|
-
list.push({ code: response.code, example: GENERATED, kind: "generated", value: response.generated, response });
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
list.push({ code: response.code, example: EMPTY, kind: "empty", value: undefined, response });
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
return list;
|
|
49
|
-
}
|
|
50
|
-
function findResponse(op, code) {
|
|
51
|
-
return (op.responses.find(r => r.code === code) ||
|
|
52
|
-
op.responses.find(r => String(r.status) === code) ||
|
|
53
|
-
op.responses.find(r => r.code.toUpperCase() === code.toUpperCase()));
|
|
54
|
-
}
|
|
55
|
-
/** The variant that will actually be served for a code + requested example name. */
|
|
56
|
-
function effectiveExample(op, code, requested) {
|
|
57
|
-
const variants = variantsOf(op).filter(v => v.code === code);
|
|
58
|
-
if (variants.length === 0)
|
|
59
|
-
return EMPTY;
|
|
60
|
-
return (variants.find(v => v.example === requested) || variants[0]).example;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Combines every loaded spec with the scenario map. Specs are evaluated in order, so when two
|
|
64
|
-
* enabled specs declare the same method + route the first one serves it and the others are
|
|
65
|
-
* reported as shadowed.
|
|
66
|
-
*/
|
|
67
|
-
function buildOperationStates(specs, scenarios) {
|
|
68
|
-
const servedBy = new Map();
|
|
69
|
-
const states = [];
|
|
70
|
-
for (const spec of specs) {
|
|
71
|
-
for (const op of spec.operations) {
|
|
72
|
-
let active = spec.enabled && !spec.error;
|
|
73
|
-
let shadowedBy;
|
|
74
|
-
if (active) {
|
|
75
|
-
const owner = servedBy.get(op.key);
|
|
76
|
-
if (owner) {
|
|
77
|
-
active = false;
|
|
78
|
-
shadowedBy = owner;
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
servedBy.set(op.key, spec.id);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
states.push({ ...stateOf(op, scenarios[op.key]), active, ...(shadowedBy ? { shadowedBy } : {}) });
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
return states;
|
|
88
|
-
}
|
|
89
|
-
function stateOf(op, scenario = {}) {
|
|
90
|
-
const response = scenario.code ? findResponse(op, scenario.code) : undefined;
|
|
91
|
-
const selectedCode = response ? response.code : op.defaultCode;
|
|
92
|
-
const selectedExample = effectiveExample(op, selectedCode, scenario.example);
|
|
93
|
-
const mode = scenario.mode && MODES.includes(scenario.mode) ? scenario.mode : "mock";
|
|
94
|
-
const delay = Math.max(0, Number(scenario.delay) || 0);
|
|
95
|
-
const modified = mode !== "mock" ||
|
|
96
|
-
delay > 0 ||
|
|
97
|
-
selectedCode !== op.defaultCode ||
|
|
98
|
-
selectedExample !== effectiveExample(op, op.defaultCode, op.defaultExample);
|
|
99
|
-
return {
|
|
100
|
-
...op,
|
|
101
|
-
mode,
|
|
102
|
-
selectedCode,
|
|
103
|
-
selectedExample,
|
|
104
|
-
delay,
|
|
105
|
-
...(scenario.custom ? { custom: scenario.custom } : {}),
|
|
106
|
-
modified,
|
|
107
|
-
active: true
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
function isSet(value) {
|
|
111
|
-
return value !== undefined && value !== null && value !== "";
|
|
112
|
-
}
|
|
113
|
-
function normaliseCustom(raw, label) {
|
|
114
|
-
if (!raw || typeof raw !== "object")
|
|
115
|
-
throw new Error(`${label}: custom must be an object with a status.`);
|
|
116
|
-
const status = Number(raw.status);
|
|
117
|
-
if (!Number.isInteger(status) || status < 100 || status > 599) {
|
|
118
|
-
throw new Error(`${label}: custom.status must be an HTTP status between 100 and 599.`);
|
|
119
|
-
}
|
|
120
|
-
let body = raw.body;
|
|
121
|
-
let contentType = isSet(raw.contentType) ? String(raw.contentType) : undefined;
|
|
122
|
-
// Bodies typed into a form arrive as strings: keep JSON as data so it is re-serialised cleanly.
|
|
123
|
-
if (typeof body === "string" && (!contentType || /json/i.test(contentType))) {
|
|
124
|
-
const trimmed = body.trim();
|
|
125
|
-
if (trimmed === "")
|
|
126
|
-
body = undefined;
|
|
127
|
-
else {
|
|
128
|
-
try {
|
|
129
|
-
body = JSON.parse(trimmed);
|
|
130
|
-
}
|
|
131
|
-
catch {
|
|
132
|
-
if (contentType)
|
|
133
|
-
throw new Error(`${label}: custom.body is not valid JSON.`);
|
|
134
|
-
// Not JSON and no content type given: send it exactly as typed.
|
|
135
|
-
contentType = "text/plain";
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
const headers = {};
|
|
140
|
-
if (raw.headers && typeof raw.headers === "object") {
|
|
141
|
-
for (const [k, v] of Object.entries(raw.headers))
|
|
142
|
-
headers[k] = String(v);
|
|
143
|
-
}
|
|
144
|
-
return {
|
|
145
|
-
status,
|
|
146
|
-
...(body !== undefined ? { body } : {}),
|
|
147
|
-
...(contentType ? { contentType } : {}),
|
|
148
|
-
...(Object.keys(headers).length ? { headers } : {})
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Validates a selection against an operation and returns the complete scenario to store. Throws a
|
|
153
|
-
* readable error for unknown codes, examples or modes. Unset fields keep their current value.
|
|
154
|
-
*/
|
|
155
|
-
function applySelection(op, selection, current = {}) {
|
|
156
|
-
const label = `${op.method.toUpperCase()} ${op.route}`;
|
|
157
|
-
const next = { ...current };
|
|
158
|
-
if (isSet(selection.mode)) {
|
|
159
|
-
const mode = String(selection.mode);
|
|
160
|
-
if (!MODES.includes(mode))
|
|
161
|
-
throw new Error(`${label}: mode must be one of ${MODES.join(", ")}.`);
|
|
162
|
-
next.mode = mode;
|
|
163
|
-
}
|
|
164
|
-
let code = isSet(selection.code) ? String(selection.code) : undefined;
|
|
165
|
-
const example = isSet(selection.example) ? String(selection.example) : undefined;
|
|
166
|
-
if (!code && example) {
|
|
167
|
-
// Allow `?example=notFound` on its own: find the response that declares it.
|
|
168
|
-
const owner = variantsOf(op).find(v => v.example === example);
|
|
169
|
-
if (!owner)
|
|
170
|
-
throw new Error(`${label} has no example named '${example}'.`);
|
|
171
|
-
code = owner.code;
|
|
172
|
-
}
|
|
173
|
-
if (code) {
|
|
174
|
-
const response = findResponse(op, code);
|
|
175
|
-
if (!response)
|
|
176
|
-
throw new Error(`${label} does not declare a ${code} response.`);
|
|
177
|
-
code = response.code;
|
|
178
|
-
if (example) {
|
|
179
|
-
const known = variantsOf(op).some(v => v.code === code && v.example === example);
|
|
180
|
-
if (!known)
|
|
181
|
-
throw new Error(`The ${code} response of ${label} has no example named '${example}'.`);
|
|
182
|
-
}
|
|
183
|
-
next.code = code;
|
|
184
|
-
next.example = example ?? effectiveExample(op, code);
|
|
185
|
-
if (!isSet(selection.mode))
|
|
186
|
-
next.mode = "mock";
|
|
187
|
-
}
|
|
188
|
-
if (selection.custom !== undefined && selection.custom !== null) {
|
|
189
|
-
next.custom = normaliseCustom(selection.custom, label);
|
|
190
|
-
if (!isSet(selection.mode))
|
|
191
|
-
next.mode = "custom";
|
|
192
|
-
}
|
|
193
|
-
if (next.mode === "custom" && !next.custom) {
|
|
194
|
-
// Start the editor from whatever is currently being served.
|
|
195
|
-
const state = stateOf(op, current);
|
|
196
|
-
const variant = variantsOf(op).find(v => v.code === state.selectedCode && v.example === state.selectedExample);
|
|
197
|
-
next.custom = {
|
|
198
|
-
status: variant?.response.status ?? 200,
|
|
199
|
-
...(variant?.value !== undefined ? { body: variant.value } : {})
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
if (isSet(selection.delay)) {
|
|
203
|
-
const delay = Number(selection.delay);
|
|
204
|
-
if (!Number.isFinite(delay) || delay < 0 || delay > MAX_DELAY_MS) {
|
|
205
|
-
throw new Error(`${label}: delay must be between 0 and ${MAX_DELAY_MS} ms.`);
|
|
206
|
-
}
|
|
207
|
-
next.delay = Math.round(delay);
|
|
208
|
-
}
|
|
209
|
-
if (next.mode === "mock")
|
|
210
|
-
delete next.mode;
|
|
211
|
-
if (!next.delay)
|
|
212
|
-
delete next.delay;
|
|
213
|
-
return next;
|
|
214
|
-
}
|
|
215
|
-
/** Parses the per-request override header: `404`, `404:notFound`, `notFound`, `proxy`, `custom`. */
|
|
216
|
-
function parseScenarioHeader(value) {
|
|
217
|
-
if (!value)
|
|
218
|
-
return undefined;
|
|
219
|
-
const raw = String(value).trim();
|
|
220
|
-
if (!raw)
|
|
221
|
-
return undefined;
|
|
222
|
-
if (MODES.includes(raw))
|
|
223
|
-
return { mode: raw };
|
|
224
|
-
const [first, ...rest] = raw.split(":");
|
|
225
|
-
if (/^(\d{3}|[1-5]XX|default)$/i.test(first)) {
|
|
226
|
-
return { code: first, ...(rest.length ? { example: rest.join(":") } : {}), mode: "mock" };
|
|
227
|
-
}
|
|
228
|
-
return { example: raw, mode: "mock" };
|
|
229
|
-
}
|
|
230
|
-
/** Decides what to send for one request to an operation. */
|
|
231
|
-
function resolveResponse(op, override) {
|
|
232
|
-
let state = op;
|
|
233
|
-
if (override) {
|
|
234
|
-
try {
|
|
235
|
-
state = { ...op, ...stateOf(op, applySelection(op, override, scenarioFromState(op))) };
|
|
236
|
-
}
|
|
237
|
-
catch {
|
|
238
|
-
// An override that does not fit this operation is ignored rather than failing the request.
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
if (state.mode === "proxy")
|
|
242
|
-
return { kind: "proxy", delay: state.delay };
|
|
243
|
-
if (state.mode === "custom" && state.custom) {
|
|
244
|
-
return {
|
|
245
|
-
kind: "respond",
|
|
246
|
-
status: state.custom.status,
|
|
247
|
-
contentType: state.custom.contentType ?? (state.custom.body !== undefined ? "application/json" : undefined),
|
|
248
|
-
headers: state.custom.headers,
|
|
249
|
-
body: state.custom.body,
|
|
250
|
-
variant: "custom",
|
|
251
|
-
code: String(state.custom.status),
|
|
252
|
-
delay: state.delay
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
const variant = variantsOf(state).find(v => v.code === state.selectedCode && v.example === state.selectedExample);
|
|
256
|
-
if (!variant) {
|
|
257
|
-
return { kind: "respond", status: 200, body: {}, contentType: "application/json", variant: EMPTY, code: "200", delay: state.delay };
|
|
258
|
-
}
|
|
259
|
-
const contentType = variant.response.contentTypes.find(t => /json/i.test(t)) || variant.response.contentTypes[0];
|
|
260
|
-
return {
|
|
261
|
-
kind: "respond",
|
|
262
|
-
status: variant.response.status,
|
|
263
|
-
contentType,
|
|
264
|
-
body: variant.kind === "empty" ? undefined : variant.value,
|
|
265
|
-
variant: variant.example,
|
|
266
|
-
code: variant.code,
|
|
267
|
-
delay: state.delay
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
function scenarioFromState(op) {
|
|
271
|
-
return {
|
|
272
|
-
code: op.selectedCode,
|
|
273
|
-
example: op.selectedExample,
|
|
274
|
-
...(op.mode !== "mock" ? { mode: op.mode } : {}),
|
|
275
|
-
...(op.custom ? { custom: op.custom } : {}),
|
|
276
|
-
...(op.delay ? { delay: op.delay } : {})
|
|
277
|
-
};
|
|
278
|
-
}
|
|
279
|
-
/** Serialises a resolved body for the wire. */
|
|
280
|
-
function encodeBody(body, contentType) {
|
|
281
|
-
if (body === undefined)
|
|
282
|
-
return undefined;
|
|
283
|
-
if (typeof body === "string" && contentType && !/json/i.test(contentType))
|
|
284
|
-
return body;
|
|
285
|
-
return JSON.stringify(body);
|
|
286
|
-
}
|
|
287
|
-
const routeCache = new Map();
|
|
288
|
-
function escapeRegex(text) {
|
|
289
|
-
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
290
|
-
}
|
|
291
|
-
function compileRoute(route) {
|
|
292
|
-
const cached = routeCache.get(route);
|
|
293
|
-
if (cached)
|
|
294
|
-
return cached;
|
|
295
|
-
let statics = 0;
|
|
296
|
-
let params = 0;
|
|
297
|
-
const pattern = route
|
|
298
|
-
.split("/")
|
|
299
|
-
.map(segment => {
|
|
300
|
-
if (!segment)
|
|
301
|
-
return "";
|
|
302
|
-
if (/\{[^}]+\}/.test(segment)) {
|
|
303
|
-
params++;
|
|
304
|
-
return segment
|
|
305
|
-
.split(/(\{[^}]+\})/)
|
|
306
|
-
.map(part => (/^\{[^}]+\}$/.test(part) ? "([^/]+)" : escapeRegex(part)))
|
|
307
|
-
.join("");
|
|
308
|
-
}
|
|
309
|
-
statics++;
|
|
310
|
-
return escapeRegex(segment);
|
|
311
|
-
})
|
|
312
|
-
.join("/");
|
|
313
|
-
const compiled = { regex: new RegExp(`^${pattern || "/"}/?$`), statics, params };
|
|
314
|
-
routeCache.set(route, compiled);
|
|
315
|
-
return compiled;
|
|
316
|
-
}
|
|
317
|
-
/** Converts `/pets/{petId}` to the `/pets/:petId` syntax used by MSW. */
|
|
318
|
-
function toMswPath(route) {
|
|
319
|
-
return route.replace(/\{([^}]+)\}/g, (_m, name) => `:${name.replace(/[^A-Za-z0-9_]/g, "_")}`);
|
|
320
|
-
}
|
|
321
|
-
/** Static segments beat templated ones, so `/pets/mine` wins over `/pets/{petId}`. */
|
|
322
|
-
function routeSpecificity(a, b) {
|
|
323
|
-
const ra = compileRoute(a.route);
|
|
324
|
-
const rb = compileRoute(b.route);
|
|
325
|
-
return rb.statics - ra.statics || ra.params - rb.params || a.route.localeCompare(b.route);
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Finds the active operation that serves `method` + `pathname`, trying the path as-is and with
|
|
329
|
-
* each known base path (from `servers`) stripped.
|
|
330
|
-
*/
|
|
331
|
-
function matchOperation(operations, method, pathname, basePaths = []) {
|
|
332
|
-
const m = method.toLowerCase();
|
|
333
|
-
const candidates = operations.filter(op => op.active && op.method === m).sort(routeSpecificity);
|
|
334
|
-
const paths = [pathname];
|
|
335
|
-
for (const base of basePaths) {
|
|
336
|
-
if (base && (pathname === base || pathname.startsWith(base + "/"))) {
|
|
337
|
-
paths.push(pathname.slice(base.length) || "/");
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
for (const path of paths) {
|
|
341
|
-
const found = candidates.find(op => compileRoute(op.route).regex.test(path));
|
|
342
|
-
if (found)
|
|
343
|
-
return found;
|
|
344
|
-
}
|
|
345
|
-
return undefined;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
exports.EMPTY = EMPTY;
|
|
349
|
-
exports.GENERATED = GENERATED;
|
|
350
|
-
exports.HTTP_METHODS = HTTP_METHODS;
|
|
351
|
-
exports.SCENARIO_HEADER = SCENARIO_HEADER;
|
|
352
|
-
exports.applySelection = applySelection;
|
|
353
|
-
exports.buildOperationStates = buildOperationStates;
|
|
354
|
-
exports.effectiveExample = effectiveExample;
|
|
355
|
-
exports.encodeBody = encodeBody;
|
|
356
|
-
exports.matchOperation = matchOperation;
|
|
357
|
-
exports.operationKey = operationKey;
|
|
358
|
-
exports.parseScenarioHeader = parseScenarioHeader;
|
|
359
|
-
exports.resolveResponse = resolveResponse;
|
|
360
|
-
exports.routeSpecificity = routeSpecificity;
|
|
361
|
-
exports.scenarioFromState = scenarioFromState;
|
|
362
|
-
exports.toMswPath = toMswPath;
|
|
363
|
-
exports.variantsOf = variantsOf;
|
|
364
|
-
//# sourceMappingURL=scenario-DKCQMD5-.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scenario-DKCQMD5-.js","sources":["../../src/types.ts","../../src/scenario.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;AAAA;;;AAGG;AAII,MAAM,YAAY,GAAiB;IACxC,KAAK;IACL,KAAK;IACL,MAAM;IACN,QAAQ;IACR,SAAS;IACT,MAAM;IACN,OAAO;IACP;;AAGF;AACO,MAAM,SAAS,GAAG;AACzB;AACO,MAAM,KAAK,GAAG;;ACrBrB;;;AAGG;AAeI,MAAM,eAAe,GAAG;AAC/B,MAAM,KAAK,GAAmB,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC;AACzD,MAAM,YAAY,GAAG,OAAO;AAEtB,SAAU,YAAY,CAAC,MAAc,EAAE,KAAa,EAAA;IACxD,OAAO,CAAA,EAAG,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAA,CAAA,EAAI,KAAK,CAAA,CAAE;AACnD;AAWA;AACM,SAAU,UAAU,CAAC,EAAsB,EAAA;IAC/C,MAAM,IAAI,GAAc,EAAE;AAC1B,IAAA,KAAK,MAAM,QAAQ,IAAI,EAAE,CAAC,SAAS,EAAE;QACnC,IAAI,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;AAChC,YAAA,KAAK,MAAM,EAAE,IAAI,QAAQ,CAAC,QAAQ,EAAE;AAClC,gBAAA,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,IAAI,EAAE,I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