@aidc-toolkit/app-extension 1.0.45-beta → 1.0.45
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/index.cjs +17 -0
- package/dist/index.d.cts +1752 -0
- package/dist/index.d.ts +1752 -26
- package/dist/index.js +1 -8
- package/package.json +5 -5
- package/tsconfig-src.tsbuildinfo +1 -1
- package/dist/app-extension.d.ts +0 -194
- package/dist/app-extension.d.ts.map +0 -1
- package/dist/app-extension.js +0 -133
- package/dist/app-extension.js.map +0 -1
- package/dist/app-helper-proxy.d.ts +0 -61
- package/dist/app-helper-proxy.d.ts.map +0 -1
- package/dist/app-helper-proxy.js +0 -333
- package/dist/app-helper-proxy.js.map +0 -1
- package/dist/descriptor.d.ts +0 -197
- package/dist/descriptor.d.ts.map +0 -1
- package/dist/descriptor.js +0 -44
- package/dist/descriptor.js.map +0 -1
- package/dist/generator/generator.d.ts +0 -124
- package/dist/generator/generator.d.ts.map +0 -1
- package/dist/generator/generator.js +0 -190
- package/dist/generator/generator.js.map +0 -1
- package/dist/generator/index.d.ts +0 -18
- package/dist/generator/index.d.ts.map +0 -1
- package/dist/generator/index.js +0 -18
- package/dist/generator/index.js.map +0 -1
- package/dist/generator/locale-resources-generator.d.ts +0 -2
- package/dist/generator/locale-resources-generator.d.ts.map +0 -1
- package/dist/generator/locale-resources-generator.js +0 -312
- package/dist/generator/locale-resources-generator.js.map +0 -1
- package/dist/gs1/character-set-proxy.d.ts +0 -13
- package/dist/gs1/character-set-proxy.d.ts.map +0 -1
- package/dist/gs1/character-set-proxy.js +0 -126
- package/dist/gs1/character-set-proxy.js.map +0 -1
- package/dist/gs1/check-proxy.d.ts +0 -11
- package/dist/gs1/check-proxy.d.ts.map +0 -1
- package/dist/gs1/check-proxy.js +0 -163
- package/dist/gs1/check-proxy.js.map +0 -1
- package/dist/gs1/gcp-length-proxy.d.ts +0 -11
- package/dist/gs1/gcp-length-proxy.d.ts.map +0 -1
- package/dist/gs1/gcp-length-proxy.js +0 -190
- package/dist/gs1/gcp-length-proxy.js.map +0 -1
- package/dist/gs1/gtin-creator-proxy.d.ts +0 -10
- package/dist/gs1/gtin-creator-proxy.d.ts.map +0 -1
- package/dist/gs1/gtin-creator-proxy.js +0 -85
- package/dist/gs1/gtin-creator-proxy.js.map +0 -1
- package/dist/gs1/gtin-descriptor.d.ts +0 -3
- package/dist/gs1/gtin-descriptor.d.ts.map +0 -1
- package/dist/gs1/gtin-descriptor.js +0 -8
- package/dist/gs1/gtin-descriptor.js.map +0 -1
- package/dist/gs1/gtin-validator-proxy.d.ts +0 -26
- package/dist/gs1/gtin-validator-proxy.d.ts.map +0 -1
- package/dist/gs1/gtin-validator-proxy.js +0 -256
- package/dist/gs1/gtin-validator-proxy.js.map +0 -1
- package/dist/gs1/identifier-creator-proxy.d.ts +0 -30
- package/dist/gs1/identifier-creator-proxy.d.ts.map +0 -1
- package/dist/gs1/identifier-creator-proxy.js +0 -302
- package/dist/gs1/identifier-creator-proxy.js.map +0 -1
- package/dist/gs1/identifier-descriptor.d.ts +0 -4
- package/dist/gs1/identifier-descriptor.d.ts.map +0 -1
- package/dist/gs1/identifier-descriptor.js +0 -14
- package/dist/gs1/identifier-descriptor.js.map +0 -1
- package/dist/gs1/identifier-type.d.ts +0 -22
- package/dist/gs1/identifier-type.d.ts.map +0 -1
- package/dist/gs1/identifier-type.js +0 -34
- package/dist/gs1/identifier-type.js.map +0 -1
- package/dist/gs1/identifier-validator-proxy.d.ts +0 -29
- package/dist/gs1/identifier-validator-proxy.d.ts.map +0 -1
- package/dist/gs1/identifier-validator-proxy.js +0 -212
- package/dist/gs1/identifier-validator-proxy.js.map +0 -1
- package/dist/gs1/index.d.ts +0 -11
- package/dist/gs1/index.d.ts.map +0 -1
- package/dist/gs1/index.js +0 -11
- package/dist/gs1/index.js.map +0 -1
- package/dist/gs1/non-gtin-creator-proxy.d.ts +0 -38
- package/dist/gs1/non-gtin-creator-proxy.d.ts.map +0 -1
- package/dist/gs1/non-gtin-creator-proxy.js +0 -301
- package/dist/gs1/non-gtin-creator-proxy.js.map +0 -1
- package/dist/gs1/non-gtin-validator-proxy.d.ts +0 -37
- package/dist/gs1/non-gtin-validator-proxy.d.ts.map +0 -1
- package/dist/gs1/non-gtin-validator-proxy.js +0 -302
- package/dist/gs1/non-gtin-validator-proxy.js.map +0 -1
- package/dist/gs1/prefix-definition-descriptor.d.ts +0 -4
- package/dist/gs1/prefix-definition-descriptor.d.ts.map +0 -1
- package/dist/gs1/prefix-definition-descriptor.js +0 -16
- package/dist/gs1/prefix-definition-descriptor.js.map +0 -1
- package/dist/gs1/prefix-manager-proxy.d.ts +0 -8
- package/dist/gs1/prefix-manager-proxy.d.ts.map +0 -1
- package/dist/gs1/prefix-manager-proxy.js +0 -94
- package/dist/gs1/prefix-manager-proxy.js.map +0 -1
- package/dist/gs1/variable-measure-proxy.d.ts +0 -7
- package/dist/gs1/variable-measure-proxy.d.ts.map +0 -1
- package/dist/gs1/variable-measure-proxy.js +0 -114
- package/dist/gs1/variable-measure-proxy.js.map +0 -1
- package/dist/gs1/verified-by-gs1-proxy.d.ts +0 -7
- package/dist/gs1/verified-by-gs1-proxy.d.ts.map +0 -1
- package/dist/gs1/verified-by-gs1-proxy.js +0 -106
- package/dist/gs1/verified-by-gs1-proxy.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lib-proxy.d.ts +0 -135
- package/dist/lib-proxy.d.ts.map +0 -1
- package/dist/lib-proxy.js +0 -276
- package/dist/lib-proxy.js.map +0 -1
- package/dist/locale/en/locale-resources.d.ts +0 -752
- package/dist/locale/en/locale-resources.d.ts.map +0 -1
- package/dist/locale/en/locale-resources.js +0 -751
- package/dist/locale/en/locale-resources.js.map +0 -1
- package/dist/locale/fr/locale-resources.d.ts +0 -752
- package/dist/locale/fr/locale-resources.d.ts.map +0 -1
- package/dist/locale/fr/locale-resources.js +0 -751
- package/dist/locale/fr/locale-resources.js.map +0 -1
- package/dist/locale/i18n.d.ts +0 -27
- package/dist/locale/i18n.d.ts.map +0 -1
- package/dist/locale/i18n.js +0 -36
- package/dist/locale/i18n.js.map +0 -1
- package/dist/proxy.d.ts +0 -136
- package/dist/proxy.d.ts.map +0 -1
- package/dist/proxy.js +0 -295
- package/dist/proxy.js.map +0 -1
- package/dist/streaming.d.ts +0 -10
- package/dist/streaming.d.ts.map +0 -1
- package/dist/streaming.js +0 -2
- package/dist/streaming.js.map +0 -1
- package/dist/type.d.ts +0 -91
- package/dist/type.d.ts.map +0 -1
- package/dist/type.js +0 -2
- package/dist/type.js.map +0 -1
- package/dist/utility/character-set-descriptor.d.ts +0 -6
- package/dist/utility/character-set-descriptor.d.ts.map +0 -1
- package/dist/utility/character-set-descriptor.js +0 -28
- package/dist/utility/character-set-descriptor.js.map +0 -1
- package/dist/utility/character-set-proxy.d.ts +0 -31
- package/dist/utility/character-set-proxy.d.ts.map +0 -1
- package/dist/utility/character-set-proxy.js +0 -278
- package/dist/utility/character-set-proxy.js.map +0 -1
- package/dist/utility/index.d.ts +0 -4
- package/dist/utility/index.d.ts.map +0 -1
- package/dist/utility/index.js +0 -4
- package/dist/utility/index.js.map +0 -1
- package/dist/utility/reg-exp-proxy.d.ts +0 -8
- package/dist/utility/reg-exp-proxy.d.ts.map +0 -1
- package/dist/utility/reg-exp-proxy.js +0 -103
- package/dist/utility/reg-exp-proxy.js.map +0 -1
- package/dist/utility/string-descriptor.d.ts +0 -4
- package/dist/utility/string-descriptor.d.ts.map +0 -1
- package/dist/utility/string-descriptor.js +0 -12
- package/dist/utility/string-descriptor.js.map +0 -1
- package/dist/utility/string-proxy.d.ts +0 -7
- package/dist/utility/string-proxy.d.ts.map +0 -1
- package/dist/utility/string-proxy.js +0 -63
- package/dist/utility/string-proxy.js.map +0 -1
- package/dist/utility/transformer-descriptor.d.ts +0 -6
- package/dist/utility/transformer-descriptor.d.ts.map +0 -1
- package/dist/utility/transformer-descriptor.js +0 -24
- package/dist/utility/transformer-descriptor.js.map +0 -1
- package/dist/utility/transformer-proxy.d.ts +0 -9
- package/dist/utility/transformer-proxy.d.ts.map +0 -1
- package/dist/utility/transformer-proxy.js +0 -111
- package/dist/utility/transformer-proxy.js.map +0 -1
package/dist/lib-proxy.js
DELETED
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
import { mapIterable } from "@aidc-toolkit/utility";
|
|
2
|
-
import { i18nextAppExtension } from "./locale/i18n.js";
|
|
3
|
-
/**
|
|
4
|
-
* Library proxy.
|
|
5
|
-
*
|
|
6
|
-
* @template ThrowError
|
|
7
|
-
* If true, errors are reported through the throw/catch mechanism.
|
|
8
|
-
*
|
|
9
|
-
* @template TError
|
|
10
|
-
* Error type.
|
|
11
|
-
*
|
|
12
|
-
* @template TInvocationContext
|
|
13
|
-
* Application-specific invocation context type.
|
|
14
|
-
*
|
|
15
|
-
* @template TStreamingInvocationContext
|
|
16
|
-
* Application-specific streaming invocation context type.
|
|
17
|
-
*
|
|
18
|
-
* @template TBigInt
|
|
19
|
-
* Type to which big integer is mapped.
|
|
20
|
-
*/
|
|
21
|
-
export class LibProxy {
|
|
22
|
-
/**
|
|
23
|
-
* Application extension.
|
|
24
|
-
*/
|
|
25
|
-
#appExtension;
|
|
26
|
-
/**
|
|
27
|
-
* Constructor.
|
|
28
|
-
*
|
|
29
|
-
* @param appExtension
|
|
30
|
-
* Application extension.
|
|
31
|
-
*/
|
|
32
|
-
constructor(appExtension) {
|
|
33
|
-
this.#appExtension = appExtension;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Get the application extension.
|
|
37
|
-
*/
|
|
38
|
-
get appExtension() {
|
|
39
|
-
return this.#appExtension;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Map big integer to another type if necessary.
|
|
43
|
-
*
|
|
44
|
-
* @param value
|
|
45
|
-
* Big integer value to map.
|
|
46
|
-
*
|
|
47
|
-
* @returns
|
|
48
|
-
* Mapped big integer value.
|
|
49
|
-
*/
|
|
50
|
-
mapBigInt(value) {
|
|
51
|
-
return this.#appExtension.mapBigInt(value);
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Handle an error thrown by a function call. Return type is {@linkcode SingletonResult} to ensure assignment
|
|
55
|
-
* compatibility.
|
|
56
|
-
*
|
|
57
|
-
* @param e
|
|
58
|
-
* Error.
|
|
59
|
-
*
|
|
60
|
-
* @returns
|
|
61
|
-
* Error if errors are not thrown.
|
|
62
|
-
*/
|
|
63
|
-
#handleError(e) {
|
|
64
|
-
let result;
|
|
65
|
-
if (e instanceof RangeError) {
|
|
66
|
-
const error = this.#appExtension.mapRangeError(e);
|
|
67
|
-
if (this.#appExtension.throwError) {
|
|
68
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- Type is determined by application mapping.
|
|
69
|
-
throw error;
|
|
70
|
-
}
|
|
71
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- Won't get here if ThrowError is false so result is TError.
|
|
72
|
-
result = error;
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
// Unknown error; pass on to application extension.
|
|
76
|
-
result = this.appExtension.handleError(e instanceof Error ? e.message : String(e));
|
|
77
|
-
}
|
|
78
|
-
return result;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Call a singleton result function with error handling.
|
|
82
|
-
*
|
|
83
|
-
* @param callback
|
|
84
|
-
* Callback.
|
|
85
|
-
*
|
|
86
|
-
* @returns
|
|
87
|
-
* Callback return or error if errors are not thrown.
|
|
88
|
-
*/
|
|
89
|
-
singletonResult(callback) {
|
|
90
|
-
let result;
|
|
91
|
-
try {
|
|
92
|
-
result = callback();
|
|
93
|
-
}
|
|
94
|
-
catch (e) {
|
|
95
|
-
result = this.#handleError(e);
|
|
96
|
-
}
|
|
97
|
-
return result;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Call a matrix result function with error handling.
|
|
101
|
-
*
|
|
102
|
-
* @param matrixValues
|
|
103
|
-
* Matrix of values.
|
|
104
|
-
*
|
|
105
|
-
* @param valueCallback
|
|
106
|
-
* Callback to process value.
|
|
107
|
-
*
|
|
108
|
-
* @returns
|
|
109
|
-
* Matrix of callback results and errors if errors are not thrown.
|
|
110
|
-
*/
|
|
111
|
-
matrixResult(matrixValues, valueCallback) {
|
|
112
|
-
return matrixValues.map(rowValues => rowValues.map(value => this.singletonResult(() => valueCallback(value))));
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Map a matrix of validate string results to boolean. If the string is empty, the result is true, indicating that
|
|
116
|
-
* there is no error.
|
|
117
|
-
*
|
|
118
|
-
* @param matrixValidateResults
|
|
119
|
-
* Matrix of results from a call to a validate function.
|
|
120
|
-
*
|
|
121
|
-
* @returns
|
|
122
|
-
* Matrix of boolean values, true if corresponding string is empty.
|
|
123
|
-
*/
|
|
124
|
-
isValidString(matrixValidateResults) {
|
|
125
|
-
return matrixValidateResults.map(rowValues => rowValues.map(value => (validateResult => validateResult === "")(value)));
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Set up a mapping and call a matrix result function with error handling.
|
|
129
|
-
*
|
|
130
|
-
* @param setUpCallback
|
|
131
|
-
* Callback to set up the mapping.
|
|
132
|
-
*
|
|
133
|
-
* @param matrixValues
|
|
134
|
-
* Matrix of values.
|
|
135
|
-
*
|
|
136
|
-
* @param valueCallback
|
|
137
|
-
* Callback to process value.
|
|
138
|
-
*
|
|
139
|
-
* @returns
|
|
140
|
-
* Matrix of callback results and errors if errors are not thrown.
|
|
141
|
-
*/
|
|
142
|
-
setUpMatrixResult(setUpCallback, matrixValues, valueCallback) {
|
|
143
|
-
let result;
|
|
144
|
-
try {
|
|
145
|
-
result = matrixValues.map(rowValues => rowValues.map(value => this.singletonResult(() => valueCallback(setUpCallback(), value))));
|
|
146
|
-
}
|
|
147
|
-
catch (e) {
|
|
148
|
-
result = [[this.#handleError(e)]];
|
|
149
|
-
}
|
|
150
|
-
return result;
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Do the callback for an array return.
|
|
154
|
-
*
|
|
155
|
-
* @param value
|
|
156
|
-
* Value.
|
|
157
|
-
*
|
|
158
|
-
* @param callback
|
|
159
|
-
* Callback.
|
|
160
|
-
*
|
|
161
|
-
* @returns
|
|
162
|
-
* Callback result or error as array if errors are not thrown.
|
|
163
|
-
*/
|
|
164
|
-
#arrayCallback(value, callback) {
|
|
165
|
-
const result = this.singletonResult(() => callback(value));
|
|
166
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- If result is not an array, it must be an error.
|
|
167
|
-
return result instanceof Array ? result : [result];
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Call an array result function with error handling and map to a matrix.
|
|
171
|
-
*
|
|
172
|
-
* @param matrixValues
|
|
173
|
-
* Matrix of values.
|
|
174
|
-
*
|
|
175
|
-
* @param callback
|
|
176
|
-
* Callback.
|
|
177
|
-
*
|
|
178
|
-
* @returns
|
|
179
|
-
* Matrix of callback results and errors if errors are not thrown.
|
|
180
|
-
*/
|
|
181
|
-
arrayResult(matrixValues, callback) {
|
|
182
|
-
let result;
|
|
183
|
-
if (matrixValues.length === 0) {
|
|
184
|
-
// Special case; unlikely to occur.
|
|
185
|
-
result = [[]];
|
|
186
|
-
}
|
|
187
|
-
else if (matrixValues.length === 1) {
|
|
188
|
-
result = [];
|
|
189
|
-
matrixValues[0].forEach((value, columnIndex) => {
|
|
190
|
-
const arrayResult = this.#arrayCallback(value, callback);
|
|
191
|
-
arrayResult.forEach((resultError, rowIndex) => {
|
|
192
|
-
// Append a row if necessary.
|
|
193
|
-
if (result.length <= rowIndex) {
|
|
194
|
-
result.push([]);
|
|
195
|
-
}
|
|
196
|
-
// Assignment will automatically expand row to the number of columns in the matrix.
|
|
197
|
-
result[rowIndex][columnIndex] = resultError;
|
|
198
|
-
});
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
else {
|
|
202
|
-
result = matrixValues.map((rowValue) => {
|
|
203
|
-
let arrayResult;
|
|
204
|
-
if (rowValue.length === 0) {
|
|
205
|
-
// Special case; unlikely to occur.
|
|
206
|
-
arrayResult = [];
|
|
207
|
-
}
|
|
208
|
-
else if (rowValue.length === 1) {
|
|
209
|
-
arrayResult = this.#arrayCallback(rowValue[0], callback);
|
|
210
|
-
}
|
|
211
|
-
else {
|
|
212
|
-
arrayResult = [this.#handleError(new RangeError(i18nextAppExtension.t("Proxy.matrixMustBeArray")))];
|
|
213
|
-
}
|
|
214
|
-
return arrayResult;
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
return result;
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* Call a matrix result function with error handling and map a non-error result to an empty string and {@linkcode
|
|
221
|
-
* RangeError} to the string error message.
|
|
222
|
-
*
|
|
223
|
-
* @param matrixValues
|
|
224
|
-
* Matrix of values.
|
|
225
|
-
*
|
|
226
|
-
* @param callback
|
|
227
|
-
* Callback that either returns or throws an exception.
|
|
228
|
-
*
|
|
229
|
-
* @returns
|
|
230
|
-
* Matrix of strings.
|
|
231
|
-
*/
|
|
232
|
-
matrixErrorResult(matrixValues, callback) {
|
|
233
|
-
return matrixValues.map(rowValues => rowValues.map((value) => {
|
|
234
|
-
let result;
|
|
235
|
-
try {
|
|
236
|
-
callback(value);
|
|
237
|
-
// No error; return empty string.
|
|
238
|
-
result = "";
|
|
239
|
-
}
|
|
240
|
-
catch (e) {
|
|
241
|
-
if (e instanceof RangeError) {
|
|
242
|
-
// Library error; return error message.
|
|
243
|
-
result = e.message;
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
// Unknown error; pass up the stack.
|
|
247
|
-
throw e;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
return result;
|
|
251
|
-
}));
|
|
252
|
-
}
|
|
253
|
-
/**
|
|
254
|
-
* Call an iterable result function with error handling and map to a matrix. Although the natural approach would be
|
|
255
|
-
* to map to a single-element array containing an array of *N* results (i.e., [[r0, r1, r2, ..., r*N*]]), this is
|
|
256
|
-
* rendered visually as a single row. The more readable approach is as a single column, so the mapping is to an
|
|
257
|
-
* *N*-element array of single-element result arrays (i.e., [[r0], [r1], [r2], ..., [r*N*]]).
|
|
258
|
-
*
|
|
259
|
-
* @param iterableCallback
|
|
260
|
-
* Iterable callback.
|
|
261
|
-
*
|
|
262
|
-
* @returns
|
|
263
|
-
* Matrix of callback results.
|
|
264
|
-
*/
|
|
265
|
-
iterableResult(iterableCallback) {
|
|
266
|
-
let result;
|
|
267
|
-
try {
|
|
268
|
-
result = Array.from(mapIterable(iterableCallback(), result => [result]));
|
|
269
|
-
}
|
|
270
|
-
catch (e) {
|
|
271
|
-
result = [[this.#handleError(e)]];
|
|
272
|
-
}
|
|
273
|
-
return result;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
//# sourceMappingURL=lib-proxy.js.map
|
package/dist/lib-proxy.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lib-proxy.js","sourceRoot":"","sources":["../src/lib-proxy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAgB,QAAQ;IAC1B;;OAEG;IACM,aAAa,CAA6F;IAEnH;;;;;OAKG;IACH,YAAY,YAAwG;QAChH,IAAI,CAAC,aAAa,GAAG,YAAY,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,IAAI,YAAY;QACZ,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAED;;;;;;;;OAQG;IACH,SAAS,CAAC,KAAa;QACnB,OAAO,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,CAAU,CAAU;QAC5B,IAAI,MAA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