@unicom-cloud/utils 0.1.4 → 0.1.5
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/constant/keyboardCode.js +41 -40
- package/constant/platform.js +14 -16
- package/cookie/src/index.js +46 -46
- package/dayjs/index.js +15 -0
- package/decimal/decimal.js +56 -56
- package/event-emitter/index.js +14 -23
- package/file/fileToURL.js +8 -9
- package/file/saveAs.js +1 -1
- package/mock/MockWebSocket.js +67 -90
- package/mock/MockXMLHttpRequest.js +51 -61
- package/package.json +1 -1
- package/random/address.js +10 -10
- package/screenfull/index.js +43 -43
- package/snapdom/src/api/preCache.js +34 -24
- package/snapdom/src/api/snapdom.js +56 -56
- package/snapdom/src/core/cache.js +3 -2
- package/snapdom/src/core/capture.js +32 -32
- package/snapdom/src/core/clone.js +39 -38
- package/snapdom/src/core/prepare.js +10 -11
- package/snapdom/src/modules/background.js +45 -22
- package/snapdom/src/modules/fonts.js +148 -45
- package/snapdom/src/modules/images.js +7 -7
- package/snapdom/src/modules/pseudo.js +75 -45
- package/snapdom/src/modules/styles.js +7 -8
- package/snapdom/src/utils/helpers.js +56 -53
- package/tree/index.js +31 -32
- package/turbo-stream/src/encode.js +149 -152
- package/turbo-stream/src/shared.js +155 -173
|
@@ -1,52 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function we(s, { plugins: t = [], redactErrors: r = !0, signal: f } = {}) {
|
|
7
|
-
const y = () => (f == null ? void 0 : f.aborted) ?? !1, c = new Promise((R, E) => {
|
|
8
|
-
f == null || f.addEventListener("abort", (p) => {
|
|
1
|
+
import { WaitGroup as P, STR_UNDEFINED as h, STR_NULL as M, STR_TRUE as B, STR_FALSE as C, STR_PROMISE as b, STR_READABLE_STREAM as O, STR_ASYNC_ITERABLE as F, STR_REFERENCE_SYMBOL as $, STR_DATE as x, STR_REGEXP as G, STR_URL as J, STR_ARRAY_BUFFER as V, STR_INT_8_ARRAY as j, STR_UINT_8_ARRAY as q, STR_UINT_8_ARRAY_CLAMPED as z, STR_INT_16_ARRAY as W, STR_UINT_16_ARRAY as K, STR_INT_32_ARRAY as X, STR_UINT_32_ARRAY as Z, STR_FLOAT_32_ARRAY as H, STR_FLOAT_64_ARRAY as Q, STR_BIG_INT_64_ARRAY as k, STR_BIG_UINT_64_ARRAY as ee, STR_DATA_VIEW as te, STR_FORM_DATA as ie, SUPPORTS_FILE as ne, STR_FILE as oe, STR_BLOB as se, STR_ERROR as re, STR_SET as ae, STR_MAP as fe, STR_PLUGIN as Y, STR_NaN as pe, STR_INFINITY as Re, STR_NEGATIVE_INFINITY as _e, STR_NEGATIVE_ZERO as le, STR_BIGINT as ue, STR_SYMBOL as Se, STR_REDACTED as Ae, STR_SUCCESS as L, STR_FAILURE as U } from "./shared.js";
|
|
2
|
+
const { NEGATIVE_INFINITY: ye, POSITIVE_INFINITY: ce, isNaN: Te } = Number, v = 1, D = 2;
|
|
3
|
+
function Ne(f, { plugins: t = [], redactErrors: _ = !0, signal: p } = {}) {
|
|
4
|
+
const y = () => p?.aborted ?? !1, c = new Promise((a, E) => {
|
|
5
|
+
p?.addEventListener("abort", (r) => {
|
|
9
6
|
E(new DOMException("Aborted", "AbortError"));
|
|
10
7
|
});
|
|
11
8
|
});
|
|
12
9
|
return new ReadableStream({
|
|
13
|
-
async start(
|
|
14
|
-
const E = /* @__PURE__ */ new WeakMap(),
|
|
15
|
-
|
|
10
|
+
async start(a) {
|
|
11
|
+
const E = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), I = { refId: 0, promiseId: 0 }, T = new P(), e = [], u = (o) => {
|
|
12
|
+
de(
|
|
16
13
|
o,
|
|
17
14
|
e,
|
|
18
15
|
E,
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
r,
|
|
17
|
+
s,
|
|
21
18
|
I,
|
|
22
19
|
t,
|
|
23
|
-
|
|
24
|
-
),
|
|
20
|
+
_
|
|
21
|
+
), a.enqueue(e.join("") + `
|
|
25
22
|
`), e.length = 0;
|
|
26
|
-
}, i = (o,
|
|
27
|
-
T.done(), !y() && (
|
|
28
|
-
}, n = (o,
|
|
29
|
-
T.done(), !y() && (
|
|
30
|
-
},
|
|
23
|
+
}, i = (o, S) => {
|
|
24
|
+
T.done(), !y() && (a.enqueue(`${o}${L}`), u(S));
|
|
25
|
+
}, n = (o, S) => {
|
|
26
|
+
T.done(), !y() && (a.enqueue(`${o}${U}`), u(S));
|
|
27
|
+
}, s = {
|
|
31
28
|
push: (...o) => {
|
|
32
|
-
for (const [
|
|
33
|
-
T.add(),
|
|
29
|
+
for (const [S, d, w] of o)
|
|
30
|
+
T.add(), S === v ? Promise.race([w, c]).then(
|
|
34
31
|
i.bind(null, d),
|
|
35
32
|
n.bind(null, d)
|
|
36
33
|
) : (async () => {
|
|
37
|
-
const g =
|
|
34
|
+
const g = w[Symbol.asyncIterator]();
|
|
38
35
|
let N;
|
|
39
36
|
do {
|
|
40
37
|
if (N = await g.next(), y()) return;
|
|
41
|
-
N.done || (
|
|
38
|
+
N.done || (a.enqueue(`${d}${L}`), u(N.value));
|
|
42
39
|
} while (!N.done);
|
|
43
40
|
})().then(
|
|
44
41
|
() => {
|
|
45
|
-
y() ||
|
|
42
|
+
y() || a.enqueue(`${d}
|
|
46
43
|
`);
|
|
47
44
|
},
|
|
48
45
|
(g) => {
|
|
49
|
-
y() || (
|
|
46
|
+
y() || (a.enqueue(`${d}${U}`), u(g));
|
|
50
47
|
}
|
|
51
48
|
).finally(() => {
|
|
52
49
|
T.done();
|
|
@@ -54,95 +51,95 @@ function we(s, { plugins: t = [], redactErrors: r = !0, signal: f } = {}) {
|
|
|
54
51
|
}
|
|
55
52
|
};
|
|
56
53
|
try {
|
|
57
|
-
|
|
54
|
+
u(f);
|
|
58
55
|
do
|
|
59
56
|
await Promise.race([T.wait(), c]);
|
|
60
57
|
while (T.p > 0);
|
|
61
|
-
|
|
58
|
+
a.close();
|
|
62
59
|
} catch (o) {
|
|
63
|
-
|
|
60
|
+
a.error(o);
|
|
64
61
|
}
|
|
65
62
|
}
|
|
66
63
|
});
|
|
67
64
|
}
|
|
68
|
-
const A = 1,
|
|
69
|
-
class
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
this.type = t, this.prefix =
|
|
65
|
+
const A = 1, m = 2;
|
|
66
|
+
class l {
|
|
67
|
+
type;
|
|
68
|
+
prefix;
|
|
69
|
+
value;
|
|
70
|
+
constructor(t, _, p) {
|
|
71
|
+
this.type = t, this.prefix = _, this.value = p;
|
|
75
72
|
}
|
|
76
73
|
}
|
|
77
|
-
function
|
|
78
|
-
const
|
|
79
|
-
new
|
|
74
|
+
function de(f, t, _, p, y, c, a, E) {
|
|
75
|
+
const r = [
|
|
76
|
+
new l(
|
|
80
77
|
A,
|
|
81
78
|
"",
|
|
82
|
-
|
|
79
|
+
f
|
|
83
80
|
)
|
|
84
81
|
];
|
|
85
82
|
let I;
|
|
86
|
-
e: for (; (I =
|
|
87
|
-
if (I.type ===
|
|
83
|
+
e: for (; (I = r.pop()) !== void 0; ) {
|
|
84
|
+
if (I.type === m) {
|
|
88
85
|
t.push(I.prefix);
|
|
89
86
|
continue;
|
|
90
87
|
}
|
|
91
88
|
const { prefix: T, value: e } = I;
|
|
92
89
|
if (t.push(T), e === void 0) {
|
|
93
|
-
t.push(
|
|
90
|
+
t.push(h);
|
|
94
91
|
continue;
|
|
95
92
|
}
|
|
96
93
|
if (e === null) {
|
|
97
|
-
t.push(
|
|
94
|
+
t.push(M);
|
|
98
95
|
continue;
|
|
99
96
|
}
|
|
100
97
|
if (e === !0) {
|
|
101
|
-
t.push(
|
|
98
|
+
t.push(B);
|
|
102
99
|
continue;
|
|
103
100
|
}
|
|
104
101
|
if (e === !1) {
|
|
105
|
-
t.push(
|
|
102
|
+
t.push(C);
|
|
106
103
|
continue;
|
|
107
104
|
}
|
|
108
|
-
const
|
|
109
|
-
if (
|
|
105
|
+
const u = typeof e;
|
|
106
|
+
if (u === "object") {
|
|
110
107
|
if (e instanceof Promise || typeof e.then == "function") {
|
|
111
|
-
const i =
|
|
108
|
+
const i = p.get(e);
|
|
112
109
|
if (i !== void 0) {
|
|
113
|
-
t.push(
|
|
110
|
+
t.push(b, i.toString());
|
|
114
111
|
continue;
|
|
115
112
|
}
|
|
116
113
|
const n = c.promiseId++;
|
|
117
|
-
|
|
118
|
-
|
|
114
|
+
p.set(e, n), t.push(b, n.toString()), y.push([
|
|
115
|
+
v,
|
|
119
116
|
n,
|
|
120
117
|
e
|
|
121
118
|
]);
|
|
122
119
|
continue;
|
|
123
120
|
}
|
|
124
121
|
if (e instanceof ReadableStream) {
|
|
125
|
-
const i =
|
|
122
|
+
const i = p.get(e);
|
|
126
123
|
if (i !== void 0) {
|
|
127
|
-
t.push(
|
|
124
|
+
t.push(O, i.toString());
|
|
128
125
|
continue;
|
|
129
126
|
}
|
|
130
127
|
const n = c.promiseId++;
|
|
131
|
-
|
|
132
|
-
|
|
128
|
+
p.set(e, n), t.push(O, n.toString()), y.push([
|
|
129
|
+
D,
|
|
133
130
|
n,
|
|
134
131
|
{
|
|
135
132
|
[Symbol.asyncIterator]: async function* () {
|
|
136
|
-
const
|
|
133
|
+
const s = e.getReader();
|
|
137
134
|
try {
|
|
138
135
|
for (; ; ) {
|
|
139
|
-
const { done: o, value:
|
|
136
|
+
const { done: o, value: S } = await s.read();
|
|
140
137
|
if (o)
|
|
141
138
|
return;
|
|
142
|
-
yield
|
|
139
|
+
yield S;
|
|
143
140
|
}
|
|
144
141
|
} finally {
|
|
145
|
-
|
|
142
|
+
s.releaseLock();
|
|
146
143
|
}
|
|
147
144
|
}
|
|
148
145
|
}
|
|
@@ -150,73 +147,73 @@ function Ne(s, t, r, f, y, c, R, E) {
|
|
|
150
147
|
continue;
|
|
151
148
|
}
|
|
152
149
|
if (typeof e[Symbol.asyncIterator] == "function") {
|
|
153
|
-
const i =
|
|
150
|
+
const i = p.get(e);
|
|
154
151
|
if (i !== void 0) {
|
|
155
|
-
t.push(
|
|
152
|
+
t.push(F, i.toString());
|
|
156
153
|
continue;
|
|
157
154
|
}
|
|
158
155
|
const n = c.promiseId++;
|
|
159
|
-
|
|
160
|
-
|
|
156
|
+
p.set(e, n), t.push(F, n.toString()), y.push([
|
|
157
|
+
D,
|
|
161
158
|
n,
|
|
162
159
|
e
|
|
163
160
|
]);
|
|
164
161
|
continue;
|
|
165
162
|
}
|
|
166
163
|
{
|
|
167
|
-
const i =
|
|
164
|
+
const i = _.get(e);
|
|
168
165
|
if (i !== void 0) {
|
|
169
|
-
t.push(
|
|
166
|
+
t.push($, i.toString());
|
|
170
167
|
continue;
|
|
171
168
|
}
|
|
172
|
-
|
|
169
|
+
_.set(e, c.refId++);
|
|
173
170
|
}
|
|
174
171
|
if (e instanceof Date)
|
|
175
|
-
t.push(
|
|
172
|
+
t.push(x, '"', e.toJSON(), '"');
|
|
176
173
|
else if (e instanceof RegExp)
|
|
177
|
-
t.push(
|
|
174
|
+
t.push(G, JSON.stringify([e.source, e.flags]));
|
|
178
175
|
else if (e instanceof URL)
|
|
179
|
-
t.push(
|
|
176
|
+
t.push(J, JSON.stringify(e));
|
|
180
177
|
else if (e instanceof ArrayBuffer)
|
|
181
178
|
t.push(
|
|
182
|
-
|
|
183
|
-
|
|
179
|
+
V,
|
|
180
|
+
R(new Uint8Array(e))
|
|
184
181
|
);
|
|
185
182
|
else if (e instanceof Int8Array)
|
|
186
|
-
t.push(
|
|
183
|
+
t.push(j, R(e));
|
|
187
184
|
else if (e instanceof Uint8Array)
|
|
188
|
-
t.push(
|
|
185
|
+
t.push(q, R(e));
|
|
189
186
|
else if (e instanceof Uint8ClampedArray)
|
|
190
|
-
t.push(
|
|
187
|
+
t.push(z, R(e));
|
|
191
188
|
else if (e instanceof Int16Array)
|
|
192
|
-
t.push(
|
|
189
|
+
t.push(W, R(e));
|
|
193
190
|
else if (e instanceof Uint16Array)
|
|
194
|
-
t.push(
|
|
191
|
+
t.push(K, R(e));
|
|
195
192
|
else if (e instanceof Int32Array)
|
|
196
|
-
t.push(
|
|
193
|
+
t.push(X, R(e));
|
|
197
194
|
else if (e instanceof Uint32Array)
|
|
198
|
-
t.push(
|
|
195
|
+
t.push(Z, R(e));
|
|
199
196
|
else if (e instanceof Float32Array)
|
|
200
|
-
t.push(
|
|
197
|
+
t.push(H, R(e));
|
|
201
198
|
else if (e instanceof Float64Array)
|
|
202
|
-
t.push(
|
|
199
|
+
t.push(Q, R(e));
|
|
203
200
|
else if (e instanceof BigInt64Array)
|
|
204
|
-
t.push(
|
|
201
|
+
t.push(k, R(e));
|
|
205
202
|
else if (e instanceof BigUint64Array)
|
|
206
|
-
t.push(
|
|
203
|
+
t.push(ee, R(e));
|
|
207
204
|
else if (e instanceof DataView)
|
|
208
|
-
t.push(
|
|
205
|
+
t.push(te, R(e));
|
|
209
206
|
else if (e instanceof FormData)
|
|
210
|
-
|
|
211
|
-
new
|
|
207
|
+
r.push(
|
|
208
|
+
new l(
|
|
212
209
|
A,
|
|
213
|
-
|
|
210
|
+
ie,
|
|
214
211
|
Array.from(e.entries())
|
|
215
212
|
)
|
|
216
213
|
);
|
|
217
|
-
else if (
|
|
218
|
-
|
|
219
|
-
new
|
|
214
|
+
else if (ne && e instanceof File)
|
|
215
|
+
r.push(
|
|
216
|
+
new l(A, oe, {
|
|
220
217
|
promise: e.arrayBuffer(),
|
|
221
218
|
size: e.size,
|
|
222
219
|
type: e.type,
|
|
@@ -225,72 +222,72 @@ function Ne(s, t, r, f, y, c, R, E) {
|
|
|
225
222
|
})
|
|
226
223
|
);
|
|
227
224
|
else if (e instanceof Blob)
|
|
228
|
-
|
|
229
|
-
new
|
|
225
|
+
r.push(
|
|
226
|
+
new l(A, se, {
|
|
230
227
|
promise: e.arrayBuffer(),
|
|
231
228
|
size: e.size,
|
|
232
229
|
type: e.type
|
|
233
230
|
})
|
|
234
231
|
);
|
|
235
232
|
else if (e instanceof Error)
|
|
236
|
-
|
|
237
|
-
new
|
|
233
|
+
r.push(
|
|
234
|
+
new l(
|
|
238
235
|
A,
|
|
239
|
-
|
|
240
|
-
|
|
236
|
+
re,
|
|
237
|
+
Ie(e, E)
|
|
241
238
|
)
|
|
242
239
|
);
|
|
243
240
|
else if (typeof e.toJSON == "function") {
|
|
244
241
|
const i = e.toJSON();
|
|
245
|
-
|
|
246
|
-
new
|
|
242
|
+
r.push(
|
|
243
|
+
new l(
|
|
247
244
|
A,
|
|
248
245
|
"",
|
|
249
246
|
i
|
|
250
247
|
)
|
|
251
|
-
), typeof i == "object" ? c.refId-- :
|
|
248
|
+
), typeof i == "object" ? c.refId-- : _.delete(e);
|
|
252
249
|
} else {
|
|
253
250
|
if (typeof e[Symbol.iterator] == "function") {
|
|
254
|
-
const n = Array.isArray(e),
|
|
255
|
-
|
|
256
|
-
new
|
|
257
|
-
|
|
251
|
+
const n = Array.isArray(e), s = n ? e : Array.from(e);
|
|
252
|
+
r.push(
|
|
253
|
+
new l(
|
|
254
|
+
m,
|
|
258
255
|
"]",
|
|
259
256
|
void 0
|
|
260
257
|
)
|
|
261
258
|
);
|
|
262
|
-
for (let o =
|
|
263
|
-
|
|
264
|
-
new
|
|
259
|
+
for (let o = s.length - 1; o >= 0; o--)
|
|
260
|
+
r.push(
|
|
261
|
+
new l(
|
|
265
262
|
A,
|
|
266
263
|
o === 0 ? "" : ",",
|
|
267
|
-
|
|
264
|
+
s[o]
|
|
268
265
|
)
|
|
269
266
|
);
|
|
270
267
|
t.push(
|
|
271
|
-
n ? "[" : e instanceof Set ? `${
|
|
268
|
+
n ? "[" : e instanceof Set ? `${ae}[` : e instanceof Map ? `${fe}[` : "["
|
|
272
269
|
);
|
|
273
270
|
continue;
|
|
274
271
|
}
|
|
275
272
|
{
|
|
276
|
-
const i =
|
|
273
|
+
const i = a.length;
|
|
277
274
|
for (let n = 0; n < i; n++) {
|
|
278
|
-
const
|
|
279
|
-
if (Array.isArray(
|
|
280
|
-
|
|
281
|
-
new
|
|
275
|
+
const s = a[n](e);
|
|
276
|
+
if (Array.isArray(s)) {
|
|
277
|
+
r.push(
|
|
278
|
+
new l(
|
|
282
279
|
A,
|
|
283
|
-
|
|
284
|
-
|
|
280
|
+
Y,
|
|
281
|
+
s
|
|
285
282
|
)
|
|
286
|
-
), c.refId--,
|
|
283
|
+
), c.refId--, _.delete(e);
|
|
287
284
|
continue e;
|
|
288
285
|
}
|
|
289
286
|
}
|
|
290
287
|
}
|
|
291
|
-
|
|
292
|
-
new
|
|
293
|
-
|
|
288
|
+
r.push(
|
|
289
|
+
new l(
|
|
290
|
+
m,
|
|
294
291
|
"}",
|
|
295
292
|
void 0
|
|
296
293
|
)
|
|
@@ -298,66 +295,66 @@ function Ne(s, t, r, f, y, c, R, E) {
|
|
|
298
295
|
{
|
|
299
296
|
const i = Object.keys(e);
|
|
300
297
|
let n = i.length;
|
|
301
|
-
const
|
|
298
|
+
const s = new Array(n);
|
|
302
299
|
n -= 1;
|
|
303
300
|
for (let o = i.length - 1; o >= 0; o--) {
|
|
304
|
-
const
|
|
305
|
-
|
|
301
|
+
const S = i[o], d = o > 0 ? "," : "";
|
|
302
|
+
s[n - o] = new l(
|
|
306
303
|
A,
|
|
307
|
-
`${d}${JSON.stringify(
|
|
308
|
-
e[
|
|
304
|
+
`${d}${JSON.stringify(S)}:`,
|
|
305
|
+
e[S]
|
|
309
306
|
);
|
|
310
307
|
}
|
|
311
|
-
|
|
308
|
+
r.push(...s);
|
|
312
309
|
}
|
|
313
310
|
t.push("{");
|
|
314
311
|
}
|
|
315
|
-
} else if (
|
|
312
|
+
} else if (u === "string")
|
|
316
313
|
t.push(JSON.stringify(e));
|
|
317
|
-
else if (
|
|
318
|
-
|
|
319
|
-
else if (
|
|
320
|
-
t.push(
|
|
321
|
-
else if (
|
|
314
|
+
else if (u === "number")
|
|
315
|
+
Te(e) ? t.push(pe) : e === ce ? t.push(Re) : e === ye ? t.push(_e) : Object.is(e, -0) ? t.push(le) : t.push(e.toString());
|
|
316
|
+
else if (u === "bigint")
|
|
317
|
+
t.push(ue, e.toString());
|
|
318
|
+
else if (u === "symbol") {
|
|
322
319
|
const i = Symbol.keyFor(e);
|
|
323
|
-
typeof i == "string" ? t.push(
|
|
320
|
+
typeof i == "string" ? t.push(Se, JSON.stringify(i)) : t.push(h);
|
|
324
321
|
} else {
|
|
325
|
-
const i =
|
|
322
|
+
const i = a.length;
|
|
326
323
|
for (let n = 0; n < i; n++) {
|
|
327
|
-
const
|
|
328
|
-
if (Array.isArray(
|
|
329
|
-
|
|
330
|
-
new
|
|
324
|
+
const s = a[n](e);
|
|
325
|
+
if (Array.isArray(s)) {
|
|
326
|
+
r.push(
|
|
327
|
+
new l(
|
|
331
328
|
A,
|
|
332
|
-
|
|
333
|
-
|
|
329
|
+
Y,
|
|
330
|
+
s
|
|
334
331
|
)
|
|
335
332
|
);
|
|
336
333
|
continue e;
|
|
337
334
|
}
|
|
338
335
|
}
|
|
339
|
-
t.push(
|
|
336
|
+
t.push(h);
|
|
340
337
|
}
|
|
341
338
|
}
|
|
342
339
|
}
|
|
343
|
-
function
|
|
344
|
-
const
|
|
340
|
+
function Ie(f, t) {
|
|
341
|
+
const _ = t === !0 || typeof t == "string" || typeof t > "u", p = typeof t == "string" ? t : Ae;
|
|
345
342
|
return {
|
|
346
|
-
name:
|
|
347
|
-
message:
|
|
348
|
-
stack:
|
|
349
|
-
cause:
|
|
343
|
+
name: _ ? "Error" : f.name,
|
|
344
|
+
message: _ ? p : f.message,
|
|
345
|
+
stack: _ ? void 0 : f.stack,
|
|
346
|
+
cause: f.cause
|
|
350
347
|
};
|
|
351
348
|
}
|
|
352
|
-
function
|
|
349
|
+
function R(f) {
|
|
353
350
|
const t = new Uint8Array(
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
351
|
+
f.buffer,
|
|
352
|
+
f.byteOffset,
|
|
353
|
+
f.byteLength
|
|
357
354
|
);
|
|
358
355
|
return `"${btoa(String.fromCharCode.apply(String, t))}"`;
|
|
359
356
|
}
|
|
360
357
|
export {
|
|
361
|
-
|
|
362
|
-
|
|
358
|
+
Ne as encode,
|
|
359
|
+
de as encodeSync
|
|
363
360
|
};
|