@storm-software/git-tools 2.104.47 → 2.104.49
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 +1 -2
- package/bin/{chunk-MM5AJ3HN.js → chunk-23TCSI67.js} +26 -143
- package/bin/{chunk-LHINQG4H.cjs → chunk-34R4PCUS.cjs} +9 -35
- package/bin/chunk-3XEEEMLV.js +25 -0
- package/bin/{chunk-FDIL5LQQ.cjs → chunk-3YZZSIRA.cjs} +2 -8
- package/bin/{chunk-QVRLY7GO.js → chunk-5DZECCFZ.js} +1831 -3498
- package/bin/{chunk-C56ONEWE.cjs → chunk-A3QVIDKR.cjs} +2063 -4146
- package/bin/{chunk-RWG7K3L2.cjs → chunk-ANR3M366.cjs} +14 -46
- package/bin/{chunk-YCGKNXJZ.cjs → chunk-AQDYBQBF.cjs} +2 -12
- package/bin/{chunk-DNTOHRW4.js → chunk-BJYW7ISD.js} +78 -182
- package/bin/{chunk-YKGA2MVU.cjs → chunk-FY5QB5MQ.cjs} +13 -47
- package/bin/{chunk-DBXOSHV7.js → chunk-GIYWTOX5.js} +10 -44
- package/bin/{chunk-YS7O5BRI.cjs → chunk-H6RJC2EU.cjs} +29 -146
- package/bin/{chunk-IFBRUMYX.js → chunk-KTLBDGE7.js} +1 -11
- package/bin/{chunk-RJTSICHA.js → chunk-M3SPNRDT.js} +6 -32
- package/bin/{chunk-PW5R2BRU.cjs → chunk-MRCW7ZWW.cjs} +4 -5
- package/bin/{chunk-KD5ZCYX3.cjs → chunk-OQNZFKFJ.cjs} +22 -445
- package/bin/{chunk-OBE5IRH4.js → chunk-PAW5GJNL.js} +3 -4
- package/bin/{chunk-377YOE7Z.js → chunk-QROY5223.js} +4 -426
- package/bin/{chunk-QYSGMK4D.js → chunk-REUY4MDC.js} +10 -42
- package/bin/{chunk-JUU5ILZB.cjs → chunk-RHY34RLE.cjs} +4 -6
- package/bin/{chunk-PRG2N75Y.js → chunk-V3UDZCED.js} +1 -7
- package/bin/chunk-VNWRUK6N.cjs +25 -0
- package/bin/{chunk-EJRTGQIY.js → chunk-W2TU25OT.js} +2 -4
- package/bin/{chunk-V2L6QG6X.cjs → chunk-Z3K5JTIC.cjs} +88 -192
- package/bin/{dist-YVMKTFW6.cjs → dist-3B7RDNKI.cjs} +1097 -2113
- package/bin/{dist-AXJG5W3U.js → dist-BGCQPBHL.js} +2 -5
- package/bin/{dist-5TR4KAWC.cjs → dist-WGGNNSDG.cjs} +6 -9
- package/bin/{dist-KY7IAJSV.js → dist-YM6D424K.js} +417 -1489
- package/bin/{esm-MGSMO3WY.cjs → esm-6GE5MI4G.cjs} +249 -254
- package/bin/{esm-IZHFRARS.js → esm-WLHP7RVO.js} +246 -251
- package/bin/git.cjs +9757 -20881
- package/bin/git.js +4720 -13387
- package/bin/json5-ELADGSSP.js +10 -0
- package/bin/json5-FQPHMSAC.cjs +10 -0
- package/bin/jsonc-CTYQYPBR.cjs +15 -0
- package/bin/{jsonc-6643P3LC.js → jsonc-RUGZP2X2.js} +3 -3
- package/bin/{multipart-parser-Z3URKOGZ.cjs → multipart-parser-I4Y55UNL.cjs} +8 -14
- package/bin/{multipart-parser-HAF2WA3O.js → multipart-parser-MFV7BRF2.js} +3 -9
- package/bin/post-checkout.cjs +29 -23
- package/bin/post-checkout.js +19 -13
- package/bin/post-commit.cjs +29 -23
- package/bin/post-commit.js +19 -13
- package/bin/post-merge.cjs +29 -23
- package/bin/post-merge.js +19 -13
- package/bin/pre-commit.cjs +26 -20
- package/bin/pre-commit.js +17 -11
- package/bin/pre-install.cjs +22 -19
- package/bin/pre-install.js +13 -10
- package/bin/pre-push.cjs +55 -36
- package/bin/pre-push.js +40 -21
- package/bin/prepare.cjs +20 -17
- package/bin/prepare.js +13 -10
- package/bin/toml-IRXKI45Y.cjs +10 -0
- package/bin/toml-U3J6BEAR.js +10 -0
- package/bin/{utils-WL6G35GX.js → utils-6O4EJJM3.js} +2 -12
- package/bin/{utils-PZ3SHU7I.cjs → utils-GJRPR6GZ.cjs} +5 -15
- package/bin/version-warning.cjs +18 -15
- package/bin/version-warning.js +13 -10
- package/bin/yaml-CPOMXZOK.js +10 -0
- package/bin/yaml-WGJNEJ7V.cjs +10 -0
- package/dist/{chunk-232JIEVA.js → chunk-3MA2SHAT.js} +1 -1
- package/dist/chunk-3V3F7TB7.cjs +18 -0
- package/dist/{chunk-TFEV2FZY.js → chunk-D7HN6Y5M.js} +8 -9
- package/dist/{chunk-L2C6A3XV.cjs → chunk-EQZ3BKYL.cjs} +9 -10
- package/dist/{chunk-WTMYHIID.cjs → chunk-FX5G24P6.cjs} +3 -3
- package/dist/{chunk-W7SYRJE7.js → chunk-JVIJRTGD.js} +1 -1
- package/dist/commit/config.cjs +3 -3
- package/dist/commit/config.js +2 -2
- package/dist/commitlint/config.cjs +24 -103
- package/dist/commitlint/config.js +24 -103
- package/dist/index.cjs +4 -4
- package/dist/index.js +3 -3
- package/dist/release/config.cjs +3 -3
- package/dist/release/config.js +2 -2
- package/dist/types.cjs +2 -2
- package/dist/types.js +1 -1
- package/package.json +1 -1
- package/bin/chunk-5DWG2HXA.js +0 -22
- package/bin/chunk-7B6YVRI6.cjs +0 -22
- package/bin/json5-DQ2B7V4X.js +0 -10
- package/bin/json5-OV4LY5NN.cjs +0 -10
- package/bin/jsonc-SKJF3GPV.cjs +0 -15
- package/bin/toml-IP5GTCQW.cjs +0 -10
- package/bin/toml-KSQJ7SIB.js +0 -10
- package/bin/yaml-3NH46CEJ.cjs +0 -10
- package/bin/yaml-F3NXDIX4.js +0 -10
- package/dist/chunk-Y7XG7IJ6.cjs +0 -18
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__esm,
|
|
3
|
-
__name,
|
|
4
3
|
__require,
|
|
5
4
|
init_esm_shims
|
|
6
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W2TU25OT.js";
|
|
7
6
|
|
|
8
7
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs
|
|
9
8
|
function f(e) {
|
|
@@ -14,9 +13,8 @@ var init_node_fetch_native_DfbY2q_x = __esm({
|
|
|
14
13
|
"../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs"() {
|
|
15
14
|
init_esm_shims();
|
|
16
15
|
t = Object.defineProperty;
|
|
17
|
-
o =
|
|
16
|
+
o = (e, l) => t(e, "name", { value: l, configurable: true });
|
|
18
17
|
n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
19
|
-
__name(f, "f");
|
|
20
18
|
o(f, "getDefaultExportFromCjs");
|
|
21
19
|
}
|
|
22
20
|
});
|
|
@@ -53,12 +51,10 @@ function ns() {
|
|
|
53
51
|
})(rs, function(a) {
|
|
54
52
|
function l() {
|
|
55
53
|
}
|
|
56
|
-
__name(l, "l");
|
|
57
54
|
n2(l, "noop");
|
|
58
55
|
function u(e) {
|
|
59
56
|
return typeof e == "object" && e !== null || typeof e == "function";
|
|
60
57
|
}
|
|
61
|
-
__name(u, "u");
|
|
62
58
|
n2(u, "typeIsObject");
|
|
63
59
|
const m = l;
|
|
64
60
|
function h(e, t2) {
|
|
@@ -67,53 +63,43 @@ function ns() {
|
|
|
67
63
|
} catch {
|
|
68
64
|
}
|
|
69
65
|
}
|
|
70
|
-
__name(h, "h");
|
|
71
66
|
n2(h, "setFunctionName");
|
|
72
67
|
const S = Promise, E = Promise.prototype.then, w = Promise.reject.bind(S);
|
|
73
68
|
function A(e) {
|
|
74
69
|
return new S(e);
|
|
75
70
|
}
|
|
76
|
-
__name(A, "A");
|
|
77
71
|
n2(A, "newPromise");
|
|
78
72
|
function T(e) {
|
|
79
73
|
return A((t2) => t2(e));
|
|
80
74
|
}
|
|
81
|
-
__name(T, "T");
|
|
82
75
|
n2(T, "promiseResolvedWith");
|
|
83
76
|
function b(e) {
|
|
84
77
|
return w(e);
|
|
85
78
|
}
|
|
86
|
-
__name(b, "b");
|
|
87
79
|
n2(b, "promiseRejectedWith");
|
|
88
80
|
function q(e, t2, r) {
|
|
89
81
|
return E.call(e, t2, r);
|
|
90
82
|
}
|
|
91
|
-
__name(q, "q");
|
|
92
83
|
n2(q, "PerformPromiseThen");
|
|
93
84
|
function g(e, t2, r) {
|
|
94
85
|
q(q(e, t2, r), void 0, m);
|
|
95
86
|
}
|
|
96
|
-
__name(g, "g");
|
|
97
87
|
n2(g, "uponPromise");
|
|
98
88
|
function V(e, t2) {
|
|
99
89
|
g(e, t2);
|
|
100
90
|
}
|
|
101
|
-
__name(V, "V");
|
|
102
91
|
n2(V, "uponFulfillment");
|
|
103
92
|
function I(e, t2) {
|
|
104
93
|
g(e, void 0, t2);
|
|
105
94
|
}
|
|
106
|
-
__name(I, "I");
|
|
107
95
|
n2(I, "uponRejection");
|
|
108
96
|
function F(e, t2, r) {
|
|
109
97
|
return q(e, t2, r);
|
|
110
98
|
}
|
|
111
|
-
__name(F, "F");
|
|
112
99
|
n2(F, "transformPromiseWith");
|
|
113
100
|
function Q(e) {
|
|
114
101
|
q(e, void 0, m);
|
|
115
102
|
}
|
|
116
|
-
__name(Q, "Q");
|
|
117
103
|
n2(Q, "setPromiseIsHandledToTrue");
|
|
118
104
|
let se = n2((e) => {
|
|
119
105
|
if (typeof queueMicrotask == "function") se = queueMicrotask;
|
|
@@ -127,7 +113,6 @@ function ns() {
|
|
|
127
113
|
if (typeof e != "function") throw new TypeError("Argument is not a function");
|
|
128
114
|
return Function.prototype.apply.call(e, t2, r);
|
|
129
115
|
}
|
|
130
|
-
__name(O, "O");
|
|
131
116
|
n2(O, "reflectCall");
|
|
132
117
|
function z(e, t2, r) {
|
|
133
118
|
try {
|
|
@@ -136,13 +121,9 @@ function ns() {
|
|
|
136
121
|
return b(s);
|
|
137
122
|
}
|
|
138
123
|
}
|
|
139
|
-
__name(z, "z");
|
|
140
124
|
n2(z, "promiseCall");
|
|
141
125
|
const $ = 16384;
|
|
142
126
|
class M {
|
|
143
|
-
static {
|
|
144
|
-
__name(this, "M");
|
|
145
|
-
}
|
|
146
127
|
static {
|
|
147
128
|
n2(this, "SimpleQueue");
|
|
148
129
|
}
|
|
@@ -178,56 +159,46 @@ function ns() {
|
|
|
178
159
|
function sn(e, t2) {
|
|
179
160
|
e._ownerReadableStream = t2, t2._reader = e, t2._state === "readable" ? fr(e) : t2._state === "closed" ? ri(e) : un(e, t2._storedError);
|
|
180
161
|
}
|
|
181
|
-
__name(sn, "sn");
|
|
182
162
|
n2(sn, "ReadableStreamReaderGenericInitialize");
|
|
183
163
|
function lr(e, t2) {
|
|
184
164
|
const r = e._ownerReadableStream;
|
|
185
165
|
return X(r, t2);
|
|
186
166
|
}
|
|
187
|
-
__name(lr, "lr");
|
|
188
167
|
n2(lr, "ReadableStreamReaderGenericCancel");
|
|
189
168
|
function ue(e) {
|
|
190
169
|
const t2 = e._ownerReadableStream;
|
|
191
170
|
t2._state === "readable" ? cr(e, new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")) : ni(e, new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")), t2._readableStreamController[ur](), t2._reader = void 0, e._ownerReadableStream = void 0;
|
|
192
171
|
}
|
|
193
|
-
__name(ue, "ue");
|
|
194
172
|
n2(ue, "ReadableStreamReaderGenericRelease");
|
|
195
173
|
function yt(e) {
|
|
196
174
|
return new TypeError("Cannot " + e + " a stream using a released reader");
|
|
197
175
|
}
|
|
198
|
-
__name(yt, "yt");
|
|
199
176
|
n2(yt, "readerLockException");
|
|
200
177
|
function fr(e) {
|
|
201
178
|
e._closedPromise = A((t2, r) => {
|
|
202
179
|
e._closedPromise_resolve = t2, e._closedPromise_reject = r;
|
|
203
180
|
});
|
|
204
181
|
}
|
|
205
|
-
__name(fr, "fr");
|
|
206
182
|
n2(fr, "defaultReaderClosedPromiseInitialize");
|
|
207
183
|
function un(e, t2) {
|
|
208
184
|
fr(e), cr(e, t2);
|
|
209
185
|
}
|
|
210
|
-
__name(un, "un");
|
|
211
186
|
n2(un, "defaultReaderClosedPromiseInitializeAsRejected");
|
|
212
187
|
function ri(e) {
|
|
213
188
|
fr(e), ln(e);
|
|
214
189
|
}
|
|
215
|
-
__name(ri, "ri");
|
|
216
190
|
n2(ri, "defaultReaderClosedPromiseInitializeAsResolved");
|
|
217
191
|
function cr(e, t2) {
|
|
218
192
|
e._closedPromise_reject !== void 0 && (Q(e._closedPromise), e._closedPromise_reject(t2), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0);
|
|
219
193
|
}
|
|
220
|
-
__name(cr, "cr");
|
|
221
194
|
n2(cr, "defaultReaderClosedPromiseReject");
|
|
222
195
|
function ni(e, t2) {
|
|
223
196
|
un(e, t2);
|
|
224
197
|
}
|
|
225
|
-
__name(ni, "ni");
|
|
226
198
|
n2(ni, "defaultReaderClosedPromiseResetToRejected");
|
|
227
199
|
function ln(e) {
|
|
228
200
|
e._closedPromise_resolve !== void 0 && (e._closedPromise_resolve(void 0), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0);
|
|
229
201
|
}
|
|
230
|
-
__name(ln, "ln");
|
|
231
202
|
n2(ln, "defaultReaderClosedPromiseResolve");
|
|
232
203
|
const fn = Number.isFinite || function(e) {
|
|
233
204
|
return typeof e == "number" && isFinite(e);
|
|
@@ -237,52 +208,42 @@ function ns() {
|
|
|
237
208
|
function ii(e) {
|
|
238
209
|
return typeof e == "object" || typeof e == "function";
|
|
239
210
|
}
|
|
240
|
-
__name(ii, "ii");
|
|
241
211
|
n2(ii, "isDictionary");
|
|
242
212
|
function ne(e, t2) {
|
|
243
213
|
if (e !== void 0 && !ii(e)) throw new TypeError(`${t2} is not an object.`);
|
|
244
214
|
}
|
|
245
|
-
__name(ne, "ne");
|
|
246
215
|
n2(ne, "assertDictionary");
|
|
247
216
|
function G(e, t2) {
|
|
248
217
|
if (typeof e != "function") throw new TypeError(`${t2} is not a function.`);
|
|
249
218
|
}
|
|
250
|
-
__name(G, "G");
|
|
251
219
|
n2(G, "assertFunction");
|
|
252
220
|
function ai(e) {
|
|
253
221
|
return typeof e == "object" && e !== null || typeof e == "function";
|
|
254
222
|
}
|
|
255
|
-
__name(ai, "ai");
|
|
256
223
|
n2(ai, "isObject");
|
|
257
224
|
function cn(e, t2) {
|
|
258
225
|
if (!ai(e)) throw new TypeError(`${t2} is not an object.`);
|
|
259
226
|
}
|
|
260
|
-
__name(cn, "cn");
|
|
261
227
|
n2(cn, "assertObject");
|
|
262
228
|
function le(e, t2, r) {
|
|
263
229
|
if (e === void 0) throw new TypeError(`Parameter ${t2} is required in '${r}'.`);
|
|
264
230
|
}
|
|
265
|
-
__name(le, "le");
|
|
266
231
|
n2(le, "assertRequiredArgument");
|
|
267
232
|
function dr(e, t2, r) {
|
|
268
233
|
if (e === void 0) throw new TypeError(`${t2} is required in '${r}'.`);
|
|
269
234
|
}
|
|
270
|
-
__name(dr, "dr");
|
|
271
235
|
n2(dr, "assertRequiredField");
|
|
272
236
|
function hr(e) {
|
|
273
237
|
return Number(e);
|
|
274
238
|
}
|
|
275
|
-
__name(hr, "hr");
|
|
276
239
|
n2(hr, "convertUnrestrictedDouble");
|
|
277
240
|
function dn(e) {
|
|
278
241
|
return e === 0 ? 0 : e;
|
|
279
242
|
}
|
|
280
|
-
__name(dn, "dn");
|
|
281
243
|
n2(dn, "censorNegativeZero");
|
|
282
244
|
function si(e) {
|
|
283
245
|
return dn(oi(e));
|
|
284
246
|
}
|
|
285
|
-
__name(si, "si");
|
|
286
247
|
n2(si, "integerPart");
|
|
287
248
|
function mr(e, t2) {
|
|
288
249
|
const s = Number.MAX_SAFE_INTEGER;
|
|
@@ -291,44 +252,34 @@ function ns() {
|
|
|
291
252
|
if (f2 = si(f2), f2 < 0 || f2 > s) throw new TypeError(`${t2} is outside the accepted range of 0 to ${s}, inclusive`);
|
|
292
253
|
return !fn(f2) || f2 === 0 ? 0 : f2;
|
|
293
254
|
}
|
|
294
|
-
__name(mr, "mr");
|
|
295
255
|
n2(mr, "convertUnsignedLongLongWithEnforceRange");
|
|
296
256
|
function br(e, t2) {
|
|
297
257
|
if (!Te(e)) throw new TypeError(`${t2} is not a ReadableStream.`);
|
|
298
258
|
}
|
|
299
|
-
__name(br, "br");
|
|
300
259
|
n2(br, "assertReadableStream");
|
|
301
260
|
function ze(e) {
|
|
302
261
|
return new ye(e);
|
|
303
262
|
}
|
|
304
|
-
__name(ze, "ze");
|
|
305
263
|
n2(ze, "AcquireReadableStreamDefaultReader");
|
|
306
264
|
function hn(e, t2) {
|
|
307
265
|
e._reader._readRequests.push(t2);
|
|
308
266
|
}
|
|
309
|
-
__name(hn, "hn");
|
|
310
267
|
n2(hn, "ReadableStreamAddReadRequest");
|
|
311
268
|
function pr(e, t2, r) {
|
|
312
269
|
const f2 = e._reader._readRequests.shift();
|
|
313
270
|
r ? f2._closeSteps() : f2._chunkSteps(t2);
|
|
314
271
|
}
|
|
315
|
-
__name(pr, "pr");
|
|
316
272
|
n2(pr, "ReadableStreamFulfillReadRequest");
|
|
317
273
|
function gt(e) {
|
|
318
274
|
return e._reader._readRequests.length;
|
|
319
275
|
}
|
|
320
|
-
__name(gt, "gt");
|
|
321
276
|
n2(gt, "ReadableStreamGetNumReadRequests");
|
|
322
277
|
function mn(e) {
|
|
323
278
|
const t2 = e._reader;
|
|
324
279
|
return !(t2 === void 0 || !ge(t2));
|
|
325
280
|
}
|
|
326
|
-
__name(mn, "mn");
|
|
327
281
|
n2(mn, "ReadableStreamHasDefaultReader");
|
|
328
282
|
class ye {
|
|
329
|
-
static {
|
|
330
|
-
__name(this, "ye");
|
|
331
|
-
}
|
|
332
283
|
static {
|
|
333
284
|
n2(this, "ReadableStreamDefaultReader");
|
|
334
285
|
}
|
|
@@ -360,20 +311,17 @@ function ns() {
|
|
|
360
311
|
function ge(e) {
|
|
361
312
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_readRequests") ? false : e instanceof ye;
|
|
362
313
|
}
|
|
363
|
-
__name(ge, "ge");
|
|
364
314
|
n2(ge, "IsReadableStreamDefaultReader");
|
|
365
315
|
function et(e, t2) {
|
|
366
316
|
const r = e._ownerReadableStream;
|
|
367
317
|
r._disturbed = true, r._state === "closed" ? t2._closeSteps() : r._state === "errored" ? t2._errorSteps(r._storedError) : r._readableStreamController[sr](t2);
|
|
368
318
|
}
|
|
369
|
-
__name(et, "et");
|
|
370
319
|
n2(et, "ReadableStreamDefaultReaderRead");
|
|
371
320
|
function ui(e) {
|
|
372
321
|
ue(e);
|
|
373
322
|
const t2 = new TypeError("Reader was released");
|
|
374
323
|
bn(e, t2);
|
|
375
324
|
}
|
|
376
|
-
__name(ui, "ui");
|
|
377
325
|
n2(ui, "ReadableStreamDefaultReaderRelease");
|
|
378
326
|
function bn(e, t2) {
|
|
379
327
|
const r = e._readRequests;
|
|
@@ -381,19 +329,14 @@ function ns() {
|
|
|
381
329
|
s._errorSteps(t2);
|
|
382
330
|
});
|
|
383
331
|
}
|
|
384
|
-
__name(bn, "bn");
|
|
385
332
|
n2(bn, "ReadableStreamDefaultReaderErrorReadRequests");
|
|
386
333
|
function _t(e) {
|
|
387
334
|
return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`);
|
|
388
335
|
}
|
|
389
|
-
__name(_t, "_t");
|
|
390
336
|
n2(_t, "defaultReaderBrandCheckException");
|
|
391
337
|
const li = Object.getPrototypeOf(Object.getPrototypeOf(async function* () {
|
|
392
338
|
}).prototype);
|
|
393
339
|
class pn {
|
|
394
|
-
static {
|
|
395
|
-
__name(this, "pn");
|
|
396
|
-
}
|
|
397
340
|
static {
|
|
398
341
|
n2(this, "ReadableStreamAsyncIteratorImpl");
|
|
399
342
|
}
|
|
@@ -444,7 +387,6 @@ function ns() {
|
|
|
444
387
|
const r = ze(e), s = new pn(r, t2), f2 = Object.create(yn);
|
|
445
388
|
return f2._asyncIteratorImpl = s, f2;
|
|
446
389
|
}
|
|
447
|
-
__name(fi, "fi");
|
|
448
390
|
n2(fi, "AcquireReadableStreamAsyncIterator");
|
|
449
391
|
function gn(e) {
|
|
450
392
|
if (!u(e) || !Object.prototype.hasOwnProperty.call(e, "_asyncIteratorImpl")) return false;
|
|
@@ -454,12 +396,10 @@ function ns() {
|
|
|
454
396
|
return false;
|
|
455
397
|
}
|
|
456
398
|
}
|
|
457
|
-
__name(gn, "gn");
|
|
458
399
|
n2(gn, "IsReadableStreamAsyncIterator");
|
|
459
400
|
function _n(e) {
|
|
460
401
|
return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`);
|
|
461
402
|
}
|
|
462
|
-
__name(_n, "_n");
|
|
463
403
|
n2(_n, "streamAsyncIteratorBrandCheckException");
|
|
464
404
|
const Sn = Number.isNaN || function(e) {
|
|
465
405
|
return e !== e;
|
|
@@ -468,12 +408,10 @@ function ns() {
|
|
|
468
408
|
function tt(e) {
|
|
469
409
|
return e.slice();
|
|
470
410
|
}
|
|
471
|
-
__name(tt, "tt");
|
|
472
411
|
n2(tt, "CreateArrayFromList");
|
|
473
412
|
function wn(e, t2, r, s, f2) {
|
|
474
413
|
new Uint8Array(e).set(new Uint8Array(r, s, f2), t2);
|
|
475
414
|
}
|
|
476
|
-
__name(wn, "wn");
|
|
477
415
|
n2(wn, "CopyDataBlockBytes");
|
|
478
416
|
let fe = n2((e) => (typeof e.transfer == "function" ? fe = n2((t2) => t2.transfer(), "TransferArrayBuffer") : typeof structuredClone == "function" ? fe = n2((t2) => structuredClone(t2, { transfer: [t2] }), "TransferArrayBuffer") : fe = n2((t2) => t2, "TransferArrayBuffer"), fe(e)), "TransferArrayBuffer"), _e = n2((e) => (typeof e.detached == "boolean" ? _e = n2((t2) => t2.detached, "IsDetachedBuffer") : _e = n2((t2) => t2.byteLength === 0, "IsDetachedBuffer"), _e(e)), "IsDetachedBuffer");
|
|
479
417
|
function Rn(e, t2, r) {
|
|
@@ -481,7 +419,6 @@ function ns() {
|
|
|
481
419
|
const s = r - t2, f2 = new ArrayBuffer(s);
|
|
482
420
|
return wn(f2, 0, e, t2, s), f2;
|
|
483
421
|
}
|
|
484
|
-
__name(Rn, "Rn");
|
|
485
422
|
n2(Rn, "ArrayBufferSlice");
|
|
486
423
|
function St(e, t2) {
|
|
487
424
|
const r = e[t2];
|
|
@@ -490,7 +427,6 @@ function ns() {
|
|
|
490
427
|
return r;
|
|
491
428
|
}
|
|
492
429
|
}
|
|
493
|
-
__name(St, "St");
|
|
494
430
|
n2(St, "GetMethod");
|
|
495
431
|
function ci(e) {
|
|
496
432
|
const t2 = { [Symbol.iterator]: () => e.iterator }, r = async function* () {
|
|
@@ -498,7 +434,6 @@ function ns() {
|
|
|
498
434
|
}(), s = r.next;
|
|
499
435
|
return { iterator: r, nextMethod: s, done: false };
|
|
500
436
|
}
|
|
501
|
-
__name(ci, "ci");
|
|
502
437
|
n2(ci, "CreateAsyncFromSyncIterator");
|
|
503
438
|
const Sr = (_r = (yr = Symbol.asyncIterator) !== null && yr !== void 0 ? yr : (gr = Symbol.for) === null || gr === void 0 ? void 0 : gr.call(Symbol, "Symbol.asyncIterator")) !== null && _r !== void 0 ? _r : "@@asyncIterator";
|
|
504
439
|
function Tn(e, t2 = "sync", r) {
|
|
@@ -514,77 +449,61 @@ function ns() {
|
|
|
514
449
|
const f2 = s.next;
|
|
515
450
|
return { iterator: s, nextMethod: f2, done: false };
|
|
516
451
|
}
|
|
517
|
-
__name(Tn, "Tn");
|
|
518
452
|
n2(Tn, "GetIterator");
|
|
519
453
|
function di(e) {
|
|
520
454
|
const t2 = O(e.nextMethod, e.iterator, []);
|
|
521
455
|
if (!u(t2)) throw new TypeError("The iterator.next() method must return an object");
|
|
522
456
|
return t2;
|
|
523
457
|
}
|
|
524
|
-
__name(di, "di");
|
|
525
458
|
n2(di, "IteratorNext");
|
|
526
459
|
function hi(e) {
|
|
527
460
|
return !!e.done;
|
|
528
461
|
}
|
|
529
|
-
__name(hi, "hi");
|
|
530
462
|
n2(hi, "IteratorComplete");
|
|
531
463
|
function mi(e) {
|
|
532
464
|
return e.value;
|
|
533
465
|
}
|
|
534
|
-
__name(mi, "mi");
|
|
535
466
|
n2(mi, "IteratorValue");
|
|
536
467
|
function bi(e) {
|
|
537
468
|
return !(typeof e != "number" || Sn(e) || e < 0);
|
|
538
469
|
}
|
|
539
|
-
__name(bi, "bi");
|
|
540
470
|
n2(bi, "IsNonNegativeNumber");
|
|
541
471
|
function Cn(e) {
|
|
542
472
|
const t2 = Rn(e.buffer, e.byteOffset, e.byteOffset + e.byteLength);
|
|
543
473
|
return new Uint8Array(t2);
|
|
544
474
|
}
|
|
545
|
-
__name(Cn, "Cn");
|
|
546
475
|
n2(Cn, "CloneAsUint8Array");
|
|
547
476
|
function wr(e) {
|
|
548
477
|
const t2 = e._queue.shift();
|
|
549
478
|
return e._queueTotalSize -= t2.size, e._queueTotalSize < 0 && (e._queueTotalSize = 0), t2.value;
|
|
550
479
|
}
|
|
551
|
-
__name(wr, "wr");
|
|
552
480
|
n2(wr, "DequeueValue");
|
|
553
481
|
function Rr(e, t2, r) {
|
|
554
482
|
if (!bi(r) || r === 1 / 0) throw new RangeError("Size must be a finite, non-NaN, non-negative number.");
|
|
555
483
|
e._queue.push({ value: t2, size: r }), e._queueTotalSize += r;
|
|
556
484
|
}
|
|
557
|
-
__name(Rr, "Rr");
|
|
558
485
|
n2(Rr, "EnqueueValueWithSize");
|
|
559
486
|
function pi(e) {
|
|
560
487
|
return e._queue.peek().value;
|
|
561
488
|
}
|
|
562
|
-
__name(pi, "pi");
|
|
563
489
|
n2(pi, "PeekQueueValue");
|
|
564
490
|
function Se(e) {
|
|
565
491
|
e._queue = new M(), e._queueTotalSize = 0;
|
|
566
492
|
}
|
|
567
|
-
__name(Se, "Se");
|
|
568
493
|
n2(Se, "ResetQueue");
|
|
569
494
|
function Pn(e) {
|
|
570
495
|
return e === DataView;
|
|
571
496
|
}
|
|
572
|
-
__name(Pn, "Pn");
|
|
573
497
|
n2(Pn, "isDataViewConstructor");
|
|
574
498
|
function yi(e) {
|
|
575
499
|
return Pn(e.constructor);
|
|
576
500
|
}
|
|
577
|
-
__name(yi, "yi");
|
|
578
501
|
n2(yi, "isDataView");
|
|
579
502
|
function gi(e) {
|
|
580
503
|
return Pn(e) ? 1 : e.BYTES_PER_ELEMENT;
|
|
581
504
|
}
|
|
582
|
-
__name(gi, "gi");
|
|
583
505
|
n2(gi, "arrayBufferViewElementSize");
|
|
584
506
|
class ve {
|
|
585
|
-
static {
|
|
586
|
-
__name(this, "ve");
|
|
587
|
-
}
|
|
588
507
|
static {
|
|
589
508
|
n2(this, "ReadableStreamBYOBRequest");
|
|
590
509
|
}
|
|
@@ -611,9 +530,6 @@ function ns() {
|
|
|
611
530
|
}
|
|
612
531
|
Object.defineProperties(ve.prototype, { respond: { enumerable: true }, respondWithNewView: { enumerable: true }, view: { enumerable: true } }), h(ve.prototype.respond, "respond"), h(ve.prototype.respondWithNewView, "respondWithNewView"), typeof Symbol.toStringTag == "symbol" && Object.defineProperty(ve.prototype, Symbol.toStringTag, { value: "ReadableStreamBYOBRequest", configurable: true });
|
|
613
532
|
class ce {
|
|
614
|
-
static {
|
|
615
|
-
__name(this, "ce");
|
|
616
|
-
}
|
|
617
533
|
static {
|
|
618
534
|
n2(this, "ReadableByteStreamController");
|
|
619
535
|
}
|
|
@@ -685,12 +601,10 @@ function ns() {
|
|
|
685
601
|
function Ae(e) {
|
|
686
602
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledReadableByteStream") ? false : e instanceof ce;
|
|
687
603
|
}
|
|
688
|
-
__name(Ae, "Ae");
|
|
689
604
|
n2(Ae, "IsReadableByteStreamController");
|
|
690
605
|
function Tr(e) {
|
|
691
606
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_associatedReadableByteStreamController") ? false : e instanceof ve;
|
|
692
607
|
}
|
|
693
|
-
__name(Tr, "Tr");
|
|
694
608
|
n2(Tr, "IsReadableStreamBYOBRequest");
|
|
695
609
|
function Be(e) {
|
|
696
610
|
if (!Ti(e)) return;
|
|
@@ -702,12 +616,10 @@ function ns() {
|
|
|
702
616
|
const r = e._pullAlgorithm();
|
|
703
617
|
g(r, () => (e._pulling = false, e._pullAgain && (e._pullAgain = false, Be(e)), null), (s) => (Z(e, s), null));
|
|
704
618
|
}
|
|
705
|
-
__name(Be, "Be");
|
|
706
619
|
n2(Be, "ReadableByteStreamControllerCallPullIfNeeded");
|
|
707
620
|
function En(e) {
|
|
708
621
|
Pr(e), e._pendingPullIntos = new M();
|
|
709
622
|
}
|
|
710
|
-
__name(En, "En");
|
|
711
623
|
n2(En, "ReadableByteStreamControllerClearPendingPullIntos");
|
|
712
624
|
function Cr(e, t2) {
|
|
713
625
|
let r = false;
|
|
@@ -715,18 +627,15 @@ function ns() {
|
|
|
715
627
|
const s = vn(t2);
|
|
716
628
|
t2.readerType === "default" ? pr(e, s, r) : Bi(e, s, r);
|
|
717
629
|
}
|
|
718
|
-
__name(Cr, "Cr");
|
|
719
630
|
n2(Cr, "ReadableByteStreamControllerCommitPullIntoDescriptor");
|
|
720
631
|
function vn(e) {
|
|
721
632
|
const t2 = e.bytesFilled, r = e.elementSize;
|
|
722
633
|
return new e.viewConstructor(e.buffer, e.byteOffset, t2 / r);
|
|
723
634
|
}
|
|
724
|
-
__name(vn, "vn");
|
|
725
635
|
n2(vn, "ReadableByteStreamControllerConvertPullIntoDescriptor");
|
|
726
636
|
function wt(e, t2, r, s) {
|
|
727
637
|
e._queue.push({ buffer: t2, byteOffset: r, byteLength: s }), e._queueTotalSize += s;
|
|
728
638
|
}
|
|
729
|
-
__name(wt, "wt");
|
|
730
639
|
n2(wt, "ReadableByteStreamControllerEnqueueChunkToQueue");
|
|
731
640
|
function An(e, t2, r, s) {
|
|
732
641
|
let f2;
|
|
@@ -737,12 +646,10 @@ function ns() {
|
|
|
737
646
|
}
|
|
738
647
|
wt(e, f2, 0, s);
|
|
739
648
|
}
|
|
740
|
-
__name(An, "An");
|
|
741
649
|
n2(An, "ReadableByteStreamControllerEnqueueClonedChunkToQueue");
|
|
742
650
|
function Bn(e, t2) {
|
|
743
651
|
t2.bytesFilled > 0 && An(e, t2.buffer, t2.byteOffset, t2.bytesFilled), je(e);
|
|
744
652
|
}
|
|
745
|
-
__name(Bn, "Bn");
|
|
746
653
|
n2(Bn, "ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue");
|
|
747
654
|
function Wn(e, t2) {
|
|
748
655
|
const r = Math.min(e._queueTotalSize, t2.byteLength - t2.bytesFilled), s = t2.bytesFilled + r;
|
|
@@ -756,22 +663,18 @@ function ns() {
|
|
|
756
663
|
}
|
|
757
664
|
return c;
|
|
758
665
|
}
|
|
759
|
-
__name(Wn, "Wn");
|
|
760
666
|
n2(Wn, "ReadableByteStreamControllerFillPullIntoDescriptorFromQueue");
|
|
761
667
|
function kn(e, t2, r) {
|
|
762
668
|
r.bytesFilled += t2;
|
|
763
669
|
}
|
|
764
|
-
__name(kn, "kn");
|
|
765
670
|
n2(kn, "ReadableByteStreamControllerFillHeadPullIntoDescriptor");
|
|
766
671
|
function qn(e) {
|
|
767
672
|
e._queueTotalSize === 0 && e._closeRequested ? (Rt(e), lt(e._controlledReadableByteStream)) : Be(e);
|
|
768
673
|
}
|
|
769
|
-
__name(qn, "qn");
|
|
770
674
|
n2(qn, "ReadableByteStreamControllerHandleQueueDrain");
|
|
771
675
|
function Pr(e) {
|
|
772
676
|
e._byobRequest !== null && (e._byobRequest._associatedReadableByteStreamController = void 0, e._byobRequest._view = null, e._byobRequest = null);
|
|
773
677
|
}
|
|
774
|
-
__name(Pr, "Pr");
|
|
775
678
|
n2(Pr, "ReadableByteStreamControllerInvalidateBYOBRequest");
|
|
776
679
|
function Er(e) {
|
|
777
680
|
for (; e._pendingPullIntos.length > 0; ) {
|
|
@@ -780,7 +683,6 @@ function ns() {
|
|
|
780
683
|
Wn(e, t2) && (je(e), Cr(e._controlledReadableByteStream, t2));
|
|
781
684
|
}
|
|
782
685
|
}
|
|
783
|
-
__name(Er, "Er");
|
|
784
686
|
n2(Er, "ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue");
|
|
785
687
|
function _i(e) {
|
|
786
688
|
const t2 = e._controlledReadableByteStream._reader;
|
|
@@ -790,7 +692,6 @@ function ns() {
|
|
|
790
692
|
In(e, r);
|
|
791
693
|
}
|
|
792
694
|
}
|
|
793
|
-
__name(_i, "_i");
|
|
794
695
|
n2(_i, "ReadableByteStreamControllerProcessReadRequestsUsingQueue");
|
|
795
696
|
function Si(e, t2, r, s) {
|
|
796
697
|
const f2 = e._controlledReadableByteStream, c = t2.constructor, d = gi(c), { byteOffset: p, byteLength: R } = t2, y = r * d;
|
|
@@ -825,7 +726,6 @@ function ns() {
|
|
|
825
726
|
}
|
|
826
727
|
e._pendingPullIntos.push(P), Ln(f2, s), Be(e);
|
|
827
728
|
}
|
|
828
|
-
__name(Si, "Si");
|
|
829
729
|
n2(Si, "ReadableByteStreamControllerPullInto");
|
|
830
730
|
function wi(e, t2) {
|
|
831
731
|
t2.readerType === "none" && je(e);
|
|
@@ -835,7 +735,6 @@ function ns() {
|
|
|
835
735
|
Cr(r, s);
|
|
836
736
|
}
|
|
837
737
|
}
|
|
838
|
-
__name(wi, "wi");
|
|
839
738
|
n2(wi, "ReadableByteStreamControllerRespondInClosedState");
|
|
840
739
|
function Ri(e, t2, r) {
|
|
841
740
|
if (kn(e, t2, r), r.readerType === "none") {
|
|
@@ -851,29 +750,24 @@ function ns() {
|
|
|
851
750
|
}
|
|
852
751
|
r.bytesFilled -= s, Cr(e._controlledReadableByteStream, r), Er(e);
|
|
853
752
|
}
|
|
854
|
-
__name(Ri, "Ri");
|
|
855
753
|
n2(Ri, "ReadableByteStreamControllerRespondInReadableState");
|
|
856
754
|
function On(e, t2) {
|
|
857
755
|
const r = e._pendingPullIntos.peek();
|
|
858
756
|
Pr(e), e._controlledReadableByteStream._state === "closed" ? wi(e, r) : Ri(e, t2, r), Be(e);
|
|
859
757
|
}
|
|
860
|
-
__name(On, "On");
|
|
861
758
|
n2(On, "ReadableByteStreamControllerRespondInternal");
|
|
862
759
|
function je(e) {
|
|
863
760
|
return e._pendingPullIntos.shift();
|
|
864
761
|
}
|
|
865
|
-
__name(je, "je");
|
|
866
762
|
n2(je, "ReadableByteStreamControllerShiftPendingPullInto");
|
|
867
763
|
function Ti(e) {
|
|
868
764
|
const t2 = e._controlledReadableByteStream;
|
|
869
765
|
return t2._state !== "readable" || e._closeRequested || !e._started ? false : !!(mn(t2) && gt(t2) > 0 || Br(t2) && Dn(t2) > 0 || Fn(e) > 0);
|
|
870
766
|
}
|
|
871
|
-
__name(Ti, "Ti");
|
|
872
767
|
n2(Ti, "ReadableByteStreamControllerShouldCallPull");
|
|
873
768
|
function Rt(e) {
|
|
874
769
|
e._pullAlgorithm = void 0, e._cancelAlgorithm = void 0;
|
|
875
770
|
}
|
|
876
|
-
__name(Rt, "Rt");
|
|
877
771
|
n2(Rt, "ReadableByteStreamControllerClearAlgorithms");
|
|
878
772
|
function rt(e) {
|
|
879
773
|
const t2 = e._controlledReadableByteStream;
|
|
@@ -892,7 +786,6 @@ function ns() {
|
|
|
892
786
|
Rt(e), lt(t2);
|
|
893
787
|
}
|
|
894
788
|
}
|
|
895
|
-
__name(rt, "rt");
|
|
896
789
|
n2(rt, "ReadableByteStreamControllerClose");
|
|
897
790
|
function Tt(e, t2) {
|
|
898
791
|
const r = e._controlledReadableByteStream;
|
|
@@ -914,13 +807,11 @@ function ns() {
|
|
|
914
807
|
else Br(r) ? (wt(e, d, f2, c), Er(e)) : wt(e, d, f2, c);
|
|
915
808
|
Be(e);
|
|
916
809
|
}
|
|
917
|
-
__name(Tt, "Tt");
|
|
918
810
|
n2(Tt, "ReadableByteStreamControllerEnqueue");
|
|
919
811
|
function Z(e, t2) {
|
|
920
812
|
const r = e._controlledReadableByteStream;
|
|
921
813
|
r._state === "readable" && (En(e), Se(e), Rt(e), lo(r, t2));
|
|
922
814
|
}
|
|
923
|
-
__name(Z, "Z");
|
|
924
815
|
n2(Z, "ReadableByteStreamControllerError");
|
|
925
816
|
function In(e, t2) {
|
|
926
817
|
const r = e._queue.shift();
|
|
@@ -928,7 +819,6 @@ function ns() {
|
|
|
928
819
|
const s = new Uint8Array(r.buffer, r.byteOffset, r.byteLength);
|
|
929
820
|
t2._chunkSteps(s);
|
|
930
821
|
}
|
|
931
|
-
__name(In, "In");
|
|
932
822
|
n2(In, "ReadableByteStreamControllerFillReadRequestFromQueue");
|
|
933
823
|
function vr(e) {
|
|
934
824
|
if (e._byobRequest === null && e._pendingPullIntos.length > 0) {
|
|
@@ -937,13 +827,11 @@ function ns() {
|
|
|
937
827
|
}
|
|
938
828
|
return e._byobRequest;
|
|
939
829
|
}
|
|
940
|
-
__name(vr, "vr");
|
|
941
830
|
n2(vr, "ReadableByteStreamControllerGetBYOBRequest");
|
|
942
831
|
function Fn(e) {
|
|
943
832
|
const t2 = e._controlledReadableByteStream._state;
|
|
944
833
|
return t2 === "errored" ? null : t2 === "closed" ? 0 : e._strategyHWM - e._queueTotalSize;
|
|
945
834
|
}
|
|
946
|
-
__name(Fn, "Fn");
|
|
947
835
|
n2(Fn, "ReadableByteStreamControllerGetDesiredSize");
|
|
948
836
|
function Ct(e, t2) {
|
|
949
837
|
const r = e._pendingPullIntos.peek();
|
|
@@ -955,7 +843,6 @@ function ns() {
|
|
|
955
843
|
}
|
|
956
844
|
r.buffer = fe(r.buffer), On(e, t2);
|
|
957
845
|
}
|
|
958
|
-
__name(Ct, "Ct");
|
|
959
846
|
n2(Ct, "ReadableByteStreamControllerRespond");
|
|
960
847
|
function Pt(e, t2) {
|
|
961
848
|
const r = e._pendingPullIntos.peek();
|
|
@@ -968,14 +855,12 @@ function ns() {
|
|
|
968
855
|
const f2 = t2.byteLength;
|
|
969
856
|
r.buffer = fe(t2.buffer), On(e, f2);
|
|
970
857
|
}
|
|
971
|
-
__name(Pt, "Pt");
|
|
972
858
|
n2(Pt, "ReadableByteStreamControllerRespondWithNewView");
|
|
973
859
|
function zn(e, t2, r, s, f2, c, d) {
|
|
974
860
|
t2._controlledReadableByteStream = e, t2._pullAgain = false, t2._pulling = false, t2._byobRequest = null, t2._queue = t2._queueTotalSize = void 0, Se(t2), t2._closeRequested = false, t2._started = false, t2._strategyHWM = c, t2._pullAlgorithm = s, t2._cancelAlgorithm = f2, t2._autoAllocateChunkSize = d, t2._pendingPullIntos = new M(), e._readableStreamController = t2;
|
|
975
861
|
const p = r();
|
|
976
862
|
g(T(p), () => (t2._started = true, Be(t2), null), (R) => (Z(t2, R), null));
|
|
977
863
|
}
|
|
978
|
-
__name(zn, "zn");
|
|
979
864
|
n2(zn, "SetUpReadableByteStreamController");
|
|
980
865
|
function Ci(e, t2, r) {
|
|
981
866
|
const s = Object.create(ce.prototype);
|
|
@@ -986,35 +871,29 @@ function ns() {
|
|
|
986
871
|
if (p === 0) throw new TypeError("autoAllocateChunkSize must be greater than 0");
|
|
987
872
|
zn(e, s, f2, c, d, r, p);
|
|
988
873
|
}
|
|
989
|
-
__name(Ci, "Ci");
|
|
990
874
|
n2(Ci, "SetUpReadableByteStreamControllerFromUnderlyingSource");
|
|
991
875
|
function Pi(e, t2, r) {
|
|
992
876
|
e._associatedReadableByteStreamController = t2, e._view = r;
|
|
993
877
|
}
|
|
994
|
-
__name(Pi, "Pi");
|
|
995
878
|
n2(Pi, "SetUpReadableStreamBYOBRequest");
|
|
996
879
|
function Ar(e) {
|
|
997
880
|
return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`);
|
|
998
881
|
}
|
|
999
|
-
__name(Ar, "Ar");
|
|
1000
882
|
n2(Ar, "byobRequestBrandCheckException");
|
|
1001
883
|
function nt(e) {
|
|
1002
884
|
return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`);
|
|
1003
885
|
}
|
|
1004
|
-
__name(nt, "nt");
|
|
1005
886
|
n2(nt, "byteStreamControllerBrandCheckException");
|
|
1006
887
|
function Ei(e, t2) {
|
|
1007
888
|
ne(e, t2);
|
|
1008
889
|
const r = e?.mode;
|
|
1009
890
|
return { mode: r === void 0 ? void 0 : vi(r, `${t2} has member 'mode' that`) };
|
|
1010
891
|
}
|
|
1011
|
-
__name(Ei, "Ei");
|
|
1012
892
|
n2(Ei, "convertReaderOptions");
|
|
1013
893
|
function vi(e, t2) {
|
|
1014
894
|
if (e = `${e}`, e !== "byob") throw new TypeError(`${t2} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);
|
|
1015
895
|
return e;
|
|
1016
896
|
}
|
|
1017
|
-
__name(vi, "vi");
|
|
1018
897
|
n2(vi, "convertReadableStreamReaderMode");
|
|
1019
898
|
function Ai(e, t2) {
|
|
1020
899
|
var r;
|
|
@@ -1022,39 +901,30 @@ function ns() {
|
|
|
1022
901
|
const s = (r = e?.min) !== null && r !== void 0 ? r : 1;
|
|
1023
902
|
return { min: mr(s, `${t2} has member 'min' that`) };
|
|
1024
903
|
}
|
|
1025
|
-
__name(Ai, "Ai");
|
|
1026
904
|
n2(Ai, "convertByobReadOptions");
|
|
1027
905
|
function jn(e) {
|
|
1028
906
|
return new we(e);
|
|
1029
907
|
}
|
|
1030
|
-
__name(jn, "jn");
|
|
1031
908
|
n2(jn, "AcquireReadableStreamBYOBReader");
|
|
1032
909
|
function Ln(e, t2) {
|
|
1033
910
|
e._reader._readIntoRequests.push(t2);
|
|
1034
911
|
}
|
|
1035
|
-
__name(Ln, "Ln");
|
|
1036
912
|
n2(Ln, "ReadableStreamAddReadIntoRequest");
|
|
1037
913
|
function Bi(e, t2, r) {
|
|
1038
914
|
const f2 = e._reader._readIntoRequests.shift();
|
|
1039
915
|
r ? f2._closeSteps(t2) : f2._chunkSteps(t2);
|
|
1040
916
|
}
|
|
1041
|
-
__name(Bi, "Bi");
|
|
1042
917
|
n2(Bi, "ReadableStreamFulfillReadIntoRequest");
|
|
1043
918
|
function Dn(e) {
|
|
1044
919
|
return e._reader._readIntoRequests.length;
|
|
1045
920
|
}
|
|
1046
|
-
__name(Dn, "Dn");
|
|
1047
921
|
n2(Dn, "ReadableStreamGetNumReadIntoRequests");
|
|
1048
922
|
function Br(e) {
|
|
1049
923
|
const t2 = e._reader;
|
|
1050
924
|
return !(t2 === void 0 || !We(t2));
|
|
1051
925
|
}
|
|
1052
|
-
__name(Br, "Br");
|
|
1053
926
|
n2(Br, "ReadableStreamHasBYOBReader");
|
|
1054
927
|
class we {
|
|
1055
|
-
static {
|
|
1056
|
-
__name(this, "we");
|
|
1057
|
-
}
|
|
1058
928
|
static {
|
|
1059
929
|
n2(this, "ReadableStreamBYOBReader");
|
|
1060
930
|
}
|
|
@@ -1102,20 +972,17 @@ function ns() {
|
|
|
1102
972
|
function We(e) {
|
|
1103
973
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_readIntoRequests") ? false : e instanceof we;
|
|
1104
974
|
}
|
|
1105
|
-
__name(We, "We");
|
|
1106
975
|
n2(We, "IsReadableStreamBYOBReader");
|
|
1107
976
|
function $n(e, t2, r, s) {
|
|
1108
977
|
const f2 = e._ownerReadableStream;
|
|
1109
978
|
f2._disturbed = true, f2._state === "errored" ? s._errorSteps(f2._storedError) : Si(f2._readableStreamController, t2, r, s);
|
|
1110
979
|
}
|
|
1111
|
-
__name($n, "$n");
|
|
1112
980
|
n2($n, "ReadableStreamBYOBReaderRead");
|
|
1113
981
|
function Wi(e) {
|
|
1114
982
|
ue(e);
|
|
1115
983
|
const t2 = new TypeError("Reader was released");
|
|
1116
984
|
Mn(e, t2);
|
|
1117
985
|
}
|
|
1118
|
-
__name(Wi, "Wi");
|
|
1119
986
|
n2(Wi, "ReadableStreamBYOBReaderRelease");
|
|
1120
987
|
function Mn(e, t2) {
|
|
1121
988
|
const r = e._readIntoRequests;
|
|
@@ -1123,12 +990,10 @@ function ns() {
|
|
|
1123
990
|
s._errorSteps(t2);
|
|
1124
991
|
});
|
|
1125
992
|
}
|
|
1126
|
-
__name(Mn, "Mn");
|
|
1127
993
|
n2(Mn, "ReadableStreamBYOBReaderErrorReadIntoRequests");
|
|
1128
994
|
function Et(e) {
|
|
1129
995
|
return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`);
|
|
1130
996
|
}
|
|
1131
|
-
__name(Et, "Et");
|
|
1132
997
|
n2(Et, "byobReaderBrandCheckException");
|
|
1133
998
|
function ot(e, t2) {
|
|
1134
999
|
const { highWaterMark: r } = e;
|
|
@@ -1136,57 +1001,47 @@ function ns() {
|
|
|
1136
1001
|
if (Sn(r) || r < 0) throw new RangeError("Invalid highWaterMark");
|
|
1137
1002
|
return r;
|
|
1138
1003
|
}
|
|
1139
|
-
__name(ot, "ot");
|
|
1140
1004
|
n2(ot, "ExtractHighWaterMark");
|
|
1141
1005
|
function vt(e) {
|
|
1142
1006
|
const { size: t2 } = e;
|
|
1143
1007
|
return t2 || (() => 1);
|
|
1144
1008
|
}
|
|
1145
|
-
__name(vt, "vt");
|
|
1146
1009
|
n2(vt, "ExtractSizeAlgorithm");
|
|
1147
1010
|
function At(e, t2) {
|
|
1148
1011
|
ne(e, t2);
|
|
1149
1012
|
const r = e?.highWaterMark, s = e?.size;
|
|
1150
1013
|
return { highWaterMark: r === void 0 ? void 0 : hr(r), size: s === void 0 ? void 0 : ki(s, `${t2} has member 'size' that`) };
|
|
1151
1014
|
}
|
|
1152
|
-
__name(At, "At");
|
|
1153
1015
|
n2(At, "convertQueuingStrategy");
|
|
1154
1016
|
function ki(e, t2) {
|
|
1155
1017
|
return G(e, t2), (r) => hr(e(r));
|
|
1156
1018
|
}
|
|
1157
|
-
__name(ki, "ki");
|
|
1158
1019
|
n2(ki, "convertQueuingStrategySize");
|
|
1159
1020
|
function qi(e, t2) {
|
|
1160
1021
|
ne(e, t2);
|
|
1161
1022
|
const r = e?.abort, s = e?.close, f2 = e?.start, c = e?.type, d = e?.write;
|
|
1162
1023
|
return { abort: r === void 0 ? void 0 : Oi(r, e, `${t2} has member 'abort' that`), close: s === void 0 ? void 0 : Ii(s, e, `${t2} has member 'close' that`), start: f2 === void 0 ? void 0 : Fi(f2, e, `${t2} has member 'start' that`), write: d === void 0 ? void 0 : zi(d, e, `${t2} has member 'write' that`), type: c };
|
|
1163
1024
|
}
|
|
1164
|
-
__name(qi, "qi");
|
|
1165
1025
|
n2(qi, "convertUnderlyingSink");
|
|
1166
1026
|
function Oi(e, t2, r) {
|
|
1167
1027
|
return G(e, r), (s) => z(e, t2, [s]);
|
|
1168
1028
|
}
|
|
1169
|
-
__name(Oi, "Oi");
|
|
1170
1029
|
n2(Oi, "convertUnderlyingSinkAbortCallback");
|
|
1171
1030
|
function Ii(e, t2, r) {
|
|
1172
1031
|
return G(e, r), () => z(e, t2, []);
|
|
1173
1032
|
}
|
|
1174
|
-
__name(Ii, "Ii");
|
|
1175
1033
|
n2(Ii, "convertUnderlyingSinkCloseCallback");
|
|
1176
1034
|
function Fi(e, t2, r) {
|
|
1177
1035
|
return G(e, r), (s) => O(e, t2, [s]);
|
|
1178
1036
|
}
|
|
1179
|
-
__name(Fi, "Fi");
|
|
1180
1037
|
n2(Fi, "convertUnderlyingSinkStartCallback");
|
|
1181
1038
|
function zi(e, t2, r) {
|
|
1182
1039
|
return G(e, r), (s, f2) => z(e, t2, [s, f2]);
|
|
1183
1040
|
}
|
|
1184
|
-
__name(zi, "zi");
|
|
1185
1041
|
n2(zi, "convertUnderlyingSinkWriteCallback");
|
|
1186
1042
|
function Un(e, t2) {
|
|
1187
1043
|
if (!Le(e)) throw new TypeError(`${t2} is not a WritableStream.`);
|
|
1188
1044
|
}
|
|
1189
|
-
__name(Un, "Un");
|
|
1190
1045
|
n2(Un, "assertWritableStream");
|
|
1191
1046
|
function ji(e) {
|
|
1192
1047
|
if (typeof e != "object" || e === null) return false;
|
|
@@ -1196,18 +1051,13 @@ function ns() {
|
|
|
1196
1051
|
return false;
|
|
1197
1052
|
}
|
|
1198
1053
|
}
|
|
1199
|
-
__name(ji, "ji");
|
|
1200
1054
|
n2(ji, "isAbortSignal");
|
|
1201
1055
|
const Li = typeof AbortController == "function";
|
|
1202
1056
|
function Di() {
|
|
1203
1057
|
if (Li) return new AbortController();
|
|
1204
1058
|
}
|
|
1205
|
-
__name(Di, "Di");
|
|
1206
1059
|
n2(Di, "createAbortController");
|
|
1207
1060
|
class Re {
|
|
1208
|
-
static {
|
|
1209
|
-
__name(this, "Re");
|
|
1210
|
-
}
|
|
1211
1061
|
static {
|
|
1212
1062
|
n2(this, "WritableStream");
|
|
1213
1063
|
}
|
|
@@ -1237,7 +1087,6 @@ function ns() {
|
|
|
1237
1087
|
function xn(e) {
|
|
1238
1088
|
return new de(e);
|
|
1239
1089
|
}
|
|
1240
|
-
__name(xn, "xn");
|
|
1241
1090
|
n2(xn, "AcquireWritableStreamDefaultWriter");
|
|
1242
1091
|
function $i(e, t2, r, s, f2 = 1, c = () => 1) {
|
|
1243
1092
|
const d = Object.create(Re.prototype);
|
|
@@ -1245,22 +1094,18 @@ function ns() {
|
|
|
1245
1094
|
const p = Object.create($e.prototype);
|
|
1246
1095
|
return Kn(d, p, e, t2, r, s, f2, c), d;
|
|
1247
1096
|
}
|
|
1248
|
-
__name($i, "$i");
|
|
1249
1097
|
n2($i, "CreateWritableStream");
|
|
1250
1098
|
function Nn(e) {
|
|
1251
1099
|
e._state = "writable", e._storedError = void 0, e._writer = void 0, e._writableStreamController = void 0, e._writeRequests = new M(), e._inFlightWriteRequest = void 0, e._closeRequest = void 0, e._inFlightCloseRequest = void 0, e._pendingAbortRequest = void 0, e._backpressure = false;
|
|
1252
1100
|
}
|
|
1253
|
-
__name(Nn, "Nn");
|
|
1254
1101
|
n2(Nn, "InitializeWritableStream");
|
|
1255
1102
|
function Le(e) {
|
|
1256
1103
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_writableStreamController") ? false : e instanceof Re;
|
|
1257
1104
|
}
|
|
1258
|
-
__name(Le, "Le");
|
|
1259
1105
|
n2(Le, "IsWritableStream");
|
|
1260
1106
|
function De(e) {
|
|
1261
1107
|
return e._writer !== void 0;
|
|
1262
1108
|
}
|
|
1263
|
-
__name(De, "De");
|
|
1264
1109
|
n2(De, "IsWritableStreamLocked");
|
|
1265
1110
|
function Bt(e, t2) {
|
|
1266
1111
|
var r;
|
|
@@ -1276,7 +1121,6 @@ function ns() {
|
|
|
1276
1121
|
});
|
|
1277
1122
|
return e._pendingAbortRequest._promise = c, f2 || kr(e, t2), c;
|
|
1278
1123
|
}
|
|
1279
|
-
__name(Bt, "Bt");
|
|
1280
1124
|
n2(Bt, "WritableStreamAbort");
|
|
1281
1125
|
function Hn(e) {
|
|
1282
1126
|
const t2 = e._state;
|
|
@@ -1287,7 +1131,6 @@ function ns() {
|
|
|
1287
1131
|
}), s = e._writer;
|
|
1288
1132
|
return s !== void 0 && e._backpressure && t2 === "writable" && Dr(s), ea(e._writableStreamController), r;
|
|
1289
1133
|
}
|
|
1290
|
-
__name(Hn, "Hn");
|
|
1291
1134
|
n2(Hn, "WritableStreamClose");
|
|
1292
1135
|
function Mi(e) {
|
|
1293
1136
|
return A((r, s) => {
|
|
@@ -1295,7 +1138,6 @@ function ns() {
|
|
|
1295
1138
|
e._writeRequests.push(f2);
|
|
1296
1139
|
});
|
|
1297
1140
|
}
|
|
1298
|
-
__name(Mi, "Mi");
|
|
1299
1141
|
n2(Mi, "WritableStreamAddWriteRequest");
|
|
1300
1142
|
function Wr(e, t2) {
|
|
1301
1143
|
if (e._state === "writable") {
|
|
@@ -1304,7 +1146,6 @@ function ns() {
|
|
|
1304
1146
|
}
|
|
1305
1147
|
qr(e);
|
|
1306
1148
|
}
|
|
1307
|
-
__name(Wr, "Wr");
|
|
1308
1149
|
n2(Wr, "WritableStreamDealWithRejection");
|
|
1309
1150
|
function kr(e, t2) {
|
|
1310
1151
|
const r = e._writableStreamController;
|
|
@@ -1312,7 +1153,6 @@ function ns() {
|
|
|
1312
1153
|
const s = e._writer;
|
|
1313
1154
|
s !== void 0 && Qn(s, t2), !Vi(e) && r._started && qr(e);
|
|
1314
1155
|
}
|
|
1315
|
-
__name(kr, "kr");
|
|
1316
1156
|
n2(kr, "WritableStreamStartErroring");
|
|
1317
1157
|
function qr(e) {
|
|
1318
1158
|
e._state = "errored", e._writableStreamController[an]();
|
|
@@ -1331,67 +1171,53 @@ function ns() {
|
|
|
1331
1171
|
const s = e._writableStreamController[pt](r._reason);
|
|
1332
1172
|
g(s, () => (r._resolve(), Wt(e), null), (f2) => (r._reject(f2), Wt(e), null));
|
|
1333
1173
|
}
|
|
1334
|
-
__name(qr, "qr");
|
|
1335
1174
|
n2(qr, "WritableStreamFinishErroring");
|
|
1336
1175
|
function Ui(e) {
|
|
1337
1176
|
e._inFlightWriteRequest._resolve(void 0), e._inFlightWriteRequest = void 0;
|
|
1338
1177
|
}
|
|
1339
|
-
__name(Ui, "Ui");
|
|
1340
1178
|
n2(Ui, "WritableStreamFinishInFlightWrite");
|
|
1341
1179
|
function xi(e, t2) {
|
|
1342
1180
|
e._inFlightWriteRequest._reject(t2), e._inFlightWriteRequest = void 0, Wr(e, t2);
|
|
1343
1181
|
}
|
|
1344
|
-
__name(xi, "xi");
|
|
1345
1182
|
n2(xi, "WritableStreamFinishInFlightWriteWithError");
|
|
1346
1183
|
function Ni(e) {
|
|
1347
1184
|
e._inFlightCloseRequest._resolve(void 0), e._inFlightCloseRequest = void 0, e._state === "erroring" && (e._storedError = void 0, e._pendingAbortRequest !== void 0 && (e._pendingAbortRequest._resolve(), e._pendingAbortRequest = void 0)), e._state = "closed";
|
|
1348
1185
|
const r = e._writer;
|
|
1349
1186
|
r !== void 0 && to(r);
|
|
1350
1187
|
}
|
|
1351
|
-
__name(Ni, "Ni");
|
|
1352
1188
|
n2(Ni, "WritableStreamFinishInFlightClose");
|
|
1353
1189
|
function Hi(e, t2) {
|
|
1354
1190
|
e._inFlightCloseRequest._reject(t2), e._inFlightCloseRequest = void 0, e._pendingAbortRequest !== void 0 && (e._pendingAbortRequest._reject(t2), e._pendingAbortRequest = void 0), Wr(e, t2);
|
|
1355
1191
|
}
|
|
1356
|
-
__name(Hi, "Hi");
|
|
1357
1192
|
n2(Hi, "WritableStreamFinishInFlightCloseWithError");
|
|
1358
1193
|
function oe(e) {
|
|
1359
1194
|
return !(e._closeRequest === void 0 && e._inFlightCloseRequest === void 0);
|
|
1360
1195
|
}
|
|
1361
|
-
__name(oe, "oe");
|
|
1362
1196
|
n2(oe, "WritableStreamCloseQueuedOrInFlight");
|
|
1363
1197
|
function Vi(e) {
|
|
1364
1198
|
return !(e._inFlightWriteRequest === void 0 && e._inFlightCloseRequest === void 0);
|
|
1365
1199
|
}
|
|
1366
|
-
__name(Vi, "Vi");
|
|
1367
1200
|
n2(Vi, "WritableStreamHasOperationMarkedInFlight");
|
|
1368
1201
|
function Qi(e) {
|
|
1369
1202
|
e._inFlightCloseRequest = e._closeRequest, e._closeRequest = void 0;
|
|
1370
1203
|
}
|
|
1371
|
-
__name(Qi, "Qi");
|
|
1372
1204
|
n2(Qi, "WritableStreamMarkCloseRequestInFlight");
|
|
1373
1205
|
function Yi(e) {
|
|
1374
1206
|
e._inFlightWriteRequest = e._writeRequests.shift();
|
|
1375
1207
|
}
|
|
1376
|
-
__name(Yi, "Yi");
|
|
1377
1208
|
n2(Yi, "WritableStreamMarkFirstWriteRequestInFlight");
|
|
1378
1209
|
function Wt(e) {
|
|
1379
1210
|
e._closeRequest !== void 0 && (e._closeRequest._reject(e._storedError), e._closeRequest = void 0);
|
|
1380
1211
|
const t2 = e._writer;
|
|
1381
1212
|
t2 !== void 0 && jr(t2, e._storedError);
|
|
1382
1213
|
}
|
|
1383
|
-
__name(Wt, "Wt");
|
|
1384
1214
|
n2(Wt, "WritableStreamRejectCloseAndClosedPromiseIfNeeded");
|
|
1385
1215
|
function Or(e, t2) {
|
|
1386
1216
|
const r = e._writer;
|
|
1387
1217
|
r !== void 0 && t2 !== e._backpressure && (t2 ? sa(r) : Dr(r)), e._backpressure = t2;
|
|
1388
1218
|
}
|
|
1389
|
-
__name(Or, "Or");
|
|
1390
1219
|
n2(Or, "WritableStreamUpdateBackpressure");
|
|
1391
1220
|
class de {
|
|
1392
|
-
static {
|
|
1393
|
-
__name(this, "de");
|
|
1394
|
-
}
|
|
1395
1221
|
static {
|
|
1396
1222
|
n2(this, "WritableStreamDefaultWriter");
|
|
1397
1223
|
}
|
|
@@ -1438,47 +1264,39 @@ function ns() {
|
|
|
1438
1264
|
function ke(e) {
|
|
1439
1265
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_ownerWritableStream") ? false : e instanceof de;
|
|
1440
1266
|
}
|
|
1441
|
-
__name(ke, "ke");
|
|
1442
1267
|
n2(ke, "IsWritableStreamDefaultWriter");
|
|
1443
1268
|
function Gi(e, t2) {
|
|
1444
1269
|
const r = e._ownerWritableStream;
|
|
1445
1270
|
return Bt(r, t2);
|
|
1446
1271
|
}
|
|
1447
|
-
__name(Gi, "Gi");
|
|
1448
1272
|
n2(Gi, "WritableStreamDefaultWriterAbort");
|
|
1449
1273
|
function Vn(e) {
|
|
1450
1274
|
const t2 = e._ownerWritableStream;
|
|
1451
1275
|
return Hn(t2);
|
|
1452
1276
|
}
|
|
1453
|
-
__name(Vn, "Vn");
|
|
1454
1277
|
n2(Vn, "WritableStreamDefaultWriterClose");
|
|
1455
1278
|
function Zi(e) {
|
|
1456
1279
|
const t2 = e._ownerWritableStream, r = t2._state;
|
|
1457
1280
|
return oe(t2) || r === "closed" ? T(void 0) : r === "errored" ? b(t2._storedError) : Vn(e);
|
|
1458
1281
|
}
|
|
1459
|
-
__name(Zi, "Zi");
|
|
1460
1282
|
n2(Zi, "WritableStreamDefaultWriterCloseWithErrorPropagation");
|
|
1461
1283
|
function Ki(e, t2) {
|
|
1462
1284
|
e._closedPromiseState === "pending" ? jr(e, t2) : aa(e, t2);
|
|
1463
1285
|
}
|
|
1464
|
-
__name(Ki, "Ki");
|
|
1465
1286
|
n2(Ki, "WritableStreamDefaultWriterEnsureClosedPromiseRejected");
|
|
1466
1287
|
function Qn(e, t2) {
|
|
1467
1288
|
e._readyPromiseState === "pending" ? no(e, t2) : ua(e, t2);
|
|
1468
1289
|
}
|
|
1469
|
-
__name(Qn, "Qn");
|
|
1470
1290
|
n2(Qn, "WritableStreamDefaultWriterEnsureReadyPromiseRejected");
|
|
1471
1291
|
function Ji(e) {
|
|
1472
1292
|
const t2 = e._ownerWritableStream, r = t2._state;
|
|
1473
1293
|
return r === "errored" || r === "erroring" ? null : r === "closed" ? 0 : Jn(t2._writableStreamController);
|
|
1474
1294
|
}
|
|
1475
|
-
__name(Ji, "Ji");
|
|
1476
1295
|
n2(Ji, "WritableStreamDefaultWriterGetDesiredSize");
|
|
1477
1296
|
function Yn(e) {
|
|
1478
1297
|
const t2 = e._ownerWritableStream, r = new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");
|
|
1479
1298
|
Qn(e, r), Ki(e, r), t2._writer = void 0, e._ownerWritableStream = void 0;
|
|
1480
1299
|
}
|
|
1481
|
-
__name(Yn, "Yn");
|
|
1482
1300
|
n2(Yn, "WritableStreamDefaultWriterRelease");
|
|
1483
1301
|
function Gn(e, t2) {
|
|
1484
1302
|
const r = e._ownerWritableStream, s = r._writableStreamController, f2 = ta(s, t2);
|
|
@@ -1490,13 +1308,9 @@ function ns() {
|
|
|
1490
1308
|
const d = Mi(r);
|
|
1491
1309
|
return ra(s, t2, f2), d;
|
|
1492
1310
|
}
|
|
1493
|
-
__name(Gn, "Gn");
|
|
1494
1311
|
n2(Gn, "WritableStreamDefaultWriterWrite");
|
|
1495
1312
|
const Zn = {};
|
|
1496
1313
|
class $e {
|
|
1497
|
-
static {
|
|
1498
|
-
__name(this, "$e");
|
|
1499
|
-
}
|
|
1500
1314
|
static {
|
|
1501
1315
|
n2(this, "WritableStreamDefaultController");
|
|
1502
1316
|
}
|
|
@@ -1528,7 +1342,6 @@ function ns() {
|
|
|
1528
1342
|
function Ir(e) {
|
|
1529
1343
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledWritableStream") ? false : e instanceof $e;
|
|
1530
1344
|
}
|
|
1531
|
-
__name(Ir, "Ir");
|
|
1532
1345
|
n2(Ir, "IsWritableStreamDefaultController");
|
|
1533
1346
|
function Kn(e, t2, r, s, f2, c, d, p) {
|
|
1534
1347
|
t2._controlledWritableStream = e, e._writableStreamController = t2, t2._queue = void 0, t2._queueTotalSize = void 0, Se(t2), t2._abortReason = void 0, t2._abortController = Di(), t2._started = false, t2._strategySizeAlgorithm = p, t2._strategyHWM = d, t2._writeAlgorithm = s, t2._closeAlgorithm = f2, t2._abortAlgorithm = c;
|
|
@@ -1537,7 +1350,6 @@ function ns() {
|
|
|
1537
1350
|
const y = r(), C = T(y);
|
|
1538
1351
|
g(C, () => (t2._started = true, qt(t2), null), (P) => (t2._started = true, Wr(e, P), null));
|
|
1539
1352
|
}
|
|
1540
|
-
__name(Kn, "Kn");
|
|
1541
1353
|
n2(Kn, "SetUpWritableStreamDefaultController");
|
|
1542
1354
|
function Xi(e, t2, r, s) {
|
|
1543
1355
|
const f2 = Object.create($e.prototype);
|
|
@@ -1545,17 +1357,14 @@ function ns() {
|
|
|
1545
1357
|
t2.start !== void 0 ? c = n2(() => t2.start(f2), "startAlgorithm") : c = n2(() => {
|
|
1546
1358
|
}, "startAlgorithm"), t2.write !== void 0 ? d = n2((y) => t2.write(y, f2), "writeAlgorithm") : d = n2(() => T(void 0), "writeAlgorithm"), t2.close !== void 0 ? p = n2(() => t2.close(), "closeAlgorithm") : p = n2(() => T(void 0), "closeAlgorithm"), t2.abort !== void 0 ? R = n2((y) => t2.abort(y), "abortAlgorithm") : R = n2(() => T(void 0), "abortAlgorithm"), Kn(e, f2, c, d, p, R, r, s);
|
|
1547
1359
|
}
|
|
1548
|
-
__name(Xi, "Xi");
|
|
1549
1360
|
n2(Xi, "SetUpWritableStreamDefaultControllerFromUnderlyingSink");
|
|
1550
1361
|
function kt(e) {
|
|
1551
1362
|
e._writeAlgorithm = void 0, e._closeAlgorithm = void 0, e._abortAlgorithm = void 0, e._strategySizeAlgorithm = void 0;
|
|
1552
1363
|
}
|
|
1553
|
-
__name(kt, "kt");
|
|
1554
1364
|
n2(kt, "WritableStreamDefaultControllerClearAlgorithms");
|
|
1555
1365
|
function ea(e) {
|
|
1556
1366
|
Rr(e, Zn, 0), qt(e);
|
|
1557
1367
|
}
|
|
1558
|
-
__name(ea, "ea");
|
|
1559
1368
|
n2(ea, "WritableStreamDefaultControllerClose");
|
|
1560
1369
|
function ta(e, t2) {
|
|
1561
1370
|
try {
|
|
@@ -1564,12 +1373,10 @@ function ns() {
|
|
|
1564
1373
|
return it(e, r), 1;
|
|
1565
1374
|
}
|
|
1566
1375
|
}
|
|
1567
|
-
__name(ta, "ta");
|
|
1568
1376
|
n2(ta, "WritableStreamDefaultControllerGetChunkSize");
|
|
1569
1377
|
function Jn(e) {
|
|
1570
1378
|
return e._strategyHWM - e._queueTotalSize;
|
|
1571
1379
|
}
|
|
1572
|
-
__name(Jn, "Jn");
|
|
1573
1380
|
n2(Jn, "WritableStreamDefaultControllerGetDesiredSize");
|
|
1574
1381
|
function ra(e, t2, r) {
|
|
1575
1382
|
try {
|
|
@@ -1585,7 +1392,6 @@ function ns() {
|
|
|
1585
1392
|
}
|
|
1586
1393
|
qt(e);
|
|
1587
1394
|
}
|
|
1588
|
-
__name(ra, "ra");
|
|
1589
1395
|
n2(ra, "WritableStreamDefaultControllerWrite");
|
|
1590
1396
|
function qt(e) {
|
|
1591
1397
|
const t2 = e._controlledWritableStream;
|
|
@@ -1598,12 +1404,10 @@ function ns() {
|
|
|
1598
1404
|
const s = pi(e);
|
|
1599
1405
|
s === Zn ? na(e) : oa(e, s);
|
|
1600
1406
|
}
|
|
1601
|
-
__name(qt, "qt");
|
|
1602
1407
|
n2(qt, "WritableStreamDefaultControllerAdvanceQueueIfNeeded");
|
|
1603
1408
|
function it(e, t2) {
|
|
1604
1409
|
e._controlledWritableStream._state === "writable" && Xn(e, t2);
|
|
1605
1410
|
}
|
|
1606
|
-
__name(it, "it");
|
|
1607
1411
|
n2(it, "WritableStreamDefaultControllerErrorIfNeeded");
|
|
1608
1412
|
function na(e) {
|
|
1609
1413
|
const t2 = e._controlledWritableStream;
|
|
@@ -1611,7 +1415,6 @@ function ns() {
|
|
|
1611
1415
|
const r = e._closeAlgorithm();
|
|
1612
1416
|
kt(e), g(r, () => (Ni(t2), null), (s) => (Hi(t2, s), null));
|
|
1613
1417
|
}
|
|
1614
|
-
__name(na, "na");
|
|
1615
1418
|
n2(na, "WritableStreamDefaultControllerProcessClose");
|
|
1616
1419
|
function oa(e, t2) {
|
|
1617
1420
|
const r = e._controlledWritableStream;
|
|
@@ -1627,114 +1430,93 @@ function ns() {
|
|
|
1627
1430
|
return qt(e), null;
|
|
1628
1431
|
}, (f2) => (r._state === "writable" && kt(e), xi(r, f2), null));
|
|
1629
1432
|
}
|
|
1630
|
-
__name(oa, "oa");
|
|
1631
1433
|
n2(oa, "WritableStreamDefaultControllerProcessWrite");
|
|
1632
1434
|
function Fr(e) {
|
|
1633
1435
|
return Jn(e) <= 0;
|
|
1634
1436
|
}
|
|
1635
|
-
__name(Fr, "Fr");
|
|
1636
1437
|
n2(Fr, "WritableStreamDefaultControllerGetBackpressure");
|
|
1637
1438
|
function Xn(e, t2) {
|
|
1638
1439
|
const r = e._controlledWritableStream;
|
|
1639
1440
|
kt(e), kr(r, t2);
|
|
1640
1441
|
}
|
|
1641
|
-
__name(Xn, "Xn");
|
|
1642
1442
|
n2(Xn, "WritableStreamDefaultControllerError");
|
|
1643
1443
|
function Ot(e) {
|
|
1644
1444
|
return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`);
|
|
1645
1445
|
}
|
|
1646
|
-
__name(Ot, "Ot");
|
|
1647
1446
|
n2(Ot, "streamBrandCheckException$2");
|
|
1648
1447
|
function zr(e) {
|
|
1649
1448
|
return new TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`);
|
|
1650
1449
|
}
|
|
1651
|
-
__name(zr, "zr");
|
|
1652
1450
|
n2(zr, "defaultControllerBrandCheckException$2");
|
|
1653
1451
|
function qe(e) {
|
|
1654
1452
|
return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`);
|
|
1655
1453
|
}
|
|
1656
|
-
__name(qe, "qe");
|
|
1657
1454
|
n2(qe, "defaultWriterBrandCheckException");
|
|
1658
1455
|
function at(e) {
|
|
1659
1456
|
return new TypeError("Cannot " + e + " a stream using a released writer");
|
|
1660
1457
|
}
|
|
1661
|
-
__name(at, "at");
|
|
1662
1458
|
n2(at, "defaultWriterLockException");
|
|
1663
1459
|
function It(e) {
|
|
1664
1460
|
e._closedPromise = A((t2, r) => {
|
|
1665
1461
|
e._closedPromise_resolve = t2, e._closedPromise_reject = r, e._closedPromiseState = "pending";
|
|
1666
1462
|
});
|
|
1667
1463
|
}
|
|
1668
|
-
__name(It, "It");
|
|
1669
1464
|
n2(It, "defaultWriterClosedPromiseInitialize");
|
|
1670
1465
|
function eo(e, t2) {
|
|
1671
1466
|
It(e), jr(e, t2);
|
|
1672
1467
|
}
|
|
1673
|
-
__name(eo, "eo");
|
|
1674
1468
|
n2(eo, "defaultWriterClosedPromiseInitializeAsRejected");
|
|
1675
1469
|
function ia(e) {
|
|
1676
1470
|
It(e), to(e);
|
|
1677
1471
|
}
|
|
1678
|
-
__name(ia, "ia");
|
|
1679
1472
|
n2(ia, "defaultWriterClosedPromiseInitializeAsResolved");
|
|
1680
1473
|
function jr(e, t2) {
|
|
1681
1474
|
e._closedPromise_reject !== void 0 && (Q(e._closedPromise), e._closedPromise_reject(t2), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0, e._closedPromiseState = "rejected");
|
|
1682
1475
|
}
|
|
1683
|
-
__name(jr, "jr");
|
|
1684
1476
|
n2(jr, "defaultWriterClosedPromiseReject");
|
|
1685
1477
|
function aa(e, t2) {
|
|
1686
1478
|
eo(e, t2);
|
|
1687
1479
|
}
|
|
1688
|
-
__name(aa, "aa");
|
|
1689
1480
|
n2(aa, "defaultWriterClosedPromiseResetToRejected");
|
|
1690
1481
|
function to(e) {
|
|
1691
1482
|
e._closedPromise_resolve !== void 0 && (e._closedPromise_resolve(void 0), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0, e._closedPromiseState = "resolved");
|
|
1692
1483
|
}
|
|
1693
|
-
__name(to, "to");
|
|
1694
1484
|
n2(to, "defaultWriterClosedPromiseResolve");
|
|
1695
1485
|
function Ft(e) {
|
|
1696
1486
|
e._readyPromise = A((t2, r) => {
|
|
1697
1487
|
e._readyPromise_resolve = t2, e._readyPromise_reject = r;
|
|
1698
1488
|
}), e._readyPromiseState = "pending";
|
|
1699
1489
|
}
|
|
1700
|
-
__name(Ft, "Ft");
|
|
1701
1490
|
n2(Ft, "defaultWriterReadyPromiseInitialize");
|
|
1702
1491
|
function Lr(e, t2) {
|
|
1703
1492
|
Ft(e), no(e, t2);
|
|
1704
1493
|
}
|
|
1705
|
-
__name(Lr, "Lr");
|
|
1706
1494
|
n2(Lr, "defaultWriterReadyPromiseInitializeAsRejected");
|
|
1707
1495
|
function ro(e) {
|
|
1708
1496
|
Ft(e), Dr(e);
|
|
1709
1497
|
}
|
|
1710
|
-
__name(ro, "ro");
|
|
1711
1498
|
n2(ro, "defaultWriterReadyPromiseInitializeAsResolved");
|
|
1712
1499
|
function no(e, t2) {
|
|
1713
1500
|
e._readyPromise_reject !== void 0 && (Q(e._readyPromise), e._readyPromise_reject(t2), e._readyPromise_resolve = void 0, e._readyPromise_reject = void 0, e._readyPromiseState = "rejected");
|
|
1714
1501
|
}
|
|
1715
|
-
__name(no, "no");
|
|
1716
1502
|
n2(no, "defaultWriterReadyPromiseReject");
|
|
1717
1503
|
function sa(e) {
|
|
1718
1504
|
Ft(e);
|
|
1719
1505
|
}
|
|
1720
|
-
__name(sa, "sa");
|
|
1721
1506
|
n2(sa, "defaultWriterReadyPromiseReset");
|
|
1722
1507
|
function ua(e, t2) {
|
|
1723
1508
|
Lr(e, t2);
|
|
1724
1509
|
}
|
|
1725
|
-
__name(ua, "ua");
|
|
1726
1510
|
n2(ua, "defaultWriterReadyPromiseResetToRejected");
|
|
1727
1511
|
function Dr(e) {
|
|
1728
1512
|
e._readyPromise_resolve !== void 0 && (e._readyPromise_resolve(void 0), e._readyPromise_resolve = void 0, e._readyPromise_reject = void 0, e._readyPromiseState = "fulfilled");
|
|
1729
1513
|
}
|
|
1730
|
-
__name(Dr, "Dr");
|
|
1731
1514
|
n2(Dr, "defaultWriterReadyPromiseResolve");
|
|
1732
1515
|
function la() {
|
|
1733
1516
|
if (typeof globalThis < "u") return globalThis;
|
|
1734
1517
|
if (typeof self < "u") return self;
|
|
1735
1518
|
if (typeof n < "u") return n;
|
|
1736
1519
|
}
|
|
1737
|
-
__name(la, "la");
|
|
1738
1520
|
n2(la, "getGlobals");
|
|
1739
1521
|
const $r = la();
|
|
1740
1522
|
function fa(e) {
|
|
@@ -1745,13 +1527,11 @@ function ns() {
|
|
|
1745
1527
|
return false;
|
|
1746
1528
|
}
|
|
1747
1529
|
}
|
|
1748
|
-
__name(fa, "fa");
|
|
1749
1530
|
n2(fa, "isDOMExceptionConstructor");
|
|
1750
1531
|
function ca() {
|
|
1751
1532
|
const e = $r?.DOMException;
|
|
1752
1533
|
return fa(e) ? e : void 0;
|
|
1753
1534
|
}
|
|
1754
|
-
__name(ca, "ca");
|
|
1755
1535
|
n2(ca, "getFromGlobal");
|
|
1756
1536
|
function da() {
|
|
1757
1537
|
const e = n2(function(r, s) {
|
|
@@ -1759,7 +1539,6 @@ function ns() {
|
|
|
1759
1539
|
}, "DOMException");
|
|
1760
1540
|
return h(e, "DOMException"), e.prototype = Object.create(Error.prototype), Object.defineProperty(e.prototype, "constructor", { value: e, writable: true, configurable: true }), e;
|
|
1761
1541
|
}
|
|
1762
|
-
__name(da, "da");
|
|
1763
1542
|
n2(da, "createPolyfill");
|
|
1764
1543
|
const ha = ca() || da();
|
|
1765
1544
|
function oo(e, t2, r, s, f2, c) {
|
|
@@ -1783,11 +1562,9 @@ function ns() {
|
|
|
1783
1562
|
function W(Y) {
|
|
1784
1563
|
Y ? _() : q(Ne(), W, v);
|
|
1785
1564
|
}
|
|
1786
|
-
__name(W, "W");
|
|
1787
1565
|
n2(W, "next"), W(false);
|
|
1788
1566
|
});
|
|
1789
1567
|
}
|
|
1790
|
-
__name(ee, "ee");
|
|
1791
1568
|
n2(ee, "pipeLoop");
|
|
1792
1569
|
function Ne() {
|
|
1793
1570
|
return R ? T(true) : q(p._readyPromise, () => A((_, v) => {
|
|
@@ -1796,7 +1573,6 @@ function ns() {
|
|
|
1796
1573
|
}, "_chunkSteps"), _closeSteps: n2(() => _(true), "_closeSteps"), _errorSteps: v });
|
|
1797
1574
|
}));
|
|
1798
1575
|
}
|
|
1799
|
-
__name(Ne, "Ne");
|
|
1800
1576
|
if (n2(Ne, "pipeStep"), me(e, d._closedPromise, (_) => (s ? K(true, _) : x(() => Bt(t2, _), true, _), null)), me(t2, p._closedPromise, (_) => (f2 ? K(true, _) : x(() => X(e, _), true, _), null)), U(e, d._closedPromise, () => (r ? K() : x(() => Zi(p)), null)), oe(t2) || t2._state === "closed") {
|
|
1801
1577
|
const _ = new TypeError("the destination writable stream closed before all data could be piped to it");
|
|
1802
1578
|
f2 ? K(true, _) : x(() => X(e, _), true, _);
|
|
@@ -1806,17 +1582,14 @@ function ns() {
|
|
|
1806
1582
|
const _ = y;
|
|
1807
1583
|
return q(y, () => _ !== y ? Ee() : void 0);
|
|
1808
1584
|
}
|
|
1809
|
-
__name(Ee, "Ee");
|
|
1810
1585
|
n2(Ee, "waitForWritesToFinish");
|
|
1811
1586
|
function me(_, v, W) {
|
|
1812
1587
|
_._state === "errored" ? W(_._storedError) : I(v, W);
|
|
1813
1588
|
}
|
|
1814
|
-
__name(me, "me");
|
|
1815
1589
|
n2(me, "isOrBecomesErrored");
|
|
1816
1590
|
function U(_, v, W) {
|
|
1817
1591
|
_._state === "closed" ? W() : V(v, W);
|
|
1818
1592
|
}
|
|
1819
|
-
__name(U, "U");
|
|
1820
1593
|
n2(U, "isOrBecomesClosed");
|
|
1821
1594
|
function x(_, v, W) {
|
|
1822
1595
|
if (R) return;
|
|
@@ -1824,29 +1597,21 @@ function ns() {
|
|
|
1824
1597
|
function Y() {
|
|
1825
1598
|
return g(_(), () => be(v, W), (He) => be(true, He)), null;
|
|
1826
1599
|
}
|
|
1827
|
-
__name(Y, "Y");
|
|
1828
1600
|
n2(Y, "doTheRest");
|
|
1829
1601
|
}
|
|
1830
|
-
__name(x, "x");
|
|
1831
1602
|
n2(x, "shutdownWithAction");
|
|
1832
1603
|
function K(_, v) {
|
|
1833
1604
|
R || (R = true, t2._state === "writable" && !oe(t2) ? V(Ee(), () => be(_, v)) : be(_, v));
|
|
1834
1605
|
}
|
|
1835
|
-
__name(K, "K");
|
|
1836
1606
|
n2(K, "shutdown");
|
|
1837
1607
|
function be(_, v) {
|
|
1838
1608
|
return Yn(p), ue(d), c !== void 0 && c.removeEventListener("abort", B), _ ? P(v) : C(void 0), null;
|
|
1839
1609
|
}
|
|
1840
|
-
__name(be, "be");
|
|
1841
1610
|
n2(be, "finalize");
|
|
1842
1611
|
});
|
|
1843
1612
|
}
|
|
1844
|
-
__name(oo, "oo");
|
|
1845
1613
|
n2(oo, "ReadableStreamPipeTo");
|
|
1846
1614
|
class he {
|
|
1847
|
-
static {
|
|
1848
|
-
__name(this, "he");
|
|
1849
|
-
}
|
|
1850
1615
|
static {
|
|
1851
1616
|
n2(this, "ReadableStreamDefaultController");
|
|
1852
1617
|
}
|
|
@@ -1890,7 +1655,6 @@ function ns() {
|
|
|
1890
1655
|
function zt(e) {
|
|
1891
1656
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledReadableStream") ? false : e instanceof he;
|
|
1892
1657
|
}
|
|
1893
|
-
__name(zt, "zt");
|
|
1894
1658
|
n2(zt, "IsReadableStreamDefaultController");
|
|
1895
1659
|
function st(e) {
|
|
1896
1660
|
if (!io(e)) return;
|
|
@@ -1902,25 +1666,21 @@ function ns() {
|
|
|
1902
1666
|
const r = e._pullAlgorithm();
|
|
1903
1667
|
g(r, () => (e._pulling = false, e._pullAgain && (e._pullAgain = false, st(e)), null), (s) => (J(e, s), null));
|
|
1904
1668
|
}
|
|
1905
|
-
__name(st, "st");
|
|
1906
1669
|
n2(st, "ReadableStreamDefaultControllerCallPullIfNeeded");
|
|
1907
1670
|
function io(e) {
|
|
1908
1671
|
const t2 = e._controlledReadableStream;
|
|
1909
1672
|
return !Ue(e) || !e._started ? false : !!(Ce(t2) && gt(t2) > 0 || Mr(e) > 0);
|
|
1910
1673
|
}
|
|
1911
|
-
__name(io, "io");
|
|
1912
1674
|
n2(io, "ReadableStreamDefaultControllerShouldCallPull");
|
|
1913
1675
|
function jt(e) {
|
|
1914
1676
|
e._pullAlgorithm = void 0, e._cancelAlgorithm = void 0, e._strategySizeAlgorithm = void 0;
|
|
1915
1677
|
}
|
|
1916
|
-
__name(jt, "jt");
|
|
1917
1678
|
n2(jt, "ReadableStreamDefaultControllerClearAlgorithms");
|
|
1918
1679
|
function Oe(e) {
|
|
1919
1680
|
if (!Ue(e)) return;
|
|
1920
1681
|
const t2 = e._controlledReadableStream;
|
|
1921
1682
|
e._closeRequested = true, e._queue.length === 0 && (jt(e), lt(t2));
|
|
1922
1683
|
}
|
|
1923
|
-
__name(Oe, "Oe");
|
|
1924
1684
|
n2(Oe, "ReadableStreamDefaultControllerClose");
|
|
1925
1685
|
function Me(e, t2) {
|
|
1926
1686
|
if (!Ue(e)) return;
|
|
@@ -1941,37 +1701,31 @@ function ns() {
|
|
|
1941
1701
|
}
|
|
1942
1702
|
st(e);
|
|
1943
1703
|
}
|
|
1944
|
-
__name(Me, "Me");
|
|
1945
1704
|
n2(Me, "ReadableStreamDefaultControllerEnqueue");
|
|
1946
1705
|
function J(e, t2) {
|
|
1947
1706
|
const r = e._controlledReadableStream;
|
|
1948
1707
|
r._state === "readable" && (Se(e), jt(e), lo(r, t2));
|
|
1949
1708
|
}
|
|
1950
|
-
__name(J, "J");
|
|
1951
1709
|
n2(J, "ReadableStreamDefaultControllerError");
|
|
1952
1710
|
function Mr(e) {
|
|
1953
1711
|
const t2 = e._controlledReadableStream._state;
|
|
1954
1712
|
return t2 === "errored" ? null : t2 === "closed" ? 0 : e._strategyHWM - e._queueTotalSize;
|
|
1955
1713
|
}
|
|
1956
|
-
__name(Mr, "Mr");
|
|
1957
1714
|
n2(Mr, "ReadableStreamDefaultControllerGetDesiredSize");
|
|
1958
1715
|
function ma(e) {
|
|
1959
1716
|
return !io(e);
|
|
1960
1717
|
}
|
|
1961
|
-
__name(ma, "ma");
|
|
1962
1718
|
n2(ma, "ReadableStreamDefaultControllerHasBackpressure");
|
|
1963
1719
|
function Ue(e) {
|
|
1964
1720
|
const t2 = e._controlledReadableStream._state;
|
|
1965
1721
|
return !e._closeRequested && t2 === "readable";
|
|
1966
1722
|
}
|
|
1967
|
-
__name(Ue, "Ue");
|
|
1968
1723
|
n2(Ue, "ReadableStreamDefaultControllerCanCloseOrEnqueue");
|
|
1969
1724
|
function ao(e, t2, r, s, f2, c, d) {
|
|
1970
1725
|
t2._controlledReadableStream = e, t2._queue = void 0, t2._queueTotalSize = void 0, Se(t2), t2._started = false, t2._closeRequested = false, t2._pullAgain = false, t2._pulling = false, t2._strategySizeAlgorithm = d, t2._strategyHWM = c, t2._pullAlgorithm = s, t2._cancelAlgorithm = f2, e._readableStreamController = t2;
|
|
1971
1726
|
const p = r();
|
|
1972
1727
|
g(T(p), () => (t2._started = true, st(t2), null), (R) => (J(t2, R), null));
|
|
1973
1728
|
}
|
|
1974
|
-
__name(ao, "ao");
|
|
1975
1729
|
n2(ao, "SetUpReadableStreamDefaultController");
|
|
1976
1730
|
function ba(e, t2, r, s) {
|
|
1977
1731
|
const f2 = Object.create(he.prototype);
|
|
@@ -1979,17 +1733,14 @@ function ns() {
|
|
|
1979
1733
|
t2.start !== void 0 ? c = n2(() => t2.start(f2), "startAlgorithm") : c = n2(() => {
|
|
1980
1734
|
}, "startAlgorithm"), t2.pull !== void 0 ? d = n2(() => t2.pull(f2), "pullAlgorithm") : d = n2(() => T(void 0), "pullAlgorithm"), t2.cancel !== void 0 ? p = n2((R) => t2.cancel(R), "cancelAlgorithm") : p = n2(() => T(void 0), "cancelAlgorithm"), ao(e, f2, c, d, p, r, s);
|
|
1981
1735
|
}
|
|
1982
|
-
__name(ba, "ba");
|
|
1983
1736
|
n2(ba, "SetUpReadableStreamDefaultControllerFromUnderlyingSource");
|
|
1984
1737
|
function Lt(e) {
|
|
1985
1738
|
return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`);
|
|
1986
1739
|
}
|
|
1987
|
-
__name(Lt, "Lt");
|
|
1988
1740
|
n2(Lt, "defaultControllerBrandCheckException$1");
|
|
1989
1741
|
function pa(e, t2) {
|
|
1990
1742
|
return Ae(e._readableStreamController) ? ga(e) : ya(e);
|
|
1991
1743
|
}
|
|
1992
|
-
__name(pa, "pa");
|
|
1993
1744
|
n2(pa, "ReadableStreamTee");
|
|
1994
1745
|
function ya(e, t2) {
|
|
1995
1746
|
const r = ze(e);
|
|
@@ -2010,7 +1761,6 @@ function ns() {
|
|
|
2010
1761
|
s = false;
|
|
2011
1762
|
}, "_errorSteps") }), T(void 0));
|
|
2012
1763
|
}
|
|
2013
|
-
__name(ee, "ee");
|
|
2014
1764
|
n2(ee, "pullAlgorithm");
|
|
2015
1765
|
function Ne(U) {
|
|
2016
1766
|
if (c = true, p = U, d) {
|
|
@@ -2019,7 +1769,6 @@ function ns() {
|
|
|
2019
1769
|
}
|
|
2020
1770
|
return B;
|
|
2021
1771
|
}
|
|
2022
|
-
__name(Ne, "Ne");
|
|
2023
1772
|
n2(Ne, "cancel1Algorithm");
|
|
2024
1773
|
function Ee(U) {
|
|
2025
1774
|
if (d = true, R = U, c) {
|
|
@@ -2028,14 +1777,11 @@ function ns() {
|
|
|
2028
1777
|
}
|
|
2029
1778
|
return B;
|
|
2030
1779
|
}
|
|
2031
|
-
__name(Ee, "Ee");
|
|
2032
1780
|
n2(Ee, "cancel2Algorithm");
|
|
2033
1781
|
function me() {
|
|
2034
1782
|
}
|
|
2035
|
-
__name(me, "me");
|
|
2036
1783
|
return n2(me, "startAlgorithm"), y = ut(me, ee, Ne), C = ut(me, ee, Ee), I(r._closedPromise, (U) => (J(y._readableStreamController, U), J(C._readableStreamController, U), (!c || !d) && P(void 0), null)), [y, C];
|
|
2037
1784
|
}
|
|
2038
|
-
__name(ya, "ya");
|
|
2039
1785
|
n2(ya, "ReadableStreamDefaultTee");
|
|
2040
1786
|
function ga(e) {
|
|
2041
1787
|
let t2 = ze(e), r = false, s = false, f2 = false, c = false, d = false, p, R, y, C, P;
|
|
@@ -2045,7 +1791,6 @@ function ns() {
|
|
|
2045
1791
|
function ee(_) {
|
|
2046
1792
|
I(_._closedPromise, (v) => (_ !== t2 || (Z(y._readableStreamController, v), Z(C._readableStreamController, v), (!c || !d) && P(void 0)), null));
|
|
2047
1793
|
}
|
|
2048
|
-
__name(ee, "ee");
|
|
2049
1794
|
n2(ee, "forwardReaderError");
|
|
2050
1795
|
function Ne() {
|
|
2051
1796
|
We(t2) && (ue(t2), t2 = ze(e), ee(t2)), et(t2, { _chunkSteps: n2((v) => {
|
|
@@ -2067,7 +1812,6 @@ function ns() {
|
|
|
2067
1812
|
r = false;
|
|
2068
1813
|
}, "_errorSteps") });
|
|
2069
1814
|
}
|
|
2070
|
-
__name(Ne, "Ne");
|
|
2071
1815
|
n2(Ne, "pullWithDefaultReader");
|
|
2072
1816
|
function Ee(_, v) {
|
|
2073
1817
|
ge(t2) && (ue(t2), t2 = jn(e), ee(t2));
|
|
@@ -2097,7 +1841,6 @@ function ns() {
|
|
|
2097
1841
|
r = false;
|
|
2098
1842
|
}, "_errorSteps") });
|
|
2099
1843
|
}
|
|
2100
|
-
__name(Ee, "Ee");
|
|
2101
1844
|
n2(Ee, "pullWithBYOBReader");
|
|
2102
1845
|
function me() {
|
|
2103
1846
|
if (r) return s = true, T(void 0);
|
|
@@ -2105,7 +1848,6 @@ function ns() {
|
|
|
2105
1848
|
const _ = vr(y._readableStreamController);
|
|
2106
1849
|
return _ === null ? Ne() : Ee(_._view, false), T(void 0);
|
|
2107
1850
|
}
|
|
2108
|
-
__name(me, "me");
|
|
2109
1851
|
n2(me, "pull1Algorithm");
|
|
2110
1852
|
function U() {
|
|
2111
1853
|
if (r) return f2 = true, T(void 0);
|
|
@@ -2113,7 +1855,6 @@ function ns() {
|
|
|
2113
1855
|
const _ = vr(C._readableStreamController);
|
|
2114
1856
|
return _ === null ? Ne() : Ee(_._view, true), T(void 0);
|
|
2115
1857
|
}
|
|
2116
|
-
__name(U, "U");
|
|
2117
1858
|
n2(U, "pull2Algorithm");
|
|
2118
1859
|
function x(_) {
|
|
2119
1860
|
if (c = true, p = _, d) {
|
|
@@ -2122,7 +1863,6 @@ function ns() {
|
|
|
2122
1863
|
}
|
|
2123
1864
|
return B;
|
|
2124
1865
|
}
|
|
2125
|
-
__name(x, "x");
|
|
2126
1866
|
n2(x, "cancel1Algorithm");
|
|
2127
1867
|
function K(_) {
|
|
2128
1868
|
if (d = true, R = _, c) {
|
|
@@ -2131,24 +1871,19 @@ function ns() {
|
|
|
2131
1871
|
}
|
|
2132
1872
|
return B;
|
|
2133
1873
|
}
|
|
2134
|
-
__name(K, "K");
|
|
2135
1874
|
n2(K, "cancel2Algorithm");
|
|
2136
1875
|
function be() {
|
|
2137
1876
|
}
|
|
2138
|
-
__name(be, "be");
|
|
2139
1877
|
return n2(be, "startAlgorithm"), y = uo(be, me, x), C = uo(be, U, K), ee(t2), [y, C];
|
|
2140
1878
|
}
|
|
2141
|
-
__name(ga, "ga");
|
|
2142
1879
|
n2(ga, "ReadableByteStreamTee");
|
|
2143
1880
|
function _a(e) {
|
|
2144
1881
|
return u(e) && typeof e.getReader < "u";
|
|
2145
1882
|
}
|
|
2146
|
-
__name(_a, "_a");
|
|
2147
1883
|
n2(_a, "isReadableStreamLike");
|
|
2148
1884
|
function Sa(e) {
|
|
2149
1885
|
return _a(e) ? Ra(e.getReader()) : wa(e);
|
|
2150
1886
|
}
|
|
2151
|
-
__name(Sa, "Sa");
|
|
2152
1887
|
n2(Sa, "ReadableStreamFrom");
|
|
2153
1888
|
function wa(e) {
|
|
2154
1889
|
let t2;
|
|
@@ -2170,7 +1905,6 @@ function ns() {
|
|
|
2170
1905
|
}
|
|
2171
1906
|
});
|
|
2172
1907
|
}
|
|
2173
|
-
__name(f2, "f");
|
|
2174
1908
|
n2(f2, "pullAlgorithm");
|
|
2175
1909
|
function c(d) {
|
|
2176
1910
|
const p = r.iterator;
|
|
@@ -2192,10 +1926,8 @@ function ns() {
|
|
|
2192
1926
|
if (!u(P)) throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object");
|
|
2193
1927
|
});
|
|
2194
1928
|
}
|
|
2195
|
-
__name(c, "c");
|
|
2196
1929
|
return n2(c, "cancelAlgorithm"), t2 = ut(s, f2, c, 0), t2;
|
|
2197
1930
|
}
|
|
2198
|
-
__name(wa, "wa");
|
|
2199
1931
|
n2(wa, "ReadableStreamFromIterable");
|
|
2200
1932
|
function Ra(e) {
|
|
2201
1933
|
let t2;
|
|
@@ -2216,7 +1948,6 @@ function ns() {
|
|
|
2216
1948
|
}
|
|
2217
1949
|
});
|
|
2218
1950
|
}
|
|
2219
|
-
__name(s, "s");
|
|
2220
1951
|
n2(s, "pullAlgorithm");
|
|
2221
1952
|
function f2(c) {
|
|
2222
1953
|
try {
|
|
@@ -2225,55 +1956,45 @@ function ns() {
|
|
|
2225
1956
|
return b(d);
|
|
2226
1957
|
}
|
|
2227
1958
|
}
|
|
2228
|
-
__name(f2, "f");
|
|
2229
1959
|
return n2(f2, "cancelAlgorithm"), t2 = ut(r, s, f2, 0), t2;
|
|
2230
1960
|
}
|
|
2231
|
-
__name(Ra, "Ra");
|
|
2232
1961
|
n2(Ra, "ReadableStreamFromDefaultReader");
|
|
2233
1962
|
function Ta(e, t2) {
|
|
2234
1963
|
ne(e, t2);
|
|
2235
1964
|
const r = e, s = r?.autoAllocateChunkSize, f2 = r?.cancel, c = r?.pull, d = r?.start, p = r?.type;
|
|
2236
1965
|
return { autoAllocateChunkSize: s === void 0 ? void 0 : mr(s, `${t2} has member 'autoAllocateChunkSize' that`), cancel: f2 === void 0 ? void 0 : Ca(f2, r, `${t2} has member 'cancel' that`), pull: c === void 0 ? void 0 : Pa(c, r, `${t2} has member 'pull' that`), start: d === void 0 ? void 0 : Ea(d, r, `${t2} has member 'start' that`), type: p === void 0 ? void 0 : va(p, `${t2} has member 'type' that`) };
|
|
2237
1966
|
}
|
|
2238
|
-
__name(Ta, "Ta");
|
|
2239
1967
|
n2(Ta, "convertUnderlyingDefaultOrByteSource");
|
|
2240
1968
|
function Ca(e, t2, r) {
|
|
2241
1969
|
return G(e, r), (s) => z(e, t2, [s]);
|
|
2242
1970
|
}
|
|
2243
|
-
__name(Ca, "Ca");
|
|
2244
1971
|
n2(Ca, "convertUnderlyingSourceCancelCallback");
|
|
2245
1972
|
function Pa(e, t2, r) {
|
|
2246
1973
|
return G(e, r), (s) => z(e, t2, [s]);
|
|
2247
1974
|
}
|
|
2248
|
-
__name(Pa, "Pa");
|
|
2249
1975
|
n2(Pa, "convertUnderlyingSourcePullCallback");
|
|
2250
1976
|
function Ea(e, t2, r) {
|
|
2251
1977
|
return G(e, r), (s) => O(e, t2, [s]);
|
|
2252
1978
|
}
|
|
2253
|
-
__name(Ea, "Ea");
|
|
2254
1979
|
n2(Ea, "convertUnderlyingSourceStartCallback");
|
|
2255
1980
|
function va(e, t2) {
|
|
2256
1981
|
if (e = `${e}`, e !== "bytes") throw new TypeError(`${t2} '${e}' is not a valid enumeration value for ReadableStreamType`);
|
|
2257
1982
|
return e;
|
|
2258
1983
|
}
|
|
2259
|
-
__name(va, "va");
|
|
2260
1984
|
n2(va, "convertReadableStreamType");
|
|
2261
1985
|
function Aa(e, t2) {
|
|
2262
1986
|
return ne(e, t2), { preventCancel: !!e?.preventCancel };
|
|
2263
1987
|
}
|
|
2264
|
-
__name(Aa, "Aa");
|
|
2265
1988
|
n2(Aa, "convertIteratorOptions");
|
|
2266
1989
|
function so(e, t2) {
|
|
2267
1990
|
ne(e, t2);
|
|
2268
1991
|
const r = e?.preventAbort, s = e?.preventCancel, f2 = e?.preventClose, c = e?.signal;
|
|
2269
1992
|
return c !== void 0 && Ba(c, `${t2} has member 'signal' that`), { preventAbort: !!r, preventCancel: !!s, preventClose: !!f2, signal: c };
|
|
2270
1993
|
}
|
|
2271
|
-
__name(so, "so");
|
|
2272
1994
|
n2(so, "convertPipeOptions");
|
|
2273
1995
|
function Ba(e, t2) {
|
|
2274
1996
|
if (!ji(e)) throw new TypeError(`${t2} is not an AbortSignal.`);
|
|
2275
1997
|
}
|
|
2276
|
-
__name(Ba, "Ba");
|
|
2277
1998
|
n2(Ba, "assertAbortSignal");
|
|
2278
1999
|
function Wa(e, t2) {
|
|
2279
2000
|
ne(e, t2);
|
|
@@ -2282,12 +2003,8 @@ function ns() {
|
|
|
2282
2003
|
const s = e?.writable;
|
|
2283
2004
|
return dr(s, "writable", "ReadableWritablePair"), Un(s, `${t2} has member 'writable' that`), { readable: r, writable: s };
|
|
2284
2005
|
}
|
|
2285
|
-
__name(Wa, "Wa");
|
|
2286
2006
|
n2(Wa, "convertReadableWritablePair");
|
|
2287
2007
|
class L {
|
|
2288
|
-
static {
|
|
2289
|
-
__name(this, "L");
|
|
2290
|
-
}
|
|
2291
2008
|
static {
|
|
2292
2009
|
n2(this, "ReadableStream");
|
|
2293
2010
|
}
|
|
@@ -2359,7 +2076,6 @@ function ns() {
|
|
|
2359
2076
|
const d = Object.create(he.prototype);
|
|
2360
2077
|
return ao(c, d, e, t2, r, s, f2), c;
|
|
2361
2078
|
}
|
|
2362
|
-
__name(ut, "ut");
|
|
2363
2079
|
n2(ut, "CreateReadableStream");
|
|
2364
2080
|
function uo(e, t2, r) {
|
|
2365
2081
|
const s = Object.create(L.prototype);
|
|
@@ -2367,22 +2083,18 @@ function ns() {
|
|
|
2367
2083
|
const f2 = Object.create(ce.prototype);
|
|
2368
2084
|
return zn(s, f2, e, t2, r, 0, void 0), s;
|
|
2369
2085
|
}
|
|
2370
|
-
__name(uo, "uo");
|
|
2371
2086
|
n2(uo, "CreateReadableByteStream");
|
|
2372
2087
|
function Ur(e) {
|
|
2373
2088
|
e._state = "readable", e._reader = void 0, e._storedError = void 0, e._disturbed = false;
|
|
2374
2089
|
}
|
|
2375
|
-
__name(Ur, "Ur");
|
|
2376
2090
|
n2(Ur, "InitializeReadableStream");
|
|
2377
2091
|
function Te(e) {
|
|
2378
2092
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_readableStreamController") ? false : e instanceof L;
|
|
2379
2093
|
}
|
|
2380
|
-
__name(Te, "Te");
|
|
2381
2094
|
n2(Te, "IsReadableStream");
|
|
2382
2095
|
function Ce(e) {
|
|
2383
2096
|
return e._reader !== void 0;
|
|
2384
2097
|
}
|
|
2385
|
-
__name(Ce, "Ce");
|
|
2386
2098
|
n2(Ce, "IsReadableStreamLocked");
|
|
2387
2099
|
function X(e, t2) {
|
|
2388
2100
|
if (e._disturbed = true, e._state === "closed") return T(void 0);
|
|
@@ -2398,7 +2110,6 @@ function ns() {
|
|
|
2398
2110
|
const s = e._readableStreamController[ar](t2);
|
|
2399
2111
|
return F(s, l);
|
|
2400
2112
|
}
|
|
2401
|
-
__name(X, "X");
|
|
2402
2113
|
n2(X, "ReadableStreamCancel");
|
|
2403
2114
|
function lt(e) {
|
|
2404
2115
|
e._state = "closed";
|
|
@@ -2410,33 +2121,26 @@ function ns() {
|
|
|
2410
2121
|
});
|
|
2411
2122
|
}
|
|
2412
2123
|
}
|
|
2413
|
-
__name(lt, "lt");
|
|
2414
2124
|
n2(lt, "ReadableStreamClose");
|
|
2415
2125
|
function lo(e, t2) {
|
|
2416
2126
|
e._state = "errored", e._storedError = t2;
|
|
2417
2127
|
const r = e._reader;
|
|
2418
2128
|
r !== void 0 && (cr(r, t2), ge(r) ? bn(r, t2) : Mn(r, t2));
|
|
2419
2129
|
}
|
|
2420
|
-
__name(lo, "lo");
|
|
2421
2130
|
n2(lo, "ReadableStreamError");
|
|
2422
2131
|
function Ie(e) {
|
|
2423
2132
|
return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`);
|
|
2424
2133
|
}
|
|
2425
|
-
__name(Ie, "Ie");
|
|
2426
2134
|
n2(Ie, "streamBrandCheckException$1");
|
|
2427
2135
|
function fo(e, t2) {
|
|
2428
2136
|
ne(e, t2);
|
|
2429
2137
|
const r = e?.highWaterMark;
|
|
2430
2138
|
return dr(r, "highWaterMark", "QueuingStrategyInit"), { highWaterMark: hr(r) };
|
|
2431
2139
|
}
|
|
2432
|
-
__name(fo, "fo");
|
|
2433
2140
|
n2(fo, "convertQueuingStrategyInit");
|
|
2434
2141
|
const co = n2((e) => e.byteLength, "byteLengthSizeFunction");
|
|
2435
2142
|
h(co, "size");
|
|
2436
2143
|
class Dt {
|
|
2437
|
-
static {
|
|
2438
|
-
__name(this, "Dt");
|
|
2439
|
-
}
|
|
2440
2144
|
static {
|
|
2441
2145
|
n2(this, "ByteLengthQueuingStrategy");
|
|
2442
2146
|
}
|
|
@@ -2456,19 +2160,14 @@ function ns() {
|
|
|
2456
2160
|
function ho(e) {
|
|
2457
2161
|
return new TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`);
|
|
2458
2162
|
}
|
|
2459
|
-
__name(ho, "ho");
|
|
2460
2163
|
n2(ho, "byteLengthBrandCheckException");
|
|
2461
2164
|
function mo(e) {
|
|
2462
2165
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_byteLengthQueuingStrategyHighWaterMark") ? false : e instanceof Dt;
|
|
2463
2166
|
}
|
|
2464
|
-
__name(mo, "mo");
|
|
2465
2167
|
n2(mo, "IsByteLengthQueuingStrategy");
|
|
2466
2168
|
const bo = n2(() => 1, "countSizeFunction");
|
|
2467
2169
|
h(bo, "size");
|
|
2468
2170
|
class $t {
|
|
2469
|
-
static {
|
|
2470
|
-
__name(this, "$t");
|
|
2471
|
-
}
|
|
2472
2171
|
static {
|
|
2473
2172
|
n2(this, "CountQueuingStrategy");
|
|
2474
2173
|
}
|
|
@@ -2488,44 +2187,34 @@ function ns() {
|
|
|
2488
2187
|
function po(e) {
|
|
2489
2188
|
return new TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`);
|
|
2490
2189
|
}
|
|
2491
|
-
__name(po, "po");
|
|
2492
2190
|
n2(po, "countBrandCheckException");
|
|
2493
2191
|
function yo(e) {
|
|
2494
2192
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_countQueuingStrategyHighWaterMark") ? false : e instanceof $t;
|
|
2495
2193
|
}
|
|
2496
|
-
__name(yo, "yo");
|
|
2497
2194
|
n2(yo, "IsCountQueuingStrategy");
|
|
2498
2195
|
function ka(e, t2) {
|
|
2499
2196
|
ne(e, t2);
|
|
2500
2197
|
const r = e?.cancel, s = e?.flush, f2 = e?.readableType, c = e?.start, d = e?.transform, p = e?.writableType;
|
|
2501
2198
|
return { cancel: r === void 0 ? void 0 : Fa(r, e, `${t2} has member 'cancel' that`), flush: s === void 0 ? void 0 : qa(s, e, `${t2} has member 'flush' that`), readableType: f2, start: c === void 0 ? void 0 : Oa(c, e, `${t2} has member 'start' that`), transform: d === void 0 ? void 0 : Ia(d, e, `${t2} has member 'transform' that`), writableType: p };
|
|
2502
2199
|
}
|
|
2503
|
-
__name(ka, "ka");
|
|
2504
2200
|
n2(ka, "convertTransformer");
|
|
2505
2201
|
function qa(e, t2, r) {
|
|
2506
2202
|
return G(e, r), (s) => z(e, t2, [s]);
|
|
2507
2203
|
}
|
|
2508
|
-
__name(qa, "qa");
|
|
2509
2204
|
n2(qa, "convertTransformerFlushCallback");
|
|
2510
2205
|
function Oa(e, t2, r) {
|
|
2511
2206
|
return G(e, r), (s) => O(e, t2, [s]);
|
|
2512
2207
|
}
|
|
2513
|
-
__name(Oa, "Oa");
|
|
2514
2208
|
n2(Oa, "convertTransformerStartCallback");
|
|
2515
2209
|
function Ia(e, t2, r) {
|
|
2516
2210
|
return G(e, r), (s, f2) => z(e, t2, [s, f2]);
|
|
2517
2211
|
}
|
|
2518
|
-
__name(Ia, "Ia");
|
|
2519
2212
|
n2(Ia, "convertTransformerTransformCallback");
|
|
2520
2213
|
function Fa(e, t2, r) {
|
|
2521
2214
|
return G(e, r), (s) => z(e, t2, [s]);
|
|
2522
2215
|
}
|
|
2523
|
-
__name(Fa, "Fa");
|
|
2524
2216
|
n2(Fa, "convertTransformerCancelCallback");
|
|
2525
2217
|
class Mt {
|
|
2526
|
-
static {
|
|
2527
|
-
__name(this, "Mt");
|
|
2528
|
-
}
|
|
2529
2218
|
static {
|
|
2530
2219
|
n2(this, "TransformStream");
|
|
2531
2220
|
}
|
|
@@ -2555,67 +2244,52 @@ function ns() {
|
|
|
2555
2244
|
function d() {
|
|
2556
2245
|
return t2;
|
|
2557
2246
|
}
|
|
2558
|
-
__name(d, "d");
|
|
2559
2247
|
n2(d, "startAlgorithm");
|
|
2560
2248
|
function p(B) {
|
|
2561
2249
|
return Ma(e, B);
|
|
2562
2250
|
}
|
|
2563
|
-
__name(p, "p");
|
|
2564
2251
|
n2(p, "writeAlgorithm");
|
|
2565
2252
|
function R(B) {
|
|
2566
2253
|
return Ua(e, B);
|
|
2567
2254
|
}
|
|
2568
|
-
__name(R, "R");
|
|
2569
2255
|
n2(R, "abortAlgorithm");
|
|
2570
2256
|
function y() {
|
|
2571
2257
|
return xa(e);
|
|
2572
2258
|
}
|
|
2573
|
-
__name(y, "y");
|
|
2574
2259
|
n2(y, "closeAlgorithm"), e._writable = $i(d, p, y, R, r, s);
|
|
2575
2260
|
function C() {
|
|
2576
2261
|
return Na(e);
|
|
2577
2262
|
}
|
|
2578
|
-
__name(C, "C");
|
|
2579
2263
|
n2(C, "pullAlgorithm");
|
|
2580
2264
|
function P(B) {
|
|
2581
2265
|
return Ha(e, B);
|
|
2582
2266
|
}
|
|
2583
|
-
__name(P, "P");
|
|
2584
2267
|
n2(P, "cancelAlgorithm"), e._readable = ut(d, C, P, f2, c), e._backpressure = void 0, e._backpressureChangePromise = void 0, e._backpressureChangePromise_resolve = void 0, Ut(e, true), e._transformStreamController = void 0;
|
|
2585
2268
|
}
|
|
2586
|
-
__name(za, "za");
|
|
2587
2269
|
n2(za, "InitializeTransformStream");
|
|
2588
2270
|
function go(e) {
|
|
2589
2271
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_transformStreamController") ? false : e instanceof Mt;
|
|
2590
2272
|
}
|
|
2591
|
-
__name(go, "go");
|
|
2592
2273
|
n2(go, "IsTransformStream");
|
|
2593
2274
|
function _o(e, t2) {
|
|
2594
2275
|
J(e._readable._readableStreamController, t2), xr(e, t2);
|
|
2595
2276
|
}
|
|
2596
|
-
__name(_o, "_o");
|
|
2597
2277
|
n2(_o, "TransformStreamError");
|
|
2598
2278
|
function xr(e, t2) {
|
|
2599
2279
|
Nt(e._transformStreamController), it(e._writable._writableStreamController, t2), Nr(e);
|
|
2600
2280
|
}
|
|
2601
|
-
__name(xr, "xr");
|
|
2602
2281
|
n2(xr, "TransformStreamErrorWritableAndUnblockWrite");
|
|
2603
2282
|
function Nr(e) {
|
|
2604
2283
|
e._backpressure && Ut(e, false);
|
|
2605
2284
|
}
|
|
2606
|
-
__name(Nr, "Nr");
|
|
2607
2285
|
n2(Nr, "TransformStreamUnblockWrite");
|
|
2608
2286
|
function Ut(e, t2) {
|
|
2609
2287
|
e._backpressureChangePromise !== void 0 && e._backpressureChangePromise_resolve(), e._backpressureChangePromise = A((r) => {
|
|
2610
2288
|
e._backpressureChangePromise_resolve = r;
|
|
2611
2289
|
}), e._backpressure = t2;
|
|
2612
2290
|
}
|
|
2613
|
-
__name(Ut, "Ut");
|
|
2614
2291
|
n2(Ut, "TransformStreamSetBackpressure");
|
|
2615
2292
|
class Pe {
|
|
2616
|
-
static {
|
|
2617
|
-
__name(this, "Pe");
|
|
2618
|
-
}
|
|
2619
2293
|
static {
|
|
2620
2294
|
n2(this, "TransformStreamDefaultController");
|
|
2621
2295
|
}
|
|
@@ -2644,12 +2318,10 @@ function ns() {
|
|
|
2644
2318
|
function xt(e) {
|
|
2645
2319
|
return !u(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledTransformStream") ? false : e instanceof Pe;
|
|
2646
2320
|
}
|
|
2647
|
-
__name(xt, "xt");
|
|
2648
2321
|
n2(xt, "IsTransformStreamDefaultController");
|
|
2649
2322
|
function ja(e, t2, r, s, f2) {
|
|
2650
2323
|
t2._controlledTransformStream = e, e._transformStreamController = t2, t2._transformAlgorithm = r, t2._flushAlgorithm = s, t2._cancelAlgorithm = f2, t2._finishPromise = void 0, t2._finishPromise_resolve = void 0, t2._finishPromise_reject = void 0;
|
|
2651
2324
|
}
|
|
2652
|
-
__name(ja, "ja");
|
|
2653
2325
|
n2(ja, "SetUpTransformStreamDefaultController");
|
|
2654
2326
|
function La(e, t2) {
|
|
2655
2327
|
const r = Object.create(Pe.prototype);
|
|
@@ -2662,12 +2334,10 @@ function ns() {
|
|
|
2662
2334
|
}
|
|
2663
2335
|
}, "transformAlgorithm"), t2.flush !== void 0 ? f2 = n2(() => t2.flush(r), "flushAlgorithm") : f2 = n2(() => T(void 0), "flushAlgorithm"), t2.cancel !== void 0 ? c = n2((d) => t2.cancel(d), "cancelAlgorithm") : c = n2(() => T(void 0), "cancelAlgorithm"), ja(e, r, s, f2, c);
|
|
2664
2336
|
}
|
|
2665
|
-
__name(La, "La");
|
|
2666
2337
|
n2(La, "SetUpTransformStreamDefaultControllerFromTransformer");
|
|
2667
2338
|
function Nt(e) {
|
|
2668
2339
|
e._transformAlgorithm = void 0, e._flushAlgorithm = void 0, e._cancelAlgorithm = void 0;
|
|
2669
2340
|
}
|
|
2670
|
-
__name(Nt, "Nt");
|
|
2671
2341
|
n2(Nt, "TransformStreamDefaultControllerClearAlgorithms");
|
|
2672
2342
|
function So(e, t2) {
|
|
2673
2343
|
const r = e._controlledTransformStream, s = r._readable._readableStreamController;
|
|
@@ -2679,12 +2349,10 @@ function ns() {
|
|
|
2679
2349
|
}
|
|
2680
2350
|
ma(s) !== r._backpressure && Ut(r, true);
|
|
2681
2351
|
}
|
|
2682
|
-
__name(So, "So");
|
|
2683
2352
|
n2(So, "TransformStreamDefaultControllerEnqueue");
|
|
2684
2353
|
function Da(e, t2) {
|
|
2685
2354
|
_o(e._controlledTransformStream, t2);
|
|
2686
2355
|
}
|
|
2687
|
-
__name(Da, "Da");
|
|
2688
2356
|
n2(Da, "TransformStreamDefaultControllerError");
|
|
2689
2357
|
function wo(e, t2) {
|
|
2690
2358
|
const r = e._transformAlgorithm(t2);
|
|
@@ -2692,7 +2360,6 @@ function ns() {
|
|
|
2692
2360
|
throw _o(e._controlledTransformStream, s), s;
|
|
2693
2361
|
});
|
|
2694
2362
|
}
|
|
2695
|
-
__name(wo, "wo");
|
|
2696
2363
|
n2(wo, "TransformStreamDefaultControllerPerformTransform");
|
|
2697
2364
|
function $a(e) {
|
|
2698
2365
|
const t2 = e._controlledTransformStream, r = t2._readable._readableStreamController;
|
|
@@ -2700,7 +2367,6 @@ function ns() {
|
|
|
2700
2367
|
const s = new TypeError("TransformStream terminated");
|
|
2701
2368
|
xr(t2, s);
|
|
2702
2369
|
}
|
|
2703
|
-
__name($a, "$a");
|
|
2704
2370
|
n2($a, "TransformStreamDefaultControllerTerminate");
|
|
2705
2371
|
function Ma(e, t2) {
|
|
2706
2372
|
const r = e._transformStreamController;
|
|
@@ -2714,7 +2380,6 @@ function ns() {
|
|
|
2714
2380
|
}
|
|
2715
2381
|
return wo(r, t2);
|
|
2716
2382
|
}
|
|
2717
|
-
__name(Ma, "Ma");
|
|
2718
2383
|
n2(Ma, "TransformStreamDefaultSinkWriteAlgorithm");
|
|
2719
2384
|
function Ua(e, t2) {
|
|
2720
2385
|
const r = e._transformStreamController;
|
|
@@ -2726,7 +2391,6 @@ function ns() {
|
|
|
2726
2391
|
const f2 = r._cancelAlgorithm(t2);
|
|
2727
2392
|
return Nt(r), g(f2, () => (s._state === "errored" ? xe(r, s._storedError) : (J(s._readableStreamController, t2), Hr(r)), null), (c) => (J(s._readableStreamController, c), xe(r, c), null)), r._finishPromise;
|
|
2728
2393
|
}
|
|
2729
|
-
__name(Ua, "Ua");
|
|
2730
2394
|
n2(Ua, "TransformStreamDefaultSinkAbortAlgorithm");
|
|
2731
2395
|
function xa(e) {
|
|
2732
2396
|
const t2 = e._transformStreamController;
|
|
@@ -2738,12 +2402,10 @@ function ns() {
|
|
|
2738
2402
|
const s = t2._flushAlgorithm();
|
|
2739
2403
|
return Nt(t2), g(s, () => (r._state === "errored" ? xe(t2, r._storedError) : (Oe(r._readableStreamController), Hr(t2)), null), (f2) => (J(r._readableStreamController, f2), xe(t2, f2), null)), t2._finishPromise;
|
|
2740
2404
|
}
|
|
2741
|
-
__name(xa, "xa");
|
|
2742
2405
|
n2(xa, "TransformStreamDefaultSinkCloseAlgorithm");
|
|
2743
2406
|
function Na(e) {
|
|
2744
2407
|
return Ut(e, false), e._backpressureChangePromise;
|
|
2745
2408
|
}
|
|
2746
|
-
__name(Na, "Na");
|
|
2747
2409
|
n2(Na, "TransformStreamDefaultSourcePullAlgorithm");
|
|
2748
2410
|
function Ha(e, t2) {
|
|
2749
2411
|
const r = e._transformStreamController;
|
|
@@ -2755,27 +2417,22 @@ function ns() {
|
|
|
2755
2417
|
const f2 = r._cancelAlgorithm(t2);
|
|
2756
2418
|
return Nt(r), g(f2, () => (s._state === "errored" ? xe(r, s._storedError) : (it(s._writableStreamController, t2), Nr(e), Hr(r)), null), (c) => (it(s._writableStreamController, c), Nr(e), xe(r, c), null)), r._finishPromise;
|
|
2757
2419
|
}
|
|
2758
|
-
__name(Ha, "Ha");
|
|
2759
2420
|
n2(Ha, "TransformStreamDefaultSourceCancelAlgorithm");
|
|
2760
2421
|
function Ht(e) {
|
|
2761
2422
|
return new TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`);
|
|
2762
2423
|
}
|
|
2763
|
-
__name(Ht, "Ht");
|
|
2764
2424
|
n2(Ht, "defaultControllerBrandCheckException");
|
|
2765
2425
|
function Hr(e) {
|
|
2766
2426
|
e._finishPromise_resolve !== void 0 && (e._finishPromise_resolve(), e._finishPromise_resolve = void 0, e._finishPromise_reject = void 0);
|
|
2767
2427
|
}
|
|
2768
|
-
__name(Hr, "Hr");
|
|
2769
2428
|
n2(Hr, "defaultControllerFinishPromiseResolve");
|
|
2770
2429
|
function xe(e, t2) {
|
|
2771
2430
|
e._finishPromise_reject !== void 0 && (Q(e._finishPromise), e._finishPromise_reject(t2), e._finishPromise_resolve = void 0, e._finishPromise_reject = void 0);
|
|
2772
2431
|
}
|
|
2773
|
-
__name(xe, "xe");
|
|
2774
2432
|
n2(xe, "defaultControllerFinishPromiseReject");
|
|
2775
2433
|
function Ro(e) {
|
|
2776
2434
|
return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`);
|
|
2777
2435
|
}
|
|
2778
|
-
__name(Ro, "Ro");
|
|
2779
2436
|
n2(Ro, "streamBrandCheckException"), a.ByteLengthQueuingStrategy = Dt, a.CountQueuingStrategy = $t, a.ReadableByteStreamController = ce, a.ReadableStream = L, a.ReadableStreamBYOBReader = we, a.ReadableStreamBYOBRequest = ve, a.ReadableStreamDefaultController = he, a.ReadableStreamDefaultReader = ye, a.TransformStream = Mt, a.TransformStreamDefaultController = Pe, a.WritableStream = Re, a.WritableStreamDefaultController = $e, a.WritableStreamDefaultWriter = de;
|
|
2780
2437
|
});
|
|
2781
2438
|
}(ct, ct.exports)), ct.exports;
|
|
@@ -3120,7 +2777,6 @@ function js(i, o2) {
|
|
|
3120
2777
|
function l(u, m) {
|
|
3121
2778
|
i.call(this, u, m);
|
|
3122
2779
|
}
|
|
3123
|
-
__name(l, "l");
|
|
3124
2780
|
n2(l, "CustomEvent"), l.prototype = Object.create(i.prototype, { constructor: { value: l, configurable: true, writable: true } });
|
|
3125
2781
|
for (let u = 0; u < a.length; ++u) {
|
|
3126
2782
|
const m = a[u];
|
|
@@ -3186,7 +2842,6 @@ function Ko(i) {
|
|
|
3186
2842
|
function o2() {
|
|
3187
2843
|
pe.call(this);
|
|
3188
2844
|
}
|
|
3189
|
-
__name(o2, "o");
|
|
3190
2845
|
n2(o2, "CustomEventTarget"), o2.prototype = Object.create(pe.prototype, { constructor: { value: o2, configurable: true, writable: true } });
|
|
3191
2846
|
for (let a = 0; a < i.length; ++a) Zo(o2.prototype, i[a]);
|
|
3192
2847
|
return o2;
|
|
@@ -3225,23 +2880,16 @@ var init_node = __esm({
|
|
|
3225
2880
|
init_esm_shims();
|
|
3226
2881
|
init_node_fetch_native_DfbY2q_x();
|
|
3227
2882
|
Va = Object.defineProperty;
|
|
3228
|
-
n2 =
|
|
3229
|
-
__name(ts, "ts");
|
|
2883
|
+
n2 = (i, o2) => Va(i, "name", { value: o2, configurable: true });
|
|
3230
2884
|
n2(ts, "dataUriToBuffer");
|
|
3231
2885
|
Eo = {};
|
|
3232
2886
|
ct = { exports: {} };
|
|
3233
2887
|
rs = ct.exports;
|
|
3234
|
-
__name(ns, "ns");
|
|
3235
2888
|
n2(ns, "requirePonyfill_es2018");
|
|
3236
|
-
__name(os, "os");
|
|
3237
2889
|
n2(os, "requireStreams"), os();
|
|
3238
2890
|
Bo = 65536;
|
|
3239
|
-
__name(Qr, "Qr");
|
|
3240
2891
|
n2(Qr, "toIterator");
|
|
3241
2892
|
Wo = class on {
|
|
3242
|
-
static {
|
|
3243
|
-
__name(this, "on");
|
|
3244
|
-
}
|
|
3245
2893
|
static {
|
|
3246
2894
|
n2(this, "Blob");
|
|
3247
2895
|
}
|
|
@@ -3317,9 +2965,6 @@ var init_node = __esm({
|
|
|
3317
2965
|
Object.defineProperties(Wo.prototype, { size: { enumerable: true }, type: { enumerable: true }, slice: { enumerable: true } });
|
|
3318
2966
|
Ze = Wo;
|
|
3319
2967
|
is = class extends Ze {
|
|
3320
|
-
static {
|
|
3321
|
-
__name(this, "is");
|
|
3322
|
-
}
|
|
3323
2968
|
static {
|
|
3324
2969
|
n2(this, "File");
|
|
3325
2970
|
}
|
|
@@ -3355,9 +3000,6 @@ var init_node = __esm({
|
|
|
3355
3000
|
if (o2.length < a) throw new TypeError(`Failed to execute '${i}' on 'FormData': ${a} arguments required, but only ${o2.length} present.`);
|
|
3356
3001
|
}, "x");
|
|
3357
3002
|
Zt = class {
|
|
3358
|
-
static {
|
|
3359
|
-
__name(this, "Zt");
|
|
3360
|
-
}
|
|
3361
3003
|
static {
|
|
3362
3004
|
n2(this, "FormData");
|
|
3363
3005
|
}
|
|
@@ -3412,12 +3054,8 @@ var init_node = __esm({
|
|
|
3412
3054
|
for (var [, o2] of this) yield o2;
|
|
3413
3055
|
}
|
|
3414
3056
|
};
|
|
3415
|
-
__name(ls, "ls");
|
|
3416
3057
|
n2(ls, "formDataToBlob");
|
|
3417
3058
|
Kt = class extends Error {
|
|
3418
|
-
static {
|
|
3419
|
-
__name(this, "Kt");
|
|
3420
|
-
}
|
|
3421
3059
|
static {
|
|
3422
3060
|
n2(this, "FetchBaseError");
|
|
3423
3061
|
}
|
|
@@ -3432,9 +3070,6 @@ var init_node = __esm({
|
|
|
3432
3070
|
}
|
|
3433
3071
|
};
|
|
3434
3072
|
te = class extends Kt {
|
|
3435
|
-
static {
|
|
3436
|
-
__name(this, "te");
|
|
3437
|
-
}
|
|
3438
3073
|
static {
|
|
3439
3074
|
n2(this, "FetchError");
|
|
3440
3075
|
}
|
|
@@ -3457,9 +3092,6 @@ var init_node = __esm({
|
|
|
3457
3092
|
hs = Ya(ie.pipeline);
|
|
3458
3093
|
N = Symbol("Body internals");
|
|
3459
3094
|
ht = class {
|
|
3460
|
-
static {
|
|
3461
|
-
__name(this, "ht");
|
|
3462
|
-
}
|
|
3463
3095
|
static {
|
|
3464
3096
|
n2(this, "Body");
|
|
3465
3097
|
}
|
|
@@ -3489,7 +3121,7 @@ var init_node = __esm({
|
|
|
3489
3121
|
for (const [m, h] of u) l.append(m, h);
|
|
3490
3122
|
return l;
|
|
3491
3123
|
}
|
|
3492
|
-
const { toFormData: a } = await import("./multipart-parser-
|
|
3124
|
+
const { toFormData: a } = await import("./multipart-parser-MFV7BRF2.js");
|
|
3493
3125
|
return a(this.body, o2);
|
|
3494
3126
|
}
|
|
3495
3127
|
async blob() {
|
|
@@ -3510,7 +3142,6 @@ var init_node = __esm({
|
|
|
3510
3142
|
};
|
|
3511
3143
|
ht.prototype.buffer = Gt(ht.prototype.buffer, "Please use 'response.arrayBuffer()' instead of 'response.buffer()'", "node-fetch#buffer"), Object.defineProperties(ht.prototype, { body: { enumerable: true }, bodyUsed: { enumerable: true }, arrayBuffer: { enumerable: true }, blob: { enumerable: true }, json: { enumerable: true }, text: { enumerable: true }, data: { get: Gt(() => {
|
|
3512
3144
|
}, "data doesn't exist, use json(), text(), arrayBuffer(), or body instead", "https://github.com/node-fetch/node-fetch/issues/1000 (response)") } });
|
|
3513
|
-
__name(Zr, "Zr");
|
|
3514
3145
|
n2(Zr, "consumeBody");
|
|
3515
3146
|
Kr = n2((i, o2) => {
|
|
3516
3147
|
let a, l, { body: u } = i[N];
|
|
@@ -3539,9 +3170,6 @@ var init_node = __esm({
|
|
|
3539
3170
|
}
|
|
3540
3171
|
};
|
|
3541
3172
|
ae = class _ae extends URLSearchParams {
|
|
3542
|
-
static {
|
|
3543
|
-
__name(this, "ae");
|
|
3544
|
-
}
|
|
3545
3173
|
static {
|
|
3546
3174
|
n2(this, "Headers");
|
|
3547
3175
|
}
|
|
@@ -3615,15 +3243,11 @@ var init_node = __esm({
|
|
|
3615
3243
|
}
|
|
3616
3244
|
};
|
|
3617
3245
|
Object.defineProperties(ae.prototype, ["get", "entries", "forEach", "values"].reduce((i, o2) => (i[o2] = { enumerable: true }, i), {}));
|
|
3618
|
-
__name(ys, "ys");
|
|
3619
3246
|
n2(ys, "fromRawHeaders");
|
|
3620
3247
|
gs = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
3621
3248
|
Xr = n2((i) => gs.has(i), "isRedirect");
|
|
3622
3249
|
re = Symbol("Response internals");
|
|
3623
3250
|
H = class _H extends ht {
|
|
3624
|
-
static {
|
|
3625
|
-
__name(this, "H");
|
|
3626
|
-
}
|
|
3627
3251
|
static {
|
|
3628
3252
|
n2(this, "Response");
|
|
3629
3253
|
}
|
|
@@ -3687,28 +3311,19 @@ var init_node = __esm({
|
|
|
3687
3311
|
const o2 = i.href.length - 1, a = i.hash || (i.href[o2] === "#" ? "#" : "");
|
|
3688
3312
|
return i.href[o2 - a.length] === "?" ? "?" : "";
|
|
3689
3313
|
}, "getSearch");
|
|
3690
|
-
__name(Fo, "Fo");
|
|
3691
3314
|
n2(Fo, "stripURLForUseAsAReferrer");
|
|
3692
3315
|
zo = /* @__PURE__ */ new Set(["", "no-referrer", "no-referrer-when-downgrade", "same-origin", "origin", "strict-origin", "origin-when-cross-origin", "strict-origin-when-cross-origin", "unsafe-url"]);
|
|
3693
3316
|
Ss = "strict-origin-when-cross-origin";
|
|
3694
|
-
__name(ws, "ws");
|
|
3695
3317
|
n2(ws, "validateReferrerPolicy");
|
|
3696
|
-
__name(Rs, "Rs");
|
|
3697
3318
|
n2(Rs, "isOriginPotentiallyTrustworthy");
|
|
3698
|
-
__name(Ke, "Ke");
|
|
3699
3319
|
n2(Ke, "isUrlPotentiallyTrustworthy");
|
|
3700
|
-
__name(Ts, "Ts");
|
|
3701
3320
|
n2(Ts, "determineRequestsReferrer");
|
|
3702
|
-
__name(Cs, "Cs");
|
|
3703
3321
|
n2(Cs, "parseReferrerPolicyFromHeader");
|
|
3704
3322
|
j = Symbol("Request internals");
|
|
3705
3323
|
mt = n2((i) => typeof i == "object" && typeof i[j] == "object", "isRequest");
|
|
3706
3324
|
Ps = Gt(() => {
|
|
3707
3325
|
}, ".data is not a valid RequestInit property, use .body instead", "https://github.com/node-fetch/node-fetch/issues/1000 (request)");
|
|
3708
3326
|
Xe = class _Xe extends ht {
|
|
3709
|
-
static {
|
|
3710
|
-
__name(this, "Xe");
|
|
3711
|
-
}
|
|
3712
3327
|
static {
|
|
3713
3328
|
n2(this, "Request");
|
|
3714
3329
|
}
|
|
@@ -3783,9 +3398,6 @@ var init_node = __esm({
|
|
|
3783
3398
|
return { parsedURL: o2, options: h };
|
|
3784
3399
|
}, "getNodeRequestOptions");
|
|
3785
3400
|
jo = class extends Kt {
|
|
3786
|
-
static {
|
|
3787
|
-
__name(this, "jo");
|
|
3788
|
-
}
|
|
3789
3401
|
static {
|
|
3790
3402
|
n2(this, "AbortError");
|
|
3791
3403
|
}
|
|
@@ -3793,7 +3405,6 @@ var init_node = __esm({
|
|
|
3793
3405
|
super(o2, a);
|
|
3794
3406
|
}
|
|
3795
3407
|
};
|
|
3796
|
-
__name(vs, "vs");
|
|
3797
3408
|
n2(vs, "requireNodeDomexception");
|
|
3798
3409
|
As = vs();
|
|
3799
3410
|
Bs = f(As);
|
|
@@ -3805,9 +3416,6 @@ var init_node = __esm({
|
|
|
3805
3416
|
Do = n2((i, o2, a = "") => new Ze([new ir({ path: o2, size: i.size, lastModified: i.mtimeMs, start: 0 })], { type: a }), "fromBlob");
|
|
3806
3417
|
$o = n2((i, o2, a = "") => new Yr([new ir({ path: o2, size: i.size, lastModified: i.mtimeMs, start: 0 })], es(o2), { type: a, lastModified: i.mtimeMs }), "fromFile");
|
|
3807
3418
|
ir = class _ir {
|
|
3808
|
-
static {
|
|
3809
|
-
__name(this, "ir");
|
|
3810
|
-
}
|
|
3811
3419
|
static {
|
|
3812
3420
|
n2(this, "BlobDataItem");
|
|
3813
3421
|
}
|
|
@@ -3829,17 +3437,12 @@ var init_node = __esm({
|
|
|
3829
3437
|
}
|
|
3830
3438
|
};
|
|
3831
3439
|
Is = /* @__PURE__ */ new Set(["data:", "http:", "https:"]);
|
|
3832
|
-
__name(Mo, "Mo");
|
|
3833
3440
|
n2(Mo, "fetch$1");
|
|
3834
|
-
__name(Fs, "Fs");
|
|
3835
3441
|
n2(Fs, "fixResponseChunkedTransferBadEnding");
|
|
3836
3442
|
Uo = /* @__PURE__ */ new WeakMap();
|
|
3837
3443
|
rn = /* @__PURE__ */ new WeakMap();
|
|
3838
|
-
__name(k, "k");
|
|
3839
3444
|
n2(k, "pd");
|
|
3840
|
-
__name(xo, "xo");
|
|
3841
3445
|
n2(xo, "setCancelFlag");
|
|
3842
|
-
__name(Je, "Je");
|
|
3843
3446
|
n2(Je, "Event"), Je.prototype = { get type() {
|
|
3844
3447
|
return k(this).event.type;
|
|
3845
3448
|
}, get target() {
|
|
@@ -3891,39 +3494,24 @@ var init_node = __esm({
|
|
|
3891
3494
|
i || xo(k(this));
|
|
3892
3495
|
}, initEvent() {
|
|
3893
3496
|
} }, Object.defineProperty(Je.prototype, "constructor", { value: Je, configurable: true, writable: true }), typeof window < "u" && typeof window.Event < "u" && (Object.setPrototypeOf(Je.prototype, window.Event.prototype), rn.set(window.Event.prototype, Je));
|
|
3894
|
-
__name(No, "No");
|
|
3895
3497
|
n2(No, "defineRedirectDescriptor");
|
|
3896
|
-
__name(zs, "zs");
|
|
3897
3498
|
n2(zs, "defineCallDescriptor");
|
|
3898
|
-
__name(js, "js");
|
|
3899
3499
|
n2(js, "defineWrapper");
|
|
3900
|
-
__name(Ho, "Ho");
|
|
3901
3500
|
n2(Ho, "getWrapper");
|
|
3902
|
-
__name(Ls, "Ls");
|
|
3903
3501
|
n2(Ls, "wrapEvent");
|
|
3904
|
-
__name(Ds, "Ds");
|
|
3905
3502
|
n2(Ds, "isStopped");
|
|
3906
|
-
__name($s, "$s");
|
|
3907
3503
|
n2($s, "setEventPhase");
|
|
3908
|
-
__name(Ms, "Ms");
|
|
3909
3504
|
n2(Ms, "setCurrentTarget");
|
|
3910
|
-
__name(Vo, "Vo");
|
|
3911
3505
|
n2(Vo, "setPassiveListener");
|
|
3912
3506
|
Qo = /* @__PURE__ */ new WeakMap();
|
|
3913
3507
|
Yo = 1;
|
|
3914
3508
|
Go = 2;
|
|
3915
3509
|
tr = 3;
|
|
3916
|
-
__name(rr, "rr");
|
|
3917
3510
|
n2(rr, "isObject");
|
|
3918
|
-
__name(bt, "bt");
|
|
3919
3511
|
n2(bt, "getListeners");
|
|
3920
|
-
__name(Us, "Us");
|
|
3921
3512
|
n2(Us, "defineEventAttributeDescriptor");
|
|
3922
|
-
__name(Zo, "Zo");
|
|
3923
3513
|
n2(Zo, "defineEventAttribute");
|
|
3924
|
-
__name(Ko, "Ko");
|
|
3925
3514
|
n2(Ko, "defineCustomEventTarget");
|
|
3926
|
-
__name(pe, "pe");
|
|
3927
3515
|
n2(pe, "EventTarget"), pe.prototype = { addEventListener(i, o2, a) {
|
|
3928
3516
|
if (o2 == null) return;
|
|
3929
3517
|
if (typeof o2 != "function" && !rr(o2)) throw new TypeError("'listener' should be a function or an object.");
|
|
@@ -3970,9 +3558,6 @@ var init_node = __esm({
|
|
|
3970
3558
|
return Vo(u, null), $s(u, 0), Ms(u, null), !u.defaultPrevented;
|
|
3971
3559
|
} }, Object.defineProperty(pe.prototype, "constructor", { value: pe, configurable: true, writable: true }), typeof window < "u" && typeof window.EventTarget < "u" && Object.setPrototypeOf(pe.prototype, window.EventTarget.prototype);
|
|
3972
3560
|
nr = class extends pe {
|
|
3973
|
-
static {
|
|
3974
|
-
__name(this, "nr");
|
|
3975
|
-
}
|
|
3976
3561
|
static {
|
|
3977
3562
|
n2(this, "AbortSignal");
|
|
3978
3563
|
}
|
|
@@ -3986,16 +3571,11 @@ var init_node = __esm({
|
|
|
3986
3571
|
}
|
|
3987
3572
|
};
|
|
3988
3573
|
Zo(nr.prototype, "abort");
|
|
3989
|
-
__name(xs, "xs");
|
|
3990
3574
|
n2(xs, "createAbortSignal");
|
|
3991
|
-
__name(Ns, "Ns");
|
|
3992
3575
|
n2(Ns, "abortSignal");
|
|
3993
3576
|
or = /* @__PURE__ */ new WeakMap();
|
|
3994
3577
|
Object.defineProperties(nr.prototype, { aborted: { enumerable: true } }), typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol" && Object.defineProperty(nr.prototype, Symbol.toStringTag, { configurable: true, value: "AbortSignal" });
|
|
3995
3578
|
nn = class {
|
|
3996
|
-
static {
|
|
3997
|
-
__name(this, "nn");
|
|
3998
|
-
}
|
|
3999
3579
|
static {
|
|
4000
3580
|
n2(this, "AbortController");
|
|
4001
3581
|
}
|
|
@@ -4010,13 +3590,11 @@ var init_node = __esm({
|
|
|
4010
3590
|
}
|
|
4011
3591
|
};
|
|
4012
3592
|
Jo = /* @__PURE__ */ new WeakMap();
|
|
4013
|
-
__name(Xo, "Xo");
|
|
4014
3593
|
n2(Xo, "getSignal"), Object.defineProperties(nn.prototype, { signal: { enumerable: true }, abort: { enumerable: true } }), typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol" && Object.defineProperty(nn.prototype, Symbol.toStringTag, { configurable: true, value: "AbortController" });
|
|
4015
3594
|
Hs = Object.defineProperty;
|
|
4016
3595
|
Vs = n2((i, o2) => Hs(i, "name", { value: o2, configurable: true }), "e");
|
|
4017
3596
|
ei = Mo;
|
|
4018
3597
|
ti();
|
|
4019
|
-
__name(ti, "ti");
|
|
4020
3598
|
n2(ti, "s"), Vs(ti, "checkNodeEnvironment");
|
|
4021
3599
|
}
|
|
4022
3600
|
});
|