@harbour-enterprises/superdoc 0.9.33 → 0.9.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{index-Bq_aNm9n.es.js → index-BR0d39LK.es.js} +2 -2
- package/dist/chunks/{index-B5GDfEJg.es.js → index-CFw3GWZb.es.js} +1 -1
- package/dist/chunks/{index--PIRPKWt.cjs → index-Da1nm1Nx.cjs} +1 -1
- package/dist/chunks/{index-DrgTIkvI.cjs → index-zi2PhUgG.cjs} +1 -1
- package/dist/chunks/{super-editor.es-y2QD_ueu.cjs → super-editor.es-BBj7vFp-.cjs} +32 -32
- package/dist/chunks/{super-editor.es-B8noCvT1.es.js → super-editor.es-CPySz799.es.js} +1889 -1889
- package/dist/chunks/{url-BDmRlERW.es.js → url-BBWjYHis.es.js} +1 -1
- package/dist/chunks/{url-C5DCBLAS.cjs → url-CsA0aP-j.cjs} +1 -1
- package/dist/chunks/{xml-js-DMX8C2aY.es.js → xml-js-BK8neRFY.es.js} +407 -411
- package/dist/chunks/{xml-js-DN6JJ8Mw.cjs → xml-js-Dl3GDIvM.cjs} +2 -2
- package/dist/super-editor/chunks/{converter-CdhiEvSA.js → converter-A8jhEHAV.js} +271 -271
- package/dist/super-editor/chunks/{docx-zipper-Cb4eXMOp.js → docx-zipper-ChOmGxQY.js} +1 -1
- package/dist/super-editor/chunks/{editor-Czx51mKu.js → editor-CPeWTjoI.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-BE-PZVKR.js → toolbar-DS4sA_rD.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +344 -344
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as U } from "./vue-BDbTsTMu.es.js";
|
|
2
|
-
import { a as
|
|
3
|
-
var
|
|
4
|
-
typeof Object.create == "function" ?
|
|
2
|
+
import { a as hn, d as gn, c as ue } from "./jszip-DSGi1sNe.es.js";
|
|
3
|
+
var Et = { exports: {} };
|
|
4
|
+
typeof Object.create == "function" ? Et.exports = function(t, r) {
|
|
5
5
|
r && (t.super_ = r, t.prototype = Object.create(r.prototype, {
|
|
6
6
|
constructor: {
|
|
7
7
|
value: t,
|
|
@@ -10,7 +10,7 @@ typeof Object.create == "function" ? At.exports = function(t, r) {
|
|
|
10
10
|
configurable: !0
|
|
11
11
|
}
|
|
12
12
|
}));
|
|
13
|
-
} :
|
|
13
|
+
} : Et.exports = function(t, r) {
|
|
14
14
|
if (r) {
|
|
15
15
|
t.super_ = r;
|
|
16
16
|
var o = function() {
|
|
@@ -18,7 +18,7 @@ typeof Object.create == "function" ? At.exports = function(t, r) {
|
|
|
18
18
|
o.prototype = r.prototype, t.prototype = new o(), t.prototype.constructor = t;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
var me =
|
|
21
|
+
var me = Et.exports, Nt = { exports: {} }, ve = typeof Reflect == "object" ? Reflect : null, xt = ve && typeof ve.apply == "function" ? ve.apply : function(t, r, o) {
|
|
22
22
|
return Function.prototype.apply.call(t, r, o);
|
|
23
23
|
}, De;
|
|
24
24
|
ve && typeof ve.ownKeys == "function" ? De = ve.ownKeys : Object.getOwnPropertySymbols ? De = function(t) {
|
|
@@ -26,22 +26,22 @@ ve && typeof ve.ownKeys == "function" ? De = ve.ownKeys : Object.getOwnPropertyS
|
|
|
26
26
|
} : De = function(t) {
|
|
27
27
|
return Object.getOwnPropertyNames(t);
|
|
28
28
|
};
|
|
29
|
-
function
|
|
29
|
+
function vn(e) {
|
|
30
30
|
console && console.warn && console.warn(e);
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var Pr = Number.isNaN || function(t) {
|
|
33
33
|
return t !== t;
|
|
34
34
|
};
|
|
35
35
|
function G() {
|
|
36
36
|
G.init.call(this);
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
Nt.exports = G;
|
|
39
|
+
Nt.exports.once = _n;
|
|
40
40
|
G.EventEmitter = G;
|
|
41
41
|
G.prototype._events = void 0;
|
|
42
42
|
G.prototype._eventsCount = 0;
|
|
43
43
|
G.prototype._maxListeners = void 0;
|
|
44
|
-
var
|
|
44
|
+
var qt = 10;
|
|
45
45
|
function He(e) {
|
|
46
46
|
if (typeof e != "function")
|
|
47
47
|
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
|
|
@@ -49,27 +49,27 @@ function He(e) {
|
|
|
49
49
|
Object.defineProperty(G, "defaultMaxListeners", {
|
|
50
50
|
enumerable: !0,
|
|
51
51
|
get: function() {
|
|
52
|
-
return
|
|
52
|
+
return qt;
|
|
53
53
|
},
|
|
54
54
|
set: function(e) {
|
|
55
|
-
if (typeof e != "number" || e < 0 ||
|
|
55
|
+
if (typeof e != "number" || e < 0 || Pr(e))
|
|
56
56
|
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
57
|
-
|
|
57
|
+
qt = e;
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
G.init = function() {
|
|
61
61
|
(this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
|
|
62
62
|
};
|
|
63
63
|
G.prototype.setMaxListeners = function(t) {
|
|
64
|
-
if (typeof t != "number" || t < 0 ||
|
|
64
|
+
if (typeof t != "number" || t < 0 || Pr(t))
|
|
65
65
|
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + t + ".");
|
|
66
66
|
return this._maxListeners = t, this;
|
|
67
67
|
};
|
|
68
|
-
function
|
|
68
|
+
function Tr(e) {
|
|
69
69
|
return e._maxListeners === void 0 ? G.defaultMaxListeners : e._maxListeners;
|
|
70
70
|
}
|
|
71
71
|
G.prototype.getMaxListeners = function() {
|
|
72
|
-
return
|
|
72
|
+
return Tr(this);
|
|
73
73
|
};
|
|
74
74
|
G.prototype.emit = function(t) {
|
|
75
75
|
for (var r = [], o = 1; o < arguments.length; o++) r.push(arguments[o]);
|
|
@@ -89,13 +89,13 @@ G.prototype.emit = function(t) {
|
|
|
89
89
|
if (y === void 0)
|
|
90
90
|
return !1;
|
|
91
91
|
if (typeof y == "function")
|
|
92
|
-
|
|
92
|
+
xt(y, this, r);
|
|
93
93
|
else
|
|
94
|
-
for (var E = y.length, L =
|
|
95
|
-
|
|
94
|
+
for (var E = y.length, L = Ir(y, E), o = 0; o < E; ++o)
|
|
95
|
+
xt(L[o], this, r);
|
|
96
96
|
return !0;
|
|
97
97
|
};
|
|
98
|
-
function
|
|
98
|
+
function jr(e, t, r, o) {
|
|
99
99
|
var a, d, c;
|
|
100
100
|
if (He(r), d = e._events, d === void 0 ? (d = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (d.newListener !== void 0 && (e.emit(
|
|
101
101
|
"newListener",
|
|
@@ -103,33 +103,33 @@ function Lr(e, t, r, o) {
|
|
|
103
103
|
r.listener ? r.listener : r
|
|
104
104
|
), d = e._events), c = d[t]), c === void 0)
|
|
105
105
|
c = d[t] = r, ++e._eventsCount;
|
|
106
|
-
else if (typeof c == "function" ? c = d[t] = o ? [r, c] : [c, r] : o ? c.unshift(r) : c.push(r), a =
|
|
106
|
+
else if (typeof c == "function" ? c = d[t] = o ? [r, c] : [c, r] : o ? c.unshift(r) : c.push(r), a = Tr(e), a > 0 && c.length > a && !c.warned) {
|
|
107
107
|
c.warned = !0;
|
|
108
108
|
var m = new Error("Possible EventEmitter memory leak detected. " + c.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
109
|
-
m.name = "MaxListenersExceededWarning", m.emitter = e, m.type = t, m.count = c.length,
|
|
109
|
+
m.name = "MaxListenersExceededWarning", m.emitter = e, m.type = t, m.count = c.length, vn(m);
|
|
110
110
|
}
|
|
111
111
|
return e;
|
|
112
112
|
}
|
|
113
113
|
G.prototype.addListener = function(t, r) {
|
|
114
|
-
return
|
|
114
|
+
return jr(this, t, r, !1);
|
|
115
115
|
};
|
|
116
116
|
G.prototype.on = G.prototype.addListener;
|
|
117
117
|
G.prototype.prependListener = function(t, r) {
|
|
118
|
-
return
|
|
118
|
+
return jr(this, t, r, !0);
|
|
119
119
|
};
|
|
120
|
-
function
|
|
120
|
+
function bn() {
|
|
121
121
|
if (!this.fired)
|
|
122
122
|
return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
var o = { fired: !1, wrapFn: void 0, target: e, type: t, listener: r }, a =
|
|
124
|
+
function Mr(e, t, r) {
|
|
125
|
+
var o = { fired: !1, wrapFn: void 0, target: e, type: t, listener: r }, a = bn.bind(o);
|
|
126
126
|
return a.listener = r, o.wrapFn = a, a;
|
|
127
127
|
}
|
|
128
128
|
G.prototype.once = function(t, r) {
|
|
129
|
-
return He(r), this.on(t,
|
|
129
|
+
return He(r), this.on(t, Mr(this, t, r)), this;
|
|
130
130
|
};
|
|
131
131
|
G.prototype.prependOnceListener = function(t, r) {
|
|
132
|
-
return He(r), this.prependListener(t,
|
|
132
|
+
return He(r), this.prependListener(t, Mr(this, t, r)), this;
|
|
133
133
|
};
|
|
134
134
|
G.prototype.removeListener = function(t, r) {
|
|
135
135
|
var o, a, d, c, m;
|
|
@@ -147,7 +147,7 @@ G.prototype.removeListener = function(t, r) {
|
|
|
147
147
|
}
|
|
148
148
|
if (d < 0)
|
|
149
149
|
return this;
|
|
150
|
-
d === 0 ? o.shift() :
|
|
150
|
+
d === 0 ? o.shift() : wn(o, d), o.length === 1 && (a[t] = o[0]), a.removeListener !== void 0 && this.emit("removeListener", t, m || r);
|
|
151
151
|
}
|
|
152
152
|
return this;
|
|
153
153
|
};
|
|
@@ -171,24 +171,24 @@ G.prototype.removeAllListeners = function(t) {
|
|
|
171
171
|
this.removeListener(t, r[a]);
|
|
172
172
|
return this;
|
|
173
173
|
};
|
|
174
|
-
function
|
|
174
|
+
function Lr(e, t, r) {
|
|
175
175
|
var o = e._events;
|
|
176
176
|
if (o === void 0)
|
|
177
177
|
return [];
|
|
178
178
|
var a = o[t];
|
|
179
|
-
return a === void 0 ? [] : typeof a == "function" ? r ? [a.listener || a] : [a] : r ?
|
|
179
|
+
return a === void 0 ? [] : typeof a == "function" ? r ? [a.listener || a] : [a] : r ? mn(a) : Ir(a, a.length);
|
|
180
180
|
}
|
|
181
181
|
G.prototype.listeners = function(t) {
|
|
182
|
-
return
|
|
182
|
+
return Lr(this, t, !0);
|
|
183
183
|
};
|
|
184
184
|
G.prototype.rawListeners = function(t) {
|
|
185
|
-
return
|
|
185
|
+
return Lr(this, t, !1);
|
|
186
186
|
};
|
|
187
187
|
G.listenerCount = function(e, t) {
|
|
188
|
-
return typeof e.listenerCount == "function" ? e.listenerCount(t) :
|
|
188
|
+
return typeof e.listenerCount == "function" ? e.listenerCount(t) : Nr.call(e, t);
|
|
189
189
|
};
|
|
190
|
-
G.prototype.listenerCount =
|
|
191
|
-
function
|
|
190
|
+
G.prototype.listenerCount = Nr;
|
|
191
|
+
function Nr(e) {
|
|
192
192
|
var t = this._events;
|
|
193
193
|
if (t !== void 0) {
|
|
194
194
|
var r = t[e];
|
|
@@ -202,22 +202,22 @@ function Dr(e) {
|
|
|
202
202
|
G.prototype.eventNames = function() {
|
|
203
203
|
return this._eventsCount > 0 ? De(this._events) : [];
|
|
204
204
|
};
|
|
205
|
-
function
|
|
205
|
+
function Ir(e, t) {
|
|
206
206
|
for (var r = new Array(t), o = 0; o < t; ++o)
|
|
207
207
|
r[o] = e[o];
|
|
208
208
|
return r;
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function wn(e, t) {
|
|
211
211
|
for (; t + 1 < e.length; t++)
|
|
212
212
|
e[t] = e[t + 1];
|
|
213
213
|
e.pop();
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function mn(e) {
|
|
216
216
|
for (var t = new Array(e.length), r = 0; r < t.length; ++r)
|
|
217
217
|
t[r] = e[r].listener || e[r];
|
|
218
218
|
return t;
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function _n(e, t) {
|
|
221
221
|
return new Promise(function(r, o) {
|
|
222
222
|
function a(c) {
|
|
223
223
|
e.removeListener(t, d), o(c);
|
|
@@ -225,13 +225,13 @@ function En(e, t) {
|
|
|
225
225
|
function d() {
|
|
226
226
|
typeof e.removeListener == "function" && e.removeListener("error", a), r([].slice.call(arguments));
|
|
227
227
|
}
|
|
228
|
-
|
|
228
|
+
Dr(e, t, d, { once: !0 }), t !== "error" && Sn(e, a, { once: !0 });
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
|
-
function
|
|
232
|
-
typeof e.on == "function" &&
|
|
231
|
+
function Sn(e, t, r) {
|
|
232
|
+
typeof e.on == "function" && Dr(e, "error", t, r);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Dr(e, t, r, o) {
|
|
235
235
|
if (typeof e.on == "function")
|
|
236
236
|
o.once ? e.once(t, r) : e.on(t, r);
|
|
237
237
|
else if (typeof e.addEventListener == "function")
|
|
@@ -241,9 +241,9 @@ function Cr(e, t, r, o) {
|
|
|
241
241
|
else
|
|
242
242
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
|
|
243
243
|
}
|
|
244
|
-
var
|
|
245
|
-
const Ve = /* @__PURE__ */
|
|
246
|
-
var
|
|
244
|
+
var Br = Nt.exports, Cr = Br.EventEmitter;
|
|
245
|
+
const Ve = /* @__PURE__ */ hn(gn);
|
|
246
|
+
var It = {}, Fr = {}, $r = function() {
|
|
247
247
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
248
248
|
return !1;
|
|
249
249
|
if (typeof Symbol.iterator == "symbol")
|
|
@@ -269,13 +269,13 @@ var Dt = {}, Ur = {}, kr = function() {
|
|
|
269
269
|
return !1;
|
|
270
270
|
}
|
|
271
271
|
return !0;
|
|
272
|
-
},
|
|
273
|
-
return
|
|
274
|
-
},
|
|
272
|
+
}, En = $r, ze = function() {
|
|
273
|
+
return En() && !!Symbol.toStringTag;
|
|
274
|
+
}, Ur = Object, An = Error, Rn = EvalError, On = RangeError, Pn = ReferenceError, kr = SyntaxError, Oe = TypeError, Tn = URIError, jn = Math.abs, Mn = Math.floor, Ln = Math.max, Nn = Math.min, In = Math.pow, Dn = Math.round, Bn = Number.isNaN || function(t) {
|
|
275
275
|
return t !== t;
|
|
276
|
-
},
|
|
277
|
-
return
|
|
278
|
-
},
|
|
276
|
+
}, Cn = Bn, Fn = function(t) {
|
|
277
|
+
return Cn(t) || t === 0 ? t : t < 0 ? -1 : 1;
|
|
278
|
+
}, $n = Object.getOwnPropertyDescriptor, Be = $n;
|
|
279
279
|
if (Be)
|
|
280
280
|
try {
|
|
281
281
|
Be([], "length");
|
|
@@ -289,19 +289,19 @@ if (Ce)
|
|
|
289
289
|
} catch {
|
|
290
290
|
Ce = !1;
|
|
291
291
|
}
|
|
292
|
-
var Ke = Ce, tt,
|
|
293
|
-
function
|
|
294
|
-
if (
|
|
295
|
-
|
|
296
|
-
var e = typeof Symbol < "u" && Symbol, t =
|
|
292
|
+
var Ke = Ce, tt, Gt;
|
|
293
|
+
function Un() {
|
|
294
|
+
if (Gt) return tt;
|
|
295
|
+
Gt = 1;
|
|
296
|
+
var e = typeof Symbol < "u" && Symbol, t = $r;
|
|
297
297
|
return tt = function() {
|
|
298
298
|
return typeof e != "function" || typeof Symbol != "function" || typeof e("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : t();
|
|
299
299
|
}, tt;
|
|
300
300
|
}
|
|
301
|
-
var
|
|
302
|
-
function
|
|
303
|
-
if (
|
|
304
|
-
|
|
301
|
+
var Wr = typeof Reflect < "u" && Reflect.getPrototypeOf || null, kn = Ur, xr = kn.getPrototypeOf || null, rt, Ht;
|
|
302
|
+
function Wn() {
|
|
303
|
+
if (Ht) return rt;
|
|
304
|
+
Ht = 1;
|
|
305
305
|
var e = "Function.prototype.bind called on incompatible ", t = Object.prototype.toString, r = Math.max, o = "[object Function]", a = function(y, E) {
|
|
306
306
|
for (var L = [], N = 0; N < y.length; N += 1)
|
|
307
307
|
L[N] = y[N];
|
|
@@ -343,75 +343,71 @@ function qn() {
|
|
|
343
343
|
return N;
|
|
344
344
|
}, rt;
|
|
345
345
|
}
|
|
346
|
-
var nt,
|
|
346
|
+
var nt, Vt;
|
|
347
347
|
function Pe() {
|
|
348
|
-
if (
|
|
349
|
-
|
|
350
|
-
var e =
|
|
348
|
+
if (Vt) return nt;
|
|
349
|
+
Vt = 1;
|
|
350
|
+
var e = Wn();
|
|
351
351
|
return nt = Function.prototype.bind || e, nt;
|
|
352
352
|
}
|
|
353
|
-
var it,
|
|
353
|
+
var Dt = Function.prototype.call, it, zt;
|
|
354
354
|
function Bt() {
|
|
355
|
-
return
|
|
356
|
-
}
|
|
357
|
-
var ot, Jt;
|
|
358
|
-
function Ct() {
|
|
359
|
-
return Jt || (Jt = 1, ot = Function.prototype.apply), ot;
|
|
355
|
+
return zt || (zt = 1, it = Function.prototype.apply), it;
|
|
360
356
|
}
|
|
361
|
-
var
|
|
357
|
+
var xn = typeof Reflect < "u" && Reflect && Reflect.apply, qn = Pe(), Gn = Bt(), Hn = Dt, Vn = xn, qr = Vn || qn.call(Hn, Gn), zn = Pe(), Kn = Oe, Jn = Dt, Yn = qr, Ct = function(t) {
|
|
362
358
|
if (t.length < 1 || typeof t[0] != "function")
|
|
363
|
-
throw new
|
|
364
|
-
return
|
|
365
|
-
},
|
|
359
|
+
throw new Kn("a function is required");
|
|
360
|
+
return Yn(zn, Jn, t);
|
|
361
|
+
}, Zn = Ct, Kt = _e, Gr;
|
|
366
362
|
try {
|
|
367
|
-
|
|
363
|
+
Gr = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
368
364
|
[].__proto__ === Array.prototype;
|
|
369
365
|
} catch (e) {
|
|
370
366
|
if (!e || typeof e != "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS")
|
|
371
367
|
throw e;
|
|
372
368
|
}
|
|
373
|
-
var
|
|
369
|
+
var ot = !!Gr && Kt && Kt(
|
|
374
370
|
Object.prototype,
|
|
375
371
|
/** @type {keyof typeof Object.prototype} */
|
|
376
372
|
"__proto__"
|
|
377
|
-
),
|
|
373
|
+
), Hr = Object, Jt = Hr.getPrototypeOf, Xn = ot && typeof ot.get == "function" ? Zn([ot.get]) : typeof Jt == "function" ? (
|
|
378
374
|
/** @type {import('./get')} */
|
|
379
375
|
function(t) {
|
|
380
|
-
return
|
|
376
|
+
return Jt(t == null ? t : Hr(t));
|
|
381
377
|
}
|
|
382
|
-
) : !1,
|
|
383
|
-
return
|
|
384
|
-
} :
|
|
378
|
+
) : !1, Yt = Wr, Zt = xr, Xt = Xn, Ft = Yt ? function(t) {
|
|
379
|
+
return Yt(t);
|
|
380
|
+
} : Zt ? function(t) {
|
|
385
381
|
if (!t || typeof t != "object" && typeof t != "function")
|
|
386
382
|
throw new TypeError("getProto: not an object");
|
|
387
|
-
return
|
|
388
|
-
} :
|
|
389
|
-
return
|
|
390
|
-
} : null,
|
|
391
|
-
function
|
|
392
|
-
if (
|
|
393
|
-
|
|
383
|
+
return Zt(t);
|
|
384
|
+
} : Xt ? function(t) {
|
|
385
|
+
return Xt(t);
|
|
386
|
+
} : null, at, Qt;
|
|
387
|
+
function Vr() {
|
|
388
|
+
if (Qt) return at;
|
|
389
|
+
Qt = 1;
|
|
394
390
|
var e = Function.prototype.call, t = Object.prototype.hasOwnProperty, r = Pe();
|
|
395
|
-
return
|
|
391
|
+
return at = r.call(e, t), at;
|
|
396
392
|
}
|
|
397
|
-
var k, ti =
|
|
393
|
+
var k, Qn = Ur, ei = An, ti = Rn, ri = On, ni = Pn, we = kr, be = Oe, ii = Tn, oi = jn, ai = Mn, fi = Ln, ui = Nn, li = In, si = Dn, ci = Fn, zr = Function, ft = function(e) {
|
|
398
394
|
try {
|
|
399
|
-
return
|
|
395
|
+
return zr('"use strict"; return (' + e + ").constructor;")();
|
|
400
396
|
} catch {
|
|
401
397
|
}
|
|
402
|
-
}, Ee = _e,
|
|
398
|
+
}, Ee = _e, di = Ke, ut = function() {
|
|
403
399
|
throw new be();
|
|
404
|
-
},
|
|
400
|
+
}, pi = Ee ? function() {
|
|
405
401
|
try {
|
|
406
|
-
return arguments.callee,
|
|
402
|
+
return arguments.callee, ut;
|
|
407
403
|
} catch {
|
|
408
404
|
try {
|
|
409
405
|
return Ee(arguments, "callee").get;
|
|
410
406
|
} catch {
|
|
411
|
-
return
|
|
407
|
+
return ut;
|
|
412
408
|
}
|
|
413
409
|
}
|
|
414
|
-
}() :
|
|
410
|
+
}() : ut, pe = Un()(), V = Ft, yi = xr, hi = Wr, Kr = Bt(), Te = Dt, he = {}, gi = typeof Uint8Array > "u" || !V ? k : V(Uint8Array), le = {
|
|
415
411
|
__proto__: null,
|
|
416
412
|
"%AggregateError%": typeof AggregateError > "u" ? k : AggregateError,
|
|
417
413
|
"%Array%": Array,
|
|
@@ -433,15 +429,15 @@ var k, ti = Wr, ri = On, ni = Pn, ii = Tn, oi = jn, we = xr, be = Oe, ai = Mn, f
|
|
|
433
429
|
"%decodeURIComponent%": decodeURIComponent,
|
|
434
430
|
"%encodeURI%": encodeURI,
|
|
435
431
|
"%encodeURIComponent%": encodeURIComponent,
|
|
436
|
-
"%Error%":
|
|
432
|
+
"%Error%": ei,
|
|
437
433
|
"%eval%": eval,
|
|
438
434
|
// eslint-disable-line no-eval
|
|
439
|
-
"%EvalError%":
|
|
435
|
+
"%EvalError%": ti,
|
|
440
436
|
"%Float16Array%": typeof Float16Array > "u" ? k : Float16Array,
|
|
441
437
|
"%Float32Array%": typeof Float32Array > "u" ? k : Float32Array,
|
|
442
438
|
"%Float64Array%": typeof Float64Array > "u" ? k : Float64Array,
|
|
443
439
|
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? k : FinalizationRegistry,
|
|
444
|
-
"%Function%":
|
|
440
|
+
"%Function%": zr,
|
|
445
441
|
"%GeneratorFunction%": he,
|
|
446
442
|
"%Int8Array%": typeof Int8Array > "u" ? k : Int8Array,
|
|
447
443
|
"%Int16Array%": typeof Int16Array > "u" ? k : Int16Array,
|
|
@@ -454,14 +450,14 @@ var k, ti = Wr, ri = On, ni = Pn, ii = Tn, oi = jn, we = xr, be = Oe, ai = Mn, f
|
|
|
454
450
|
"%MapIteratorPrototype%": typeof Map > "u" || !pe || !V ? k : V((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
455
451
|
"%Math%": Math,
|
|
456
452
|
"%Number%": Number,
|
|
457
|
-
"%Object%":
|
|
453
|
+
"%Object%": Qn,
|
|
458
454
|
"%Object.getOwnPropertyDescriptor%": Ee,
|
|
459
455
|
"%parseFloat%": parseFloat,
|
|
460
456
|
"%parseInt%": parseInt,
|
|
461
457
|
"%Promise%": typeof Promise > "u" ? k : Promise,
|
|
462
458
|
"%Proxy%": typeof Proxy > "u" ? k : Proxy,
|
|
463
|
-
"%RangeError%":
|
|
464
|
-
"%ReferenceError%":
|
|
459
|
+
"%RangeError%": ri,
|
|
460
|
+
"%ReferenceError%": ni,
|
|
465
461
|
"%Reflect%": typeof Reflect > "u" ? k : Reflect,
|
|
466
462
|
"%RegExp%": RegExp,
|
|
467
463
|
"%Set%": typeof Set > "u" ? k : Set,
|
|
@@ -471,45 +467,45 @@ var k, ti = Wr, ri = On, ni = Pn, ii = Tn, oi = jn, we = xr, be = Oe, ai = Mn, f
|
|
|
471
467
|
"%StringIteratorPrototype%": pe && V ? V(""[Symbol.iterator]()) : k,
|
|
472
468
|
"%Symbol%": pe ? Symbol : k,
|
|
473
469
|
"%SyntaxError%": we,
|
|
474
|
-
"%ThrowTypeError%":
|
|
475
|
-
"%TypedArray%":
|
|
470
|
+
"%ThrowTypeError%": pi,
|
|
471
|
+
"%TypedArray%": gi,
|
|
476
472
|
"%TypeError%": be,
|
|
477
473
|
"%Uint8Array%": typeof Uint8Array > "u" ? k : Uint8Array,
|
|
478
474
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? k : Uint8ClampedArray,
|
|
479
475
|
"%Uint16Array%": typeof Uint16Array > "u" ? k : Uint16Array,
|
|
480
476
|
"%Uint32Array%": typeof Uint32Array > "u" ? k : Uint32Array,
|
|
481
|
-
"%URIError%":
|
|
477
|
+
"%URIError%": ii,
|
|
482
478
|
"%WeakMap%": typeof WeakMap > "u" ? k : WeakMap,
|
|
483
479
|
"%WeakRef%": typeof WeakRef > "u" ? k : WeakRef,
|
|
484
480
|
"%WeakSet%": typeof WeakSet > "u" ? k : WeakSet,
|
|
485
481
|
"%Function.prototype.call%": Te,
|
|
486
|
-
"%Function.prototype.apply%":
|
|
487
|
-
"%Object.defineProperty%":
|
|
488
|
-
"%Object.getPrototypeOf%":
|
|
489
|
-
"%Math.abs%":
|
|
490
|
-
"%Math.floor%":
|
|
491
|
-
"%Math.max%":
|
|
492
|
-
"%Math.min%":
|
|
493
|
-
"%Math.pow%":
|
|
494
|
-
"%Math.round%":
|
|
495
|
-
"%Math.sign%":
|
|
496
|
-
"%Reflect.getPrototypeOf%":
|
|
482
|
+
"%Function.prototype.apply%": Kr,
|
|
483
|
+
"%Object.defineProperty%": di,
|
|
484
|
+
"%Object.getPrototypeOf%": yi,
|
|
485
|
+
"%Math.abs%": oi,
|
|
486
|
+
"%Math.floor%": ai,
|
|
487
|
+
"%Math.max%": fi,
|
|
488
|
+
"%Math.min%": ui,
|
|
489
|
+
"%Math.pow%": li,
|
|
490
|
+
"%Math.round%": si,
|
|
491
|
+
"%Math.sign%": ci,
|
|
492
|
+
"%Reflect.getPrototypeOf%": hi
|
|
497
493
|
};
|
|
498
494
|
if (V)
|
|
499
495
|
try {
|
|
500
496
|
null.error;
|
|
501
497
|
} catch (e) {
|
|
502
|
-
var
|
|
503
|
-
le["%Error.prototype%"] =
|
|
498
|
+
var vi = V(V(e));
|
|
499
|
+
le["%Error.prototype%"] = vi;
|
|
504
500
|
}
|
|
505
|
-
var
|
|
501
|
+
var bi = function e(t) {
|
|
506
502
|
var r;
|
|
507
503
|
if (t === "%AsyncFunction%")
|
|
508
|
-
r =
|
|
504
|
+
r = ft("async function () {}");
|
|
509
505
|
else if (t === "%GeneratorFunction%")
|
|
510
|
-
r =
|
|
506
|
+
r = ft("function* () {}");
|
|
511
507
|
else if (t === "%AsyncGeneratorFunction%")
|
|
512
|
-
r =
|
|
508
|
+
r = ft("async function* () {}");
|
|
513
509
|
else if (t === "%AsyncGenerator%") {
|
|
514
510
|
var o = e("%AsyncGeneratorFunction%");
|
|
515
511
|
o && (r = o.prototype);
|
|
@@ -518,7 +514,7 @@ var mi = function e(t) {
|
|
|
518
514
|
a && V && (r = V(a.prototype));
|
|
519
515
|
}
|
|
520
516
|
return le[t] = r, r;
|
|
521
|
-
},
|
|
517
|
+
}, er = {
|
|
522
518
|
__proto__: null,
|
|
523
519
|
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
524
520
|
"%ArrayPrototype%": ["Array", "prototype"],
|
|
@@ -571,21 +567,21 @@ var mi = function e(t) {
|
|
|
571
567
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
572
568
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
573
569
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
574
|
-
}, je = Pe(), We =
|
|
570
|
+
}, je = Pe(), We = Vr(), wi = je.call(Te, Array.prototype.concat), mi = je.call(Kr, Array.prototype.splice), tr = je.call(Te, String.prototype.replace), xe = je.call(Te, String.prototype.slice), _i = je.call(Te, RegExp.prototype.exec), Si = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ei = /\\(\\)?/g, Ai = function(t) {
|
|
575
571
|
var r = xe(t, 0, 1), o = xe(t, -1);
|
|
576
572
|
if (r === "%" && o !== "%")
|
|
577
573
|
throw new we("invalid intrinsic syntax, expected closing `%`");
|
|
578
574
|
if (o === "%" && r !== "%")
|
|
579
575
|
throw new we("invalid intrinsic syntax, expected opening `%`");
|
|
580
576
|
var a = [];
|
|
581
|
-
return
|
|
582
|
-
a[a.length] = m ?
|
|
577
|
+
return tr(t, Si, function(d, c, m, y) {
|
|
578
|
+
a[a.length] = m ? tr(y, Ei, "$1") : c || d;
|
|
583
579
|
}), a;
|
|
584
|
-
},
|
|
580
|
+
}, Ri = function(t, r) {
|
|
585
581
|
var o = t, a;
|
|
586
|
-
if (We(
|
|
582
|
+
if (We(er, o) && (a = er[o], o = "%" + a[0] + "%"), We(le, o)) {
|
|
587
583
|
var d = le[o];
|
|
588
|
-
if (d === he && (d =
|
|
584
|
+
if (d === he && (d = bi(o)), typeof d > "u" && !r)
|
|
589
585
|
throw new be("intrinsic " + t + " exists, but is not available. Please file an issue!");
|
|
590
586
|
return {
|
|
591
587
|
alias: a,
|
|
@@ -594,15 +590,15 @@ var mi = function e(t) {
|
|
|
594
590
|
};
|
|
595
591
|
}
|
|
596
592
|
throw new we("intrinsic " + t + " does not exist!");
|
|
597
|
-
},
|
|
593
|
+
}, Jr = function(t, r) {
|
|
598
594
|
if (typeof t != "string" || t.length === 0)
|
|
599
595
|
throw new be("intrinsic name must be a non-empty string");
|
|
600
596
|
if (arguments.length > 1 && typeof r != "boolean")
|
|
601
597
|
throw new be('"allowMissing" argument must be a boolean');
|
|
602
|
-
if (
|
|
598
|
+
if (_i(/^%?[^%]*%?$/, t) === null)
|
|
603
599
|
throw new we("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
604
|
-
var o =
|
|
605
|
-
E && (a = E[0],
|
|
600
|
+
var o = Ai(t), a = o.length > 0 ? o[0] : "", d = Ri("%" + a + "%", r), c = d.name, m = d.value, y = !1, E = d.alias;
|
|
601
|
+
E && (a = E[0], mi(o, wi([0, 1], E)));
|
|
606
602
|
for (var L = 1, N = !0; L < o.length; L += 1) {
|
|
607
603
|
var D = o[L], x = xe(D, 0, 1), P = xe(D, -1);
|
|
608
604
|
if ((x === '"' || x === "'" || x === "`" || P === '"' || P === "'" || P === "`") && x !== P)
|
|
@@ -624,178 +620,178 @@ var mi = function e(t) {
|
|
|
624
620
|
}
|
|
625
621
|
}
|
|
626
622
|
return m;
|
|
627
|
-
},
|
|
623
|
+
}, Yr = Jr, Zr = Ct, Oi = Zr([Yr("%String.prototype.indexOf%")]), Me = function(t, r) {
|
|
628
624
|
var o = (
|
|
629
625
|
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
630
|
-
|
|
626
|
+
Yr(t, !!r)
|
|
631
627
|
);
|
|
632
|
-
return typeof o == "function" &&
|
|
628
|
+
return typeof o == "function" && Oi(t, ".prototype.") > -1 ? Zr(
|
|
633
629
|
/** @type {const} */
|
|
634
630
|
[o]
|
|
635
631
|
) : o;
|
|
636
|
-
},
|
|
637
|
-
return
|
|
638
|
-
},
|
|
639
|
-
return Je(t) ? !0 : t !== null && typeof t == "object" && "length" in t && typeof t.length == "number" && t.length >= 0 &&
|
|
640
|
-
},
|
|
632
|
+
}, Pi = ze(), Ti = Me, At = Ti("Object.prototype.toString"), Je = function(t) {
|
|
633
|
+
return Pi && t && typeof t == "object" && Symbol.toStringTag in t ? !1 : At(t) === "[object Arguments]";
|
|
634
|
+
}, Xr = function(t) {
|
|
635
|
+
return Je(t) ? !0 : t !== null && typeof t == "object" && "length" in t && typeof t.length == "number" && t.length >= 0 && At(t) !== "[object Array]" && "callee" in t && At(t.callee) === "[object Function]";
|
|
636
|
+
}, ji = function() {
|
|
641
637
|
return Je(arguments);
|
|
642
638
|
}();
|
|
643
|
-
Je.isLegacyArguments =
|
|
644
|
-
var
|
|
645
|
-
if (
|
|
646
|
-
var
|
|
647
|
-
throw
|
|
648
|
-
},
|
|
649
|
-
toString:
|
|
650
|
-
valueOf:
|
|
639
|
+
Je.isLegacyArguments = Xr;
|
|
640
|
+
var Mi = ji ? Je : Xr, rr = Me, Li = ze(), Ni = Vr(), Ii = _e, Rt;
|
|
641
|
+
if (Li) {
|
|
642
|
+
var Di = rr("RegExp.prototype.exec"), nr = {}, lt = function() {
|
|
643
|
+
throw nr;
|
|
644
|
+
}, ir = {
|
|
645
|
+
toString: lt,
|
|
646
|
+
valueOf: lt
|
|
651
647
|
};
|
|
652
|
-
typeof Symbol.toPrimitive == "symbol" && (
|
|
648
|
+
typeof Symbol.toPrimitive == "symbol" && (ir[Symbol.toPrimitive] = lt), Rt = function(t) {
|
|
653
649
|
if (!t || typeof t != "object")
|
|
654
650
|
return !1;
|
|
655
651
|
var r = (
|
|
656
652
|
/** @type {NonNullable<typeof gOPD>} */
|
|
657
|
-
|
|
653
|
+
Ii(
|
|
658
654
|
/** @type {{ lastIndex?: unknown }} */
|
|
659
655
|
t,
|
|
660
656
|
"lastIndex"
|
|
661
657
|
)
|
|
662
|
-
), o = r &&
|
|
658
|
+
), o = r && Ni(r, "value");
|
|
663
659
|
if (!o)
|
|
664
660
|
return !1;
|
|
665
661
|
try {
|
|
666
|
-
|
|
662
|
+
Di(
|
|
667
663
|
t,
|
|
668
664
|
/** @type {string} */
|
|
669
665
|
/** @type {unknown} */
|
|
670
|
-
|
|
666
|
+
ir
|
|
671
667
|
);
|
|
672
668
|
} catch (a) {
|
|
673
|
-
return a ===
|
|
669
|
+
return a === nr;
|
|
674
670
|
}
|
|
675
671
|
};
|
|
676
672
|
} else {
|
|
677
|
-
var
|
|
678
|
-
|
|
679
|
-
return !t || typeof t != "object" && typeof t != "function" ? !1 :
|
|
673
|
+
var Bi = rr("Object.prototype.toString"), Ci = "[object RegExp]";
|
|
674
|
+
Rt = function(t) {
|
|
675
|
+
return !t || typeof t != "object" && typeof t != "function" ? !1 : Bi(t) === Ci;
|
|
680
676
|
};
|
|
681
677
|
}
|
|
682
|
-
var
|
|
683
|
-
if (!
|
|
684
|
-
throw new
|
|
678
|
+
var Fi = Rt, $i = Me, Ui = Fi, ki = $i("RegExp.prototype.exec"), Wi = Oe, xi = function(t) {
|
|
679
|
+
if (!Ui(t))
|
|
680
|
+
throw new Wi("`regex` must be a RegExp");
|
|
685
681
|
return function(o) {
|
|
686
|
-
return
|
|
682
|
+
return ki(t, o) !== null;
|
|
687
683
|
};
|
|
688
|
-
},
|
|
689
|
-
if (!
|
|
684
|
+
}, Qr = Me, qi = xi, Gi = qi(/^\s*(?:function)?\*/), en = ze(), st = Ft, Hi = Qr("Object.prototype.toString"), Vi = Qr("Function.prototype.toString"), zi = function() {
|
|
685
|
+
if (!en)
|
|
690
686
|
return !1;
|
|
691
687
|
try {
|
|
692
688
|
return Function("return function*() {}")();
|
|
693
689
|
} catch {
|
|
694
690
|
}
|
|
695
|
-
},
|
|
691
|
+
}, ct, Ki = function(t) {
|
|
696
692
|
if (typeof t != "function")
|
|
697
693
|
return !1;
|
|
698
|
-
if (Vi(
|
|
694
|
+
if (Gi(Vi(t)))
|
|
699
695
|
return !0;
|
|
700
|
-
if (!
|
|
701
|
-
var r =
|
|
696
|
+
if (!en) {
|
|
697
|
+
var r = Hi(t);
|
|
702
698
|
return r === "[object GeneratorFunction]";
|
|
703
699
|
}
|
|
704
|
-
if (!
|
|
700
|
+
if (!st)
|
|
705
701
|
return !1;
|
|
706
|
-
if (typeof
|
|
707
|
-
var o =
|
|
708
|
-
|
|
702
|
+
if (typeof ct > "u") {
|
|
703
|
+
var o = zi();
|
|
704
|
+
ct = o ? (
|
|
709
705
|
/** @type {GeneratorFunctionConstructor} */
|
|
710
|
-
|
|
706
|
+
st(o)
|
|
711
707
|
) : !1;
|
|
712
708
|
}
|
|
713
|
-
return
|
|
714
|
-
},
|
|
709
|
+
return st(t) === ct;
|
|
710
|
+
}, tn = Function.prototype.toString, ge = typeof Reflect == "object" && Reflect !== null && Reflect.apply, Ot, Fe;
|
|
715
711
|
if (typeof ge == "function" && typeof Object.defineProperty == "function")
|
|
716
712
|
try {
|
|
717
|
-
|
|
713
|
+
Ot = Object.defineProperty({}, "length", {
|
|
718
714
|
get: function() {
|
|
719
715
|
throw Fe;
|
|
720
716
|
}
|
|
721
717
|
}), Fe = {}, ge(function() {
|
|
722
718
|
throw 42;
|
|
723
|
-
}, null,
|
|
719
|
+
}, null, Ot);
|
|
724
720
|
} catch (e) {
|
|
725
721
|
e !== Fe && (ge = null);
|
|
726
722
|
}
|
|
727
723
|
else
|
|
728
724
|
ge = null;
|
|
729
|
-
var
|
|
725
|
+
var Ji = /^\s*class\b/, Pt = function(t) {
|
|
730
726
|
try {
|
|
731
|
-
var r =
|
|
732
|
-
return
|
|
727
|
+
var r = tn.call(t);
|
|
728
|
+
return Ji.test(r);
|
|
733
729
|
} catch {
|
|
734
730
|
return !1;
|
|
735
731
|
}
|
|
736
|
-
},
|
|
732
|
+
}, dt = function(t) {
|
|
737
733
|
try {
|
|
738
|
-
return
|
|
734
|
+
return Pt(t) ? !1 : (tn.call(t), !0);
|
|
739
735
|
} catch {
|
|
740
736
|
return !1;
|
|
741
737
|
}
|
|
742
|
-
}, $e = Object.prototype.toString,
|
|
738
|
+
}, $e = Object.prototype.toString, Yi = "[object Object]", Zi = "[object Function]", Xi = "[object GeneratorFunction]", Qi = "[object HTMLAllCollection]", eo = "[object HTML document.all class]", to = "[object HTMLCollection]", ro = typeof Symbol == "function" && !!Symbol.toStringTag, no = !(0 in [,]), Tt = function() {
|
|
743
739
|
return !1;
|
|
744
740
|
};
|
|
745
741
|
if (typeof document == "object") {
|
|
746
|
-
var
|
|
747
|
-
$e.call(
|
|
748
|
-
if ((
|
|
742
|
+
var io = document.all;
|
|
743
|
+
$e.call(io) === $e.call(document.all) && (Tt = function(t) {
|
|
744
|
+
if ((no || !t) && (typeof t > "u" || typeof t == "object"))
|
|
749
745
|
try {
|
|
750
746
|
var r = $e.call(t);
|
|
751
|
-
return (r ===
|
|
747
|
+
return (r === Qi || r === eo || r === to || r === Yi) && t("") == null;
|
|
752
748
|
} catch {
|
|
753
749
|
}
|
|
754
750
|
return !1;
|
|
755
751
|
});
|
|
756
752
|
}
|
|
757
|
-
var
|
|
758
|
-
if (
|
|
753
|
+
var oo = ge ? function(t) {
|
|
754
|
+
if (Tt(t))
|
|
759
755
|
return !0;
|
|
760
756
|
if (!t || typeof t != "function" && typeof t != "object")
|
|
761
757
|
return !1;
|
|
762
758
|
try {
|
|
763
|
-
ge(t, null,
|
|
759
|
+
ge(t, null, Ot);
|
|
764
760
|
} catch (r) {
|
|
765
761
|
if (r !== Fe)
|
|
766
762
|
return !1;
|
|
767
763
|
}
|
|
768
|
-
return !
|
|
764
|
+
return !Pt(t) && dt(t);
|
|
769
765
|
} : function(t) {
|
|
770
|
-
if (
|
|
766
|
+
if (Tt(t))
|
|
771
767
|
return !0;
|
|
772
768
|
if (!t || typeof t != "function" && typeof t != "object")
|
|
773
769
|
return !1;
|
|
774
|
-
if (
|
|
775
|
-
return
|
|
776
|
-
if (
|
|
770
|
+
if (ro)
|
|
771
|
+
return dt(t);
|
|
772
|
+
if (Pt(t))
|
|
777
773
|
return !1;
|
|
778
774
|
var r = $e.call(t);
|
|
779
|
-
return r !==
|
|
780
|
-
},
|
|
775
|
+
return r !== Zi && r !== Xi && !/^\[object HTML/.test(r) ? !1 : dt(t);
|
|
776
|
+
}, ao = oo, fo = Object.prototype.toString, rn = Object.prototype.hasOwnProperty, uo = function(t, r, o) {
|
|
781
777
|
for (var a = 0, d = t.length; a < d; a++)
|
|
782
|
-
|
|
783
|
-
},
|
|
778
|
+
rn.call(t, a) && (o == null ? r(t[a], a, t) : r.call(o, t[a], a, t));
|
|
779
|
+
}, lo = function(t, r, o) {
|
|
784
780
|
for (var a = 0, d = t.length; a < d; a++)
|
|
785
781
|
o == null ? r(t.charAt(a), a, t) : r.call(o, t.charAt(a), a, t);
|
|
786
|
-
},
|
|
782
|
+
}, so = function(t, r, o) {
|
|
787
783
|
for (var a in t)
|
|
788
|
-
|
|
784
|
+
rn.call(t, a) && (o == null ? r(t[a], a, t) : r.call(o, t[a], a, t));
|
|
789
785
|
};
|
|
790
|
-
function
|
|
791
|
-
return
|
|
786
|
+
function co(e) {
|
|
787
|
+
return fo.call(e) === "[object Array]";
|
|
792
788
|
}
|
|
793
|
-
var
|
|
794
|
-
if (!
|
|
789
|
+
var po = function(t, r, o) {
|
|
790
|
+
if (!ao(r))
|
|
795
791
|
throw new TypeError("iterator must be a function");
|
|
796
792
|
var a;
|
|
797
|
-
arguments.length >= 3 && (a = o),
|
|
798
|
-
},
|
|
793
|
+
arguments.length >= 3 && (a = o), co(t) ? uo(t, r, a) : typeof t == "string" ? lo(t, r, a) : so(t, r, a);
|
|
794
|
+
}, yo = [
|
|
799
795
|
"Float16Array",
|
|
800
796
|
"Float32Array",
|
|
801
797
|
"Float64Array",
|
|
@@ -808,11 +804,11 @@ var ho = function(t, r, o) {
|
|
|
808
804
|
"Uint32Array",
|
|
809
805
|
"BigInt64Array",
|
|
810
806
|
"BigUint64Array"
|
|
811
|
-
],
|
|
812
|
-
for (var t = [], r = 0; r <
|
|
813
|
-
typeof
|
|
807
|
+
], pt = yo, ho = typeof globalThis > "u" ? ue : globalThis, go = function() {
|
|
808
|
+
for (var t = [], r = 0; r < pt.length; r++)
|
|
809
|
+
typeof ho[pt[r]] == "function" && (t[t.length] = pt[r]);
|
|
814
810
|
return t;
|
|
815
|
-
},
|
|
811
|
+
}, nn = { exports: {} }, or = Ke, vo = kr, ye = Oe, ar = _e, bo = function(t, r, o) {
|
|
816
812
|
if (!t || typeof t != "object" && typeof t != "function")
|
|
817
813
|
throw new ye("`obj` must be an object or a function`");
|
|
818
814
|
if (typeof r != "string" && typeof r != "symbol")
|
|
@@ -825,9 +821,9 @@ var ho = function(t, r, o) {
|
|
|
825
821
|
throw new ye("`nonConfigurable`, if provided, must be a boolean or null");
|
|
826
822
|
if (arguments.length > 6 && typeof arguments[6] != "boolean")
|
|
827
823
|
throw new ye("`loose`, if provided, must be a boolean");
|
|
828
|
-
var a = arguments.length > 3 ? arguments[3] : null, d = arguments.length > 4 ? arguments[4] : null, c = arguments.length > 5 ? arguments[5] : null, m = arguments.length > 6 ? arguments[6] : !1, y = !!
|
|
829
|
-
if (
|
|
830
|
-
|
|
824
|
+
var a = arguments.length > 3 ? arguments[3] : null, d = arguments.length > 4 ? arguments[4] : null, c = arguments.length > 5 ? arguments[5] : null, m = arguments.length > 6 ? arguments[6] : !1, y = !!ar && ar(t, r);
|
|
825
|
+
if (or)
|
|
826
|
+
or(t, r, {
|
|
831
827
|
configurable: c === null && y ? y.configurable : !c,
|
|
832
828
|
enumerable: a === null && y ? y.enumerable : !a,
|
|
833
829
|
value: o,
|
|
@@ -836,47 +832,47 @@ var ho = function(t, r, o) {
|
|
|
836
832
|
else if (m || !a && !d && !c)
|
|
837
833
|
t[r] = o;
|
|
838
834
|
else
|
|
839
|
-
throw new
|
|
840
|
-
},
|
|
841
|
-
return !!
|
|
835
|
+
throw new vo("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
836
|
+
}, jt = Ke, on = function() {
|
|
837
|
+
return !!jt;
|
|
842
838
|
};
|
|
843
|
-
|
|
844
|
-
if (!
|
|
839
|
+
on.hasArrayLengthDefineBug = function() {
|
|
840
|
+
if (!jt)
|
|
845
841
|
return null;
|
|
846
842
|
try {
|
|
847
|
-
return
|
|
843
|
+
return jt([], "length", { value: 1 }).length !== 1;
|
|
848
844
|
} catch {
|
|
849
845
|
return !0;
|
|
850
846
|
}
|
|
851
847
|
};
|
|
852
|
-
var
|
|
848
|
+
var wo = on, mo = Jr, fr = bo, _o = wo(), ur = _e, lr = Oe, So = mo("%Math.floor%"), Eo = function(t, r) {
|
|
853
849
|
if (typeof t != "function")
|
|
854
|
-
throw new
|
|
855
|
-
if (typeof r != "number" || r < 0 || r > 4294967295 ||
|
|
856
|
-
throw new
|
|
850
|
+
throw new lr("`fn` is not a function");
|
|
851
|
+
if (typeof r != "number" || r < 0 || r > 4294967295 || So(r) !== r)
|
|
852
|
+
throw new lr("`length` must be a positive 32-bit integer");
|
|
857
853
|
var o = arguments.length > 2 && !!arguments[2], a = !0, d = !0;
|
|
858
|
-
if ("length" in t &&
|
|
859
|
-
var c =
|
|
854
|
+
if ("length" in t && ur) {
|
|
855
|
+
var c = ur(t, "length");
|
|
860
856
|
c && !c.configurable && (a = !1), c && !c.writable && (d = !1);
|
|
861
857
|
}
|
|
862
|
-
return (a || d || !o) && (
|
|
858
|
+
return (a || d || !o) && (_o ? fr(
|
|
863
859
|
/** @type {Parameters<define>[0]} */
|
|
864
860
|
t,
|
|
865
861
|
"length",
|
|
866
862
|
r,
|
|
867
863
|
!0,
|
|
868
864
|
!0
|
|
869
|
-
) :
|
|
865
|
+
) : fr(
|
|
870
866
|
/** @type {Parameters<define>[0]} */
|
|
871
867
|
t,
|
|
872
868
|
"length",
|
|
873
869
|
r
|
|
874
870
|
)), t;
|
|
875
|
-
},
|
|
876
|
-
return
|
|
871
|
+
}, Ao = Pe(), Ro = Bt(), Oo = qr, Po = function() {
|
|
872
|
+
return Oo(Ao, Ro, arguments);
|
|
877
873
|
};
|
|
878
874
|
(function(e) {
|
|
879
|
-
var t =
|
|
875
|
+
var t = Eo, r = Ke, o = Ct, a = Po;
|
|
880
876
|
e.exports = function(c) {
|
|
881
877
|
var m = o(arguments), y = c.length - (arguments.length - 1);
|
|
882
878
|
return t(
|
|
@@ -885,33 +881,33 @@ var _o = fn, So = Zr, lr = mo, Eo = _o(), sr = _e, cr = Oe, Ao = So("%Math.floor
|
|
|
885
881
|
!0
|
|
886
882
|
);
|
|
887
883
|
}, r ? r(e.exports, "apply", { value: a }) : e.exports.apply = a;
|
|
888
|
-
})(
|
|
889
|
-
var
|
|
884
|
+
})(nn);
|
|
885
|
+
var To = nn.exports, qe = po, jo = go, sr = To, $t = Me, Ue = _e, Ne = Ft, Mo = $t("Object.prototype.toString"), an = ze(), cr = typeof globalThis > "u" ? ue : globalThis, Mt = jo(), Ut = $t("String.prototype.slice"), Lo = $t("Array.prototype.indexOf", !0) || function(t, r) {
|
|
890
886
|
for (var o = 0; o < t.length; o += 1)
|
|
891
887
|
if (t[o] === r)
|
|
892
888
|
return o;
|
|
893
889
|
return -1;
|
|
894
890
|
}, Ge = { __proto__: null };
|
|
895
|
-
|
|
896
|
-
var t = new
|
|
891
|
+
an && Ue && Ne ? qe(Mt, function(e) {
|
|
892
|
+
var t = new cr[e]();
|
|
897
893
|
if (Symbol.toStringTag in t && Ne) {
|
|
898
894
|
var r = Ne(t), o = Ue(r, Symbol.toStringTag);
|
|
899
895
|
if (!o && r) {
|
|
900
896
|
var a = Ne(r);
|
|
901
897
|
o = Ue(a, Symbol.toStringTag);
|
|
902
898
|
}
|
|
903
|
-
Ge["$" + e] =
|
|
899
|
+
Ge["$" + e] = sr(o.get);
|
|
904
900
|
}
|
|
905
|
-
}) : qe(
|
|
906
|
-
var t = new
|
|
901
|
+
}) : qe(Mt, function(e) {
|
|
902
|
+
var t = new cr[e](), r = t.slice || t.set;
|
|
907
903
|
r && (Ge[
|
|
908
904
|
/** @type {`$${import('.').TypedArrayName}`} */
|
|
909
905
|
"$" + e
|
|
910
906
|
] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
|
|
911
907
|
// @ts-expect-error TODO FIXME
|
|
912
|
-
|
|
908
|
+
sr(r));
|
|
913
909
|
});
|
|
914
|
-
var
|
|
910
|
+
var No = function(t) {
|
|
915
911
|
var r = !1;
|
|
916
912
|
return qe(
|
|
917
913
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -921,12 +917,12 @@ var Do = function(t) {
|
|
|
921
917
|
if (!r)
|
|
922
918
|
try {
|
|
923
919
|
"$" + o(t) === a && (r = /** @type {import('.').TypedArrayName} */
|
|
924
|
-
|
|
920
|
+
Ut(a, 1));
|
|
925
921
|
} catch {
|
|
926
922
|
}
|
|
927
923
|
}
|
|
928
924
|
), r;
|
|
929
|
-
},
|
|
925
|
+
}, Io = function(t) {
|
|
930
926
|
var r = !1;
|
|
931
927
|
return qe(
|
|
932
928
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -936,24 +932,24 @@ var Do = function(t) {
|
|
|
936
932
|
if (!r)
|
|
937
933
|
try {
|
|
938
934
|
o(t), r = /** @type {import('.').TypedArrayName} */
|
|
939
|
-
|
|
935
|
+
Ut(a, 1);
|
|
940
936
|
} catch {
|
|
941
937
|
}
|
|
942
938
|
}
|
|
943
939
|
), r;
|
|
944
|
-
},
|
|
940
|
+
}, fn = function(t) {
|
|
945
941
|
if (!t || typeof t != "object")
|
|
946
942
|
return !1;
|
|
947
|
-
if (!
|
|
948
|
-
var r =
|
|
949
|
-
return
|
|
943
|
+
if (!an) {
|
|
944
|
+
var r = Ut(Mo(t), 8, -1);
|
|
945
|
+
return Lo(Mt, r) > -1 ? r : r !== "Object" ? !1 : Io(t);
|
|
950
946
|
}
|
|
951
|
-
return Ue ?
|
|
952
|
-
},
|
|
953
|
-
return !!
|
|
947
|
+
return Ue ? No(t) : null;
|
|
948
|
+
}, Do = fn, Bo = function(t) {
|
|
949
|
+
return !!Do(t);
|
|
954
950
|
};
|
|
955
951
|
(function(e) {
|
|
956
|
-
var t =
|
|
952
|
+
var t = Mi, r = Ki, o = fn, a = Bo;
|
|
957
953
|
function d(g) {
|
|
958
954
|
return g.call.bind(g);
|
|
959
955
|
}
|
|
@@ -1135,8 +1131,8 @@ var Do = function(t) {
|
|
|
1135
1131
|
}
|
|
1136
1132
|
});
|
|
1137
1133
|
});
|
|
1138
|
-
})(
|
|
1139
|
-
var
|
|
1134
|
+
})(Fr);
|
|
1135
|
+
var Co = function(t) {
|
|
1140
1136
|
return t && typeof t == "object" && typeof t.copy == "function" && typeof t.fill == "function" && typeof t.readUInt8 == "function";
|
|
1141
1137
|
};
|
|
1142
1138
|
(function(e) {
|
|
@@ -1358,7 +1354,7 @@ var $o = function(t) {
|
|
|
1358
1354
|
`) + " " + s.join(`,
|
|
1359
1355
|
`) + " " + w[1] : w[0] + h + " " + s.join(", ") + " " + w[1];
|
|
1360
1356
|
}
|
|
1361
|
-
e.types =
|
|
1357
|
+
e.types = Fr;
|
|
1362
1358
|
function R(s) {
|
|
1363
1359
|
return Array.isArray(s);
|
|
1364
1360
|
}
|
|
@@ -1415,7 +1411,7 @@ var $o = function(t) {
|
|
|
1415
1411
|
return s === null || typeof s == "boolean" || typeof s == "number" || typeof s == "string" || typeof s == "symbol" || // ES6 symbol
|
|
1416
1412
|
typeof s > "u";
|
|
1417
1413
|
}
|
|
1418
|
-
e.isPrimitive = re, e.isBuffer =
|
|
1414
|
+
e.isPrimitive = re, e.isBuffer = Co;
|
|
1419
1415
|
function Z(s) {
|
|
1420
1416
|
return Object.prototype.toString.call(s);
|
|
1421
1417
|
}
|
|
@@ -1529,11 +1525,11 @@ var $o = function(t) {
|
|
|
1529
1525
|
), h;
|
|
1530
1526
|
}
|
|
1531
1527
|
e.callbackify = ae;
|
|
1532
|
-
})(
|
|
1533
|
-
var
|
|
1534
|
-
function
|
|
1535
|
-
if (
|
|
1536
|
-
|
|
1528
|
+
})(It);
|
|
1529
|
+
var yt, dr;
|
|
1530
|
+
function Fo() {
|
|
1531
|
+
if (dr) return yt;
|
|
1532
|
+
dr = 1;
|
|
1537
1533
|
function e(P, M) {
|
|
1538
1534
|
var R = Object.keys(P);
|
|
1539
1535
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1585,11 +1581,11 @@ function Uo() {
|
|
|
1585
1581
|
}
|
|
1586
1582
|
return String(P);
|
|
1587
1583
|
}
|
|
1588
|
-
var y = Ve, E = y.Buffer, L =
|
|
1584
|
+
var y = Ve, E = y.Buffer, L = It, N = L.inspect, D = N && N.custom || "inspect";
|
|
1589
1585
|
function x(P, M, R) {
|
|
1590
1586
|
E.prototype.copy.call(P, M, R);
|
|
1591
1587
|
}
|
|
1592
|
-
return
|
|
1588
|
+
return yt = /* @__PURE__ */ function() {
|
|
1593
1589
|
function P() {
|
|
1594
1590
|
o(this, P), this.head = null, this.tail = null, this.length = 0;
|
|
1595
1591
|
}
|
|
@@ -1693,54 +1689,54 @@ function Uo() {
|
|
|
1693
1689
|
}));
|
|
1694
1690
|
}
|
|
1695
1691
|
}]), P;
|
|
1696
|
-
}(),
|
|
1692
|
+
}(), yt;
|
|
1697
1693
|
}
|
|
1698
|
-
function
|
|
1694
|
+
function $o(e, t) {
|
|
1699
1695
|
var r = this, o = this._readableState && this._readableState.destroyed, a = this._writableState && this._writableState.destroyed;
|
|
1700
|
-
return o || a ? (t ? t(e) : e && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, U.nextTick(
|
|
1701
|
-
!t && d ? r._writableState ? r._writableState.errorEmitted ? U.nextTick(ke, r) : (r._writableState.errorEmitted = !0, U.nextTick(
|
|
1696
|
+
return o || a ? (t ? t(e) : e && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, U.nextTick(Lt, this, e)) : U.nextTick(Lt, this, e)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(e || null, function(d) {
|
|
1697
|
+
!t && d ? r._writableState ? r._writableState.errorEmitted ? U.nextTick(ke, r) : (r._writableState.errorEmitted = !0, U.nextTick(pr, r, d)) : U.nextTick(pr, r, d) : t ? (U.nextTick(ke, r), t(d)) : U.nextTick(ke, r);
|
|
1702
1698
|
}), this);
|
|
1703
1699
|
}
|
|
1704
|
-
function
|
|
1705
|
-
|
|
1700
|
+
function pr(e, t) {
|
|
1701
|
+
Lt(e, t), ke(e);
|
|
1706
1702
|
}
|
|
1707
1703
|
function ke(e) {
|
|
1708
1704
|
e._writableState && !e._writableState.emitClose || e._readableState && !e._readableState.emitClose || e.emit("close");
|
|
1709
1705
|
}
|
|
1710
|
-
function
|
|
1706
|
+
function Uo() {
|
|
1711
1707
|
this._readableState && (this._readableState.destroyed = !1, this._readableState.reading = !1, this._readableState.ended = !1, this._readableState.endEmitted = !1), this._writableState && (this._writableState.destroyed = !1, this._writableState.ended = !1, this._writableState.ending = !1, this._writableState.finalCalled = !1, this._writableState.prefinished = !1, this._writableState.finished = !1, this._writableState.errorEmitted = !1);
|
|
1712
1708
|
}
|
|
1713
|
-
function
|
|
1709
|
+
function Lt(e, t) {
|
|
1714
1710
|
e.emit("error", t);
|
|
1715
1711
|
}
|
|
1716
|
-
function
|
|
1712
|
+
function ko(e, t) {
|
|
1717
1713
|
var r = e._readableState, o = e._writableState;
|
|
1718
1714
|
r && r.autoDestroy || o && o.autoDestroy ? e.destroy(t) : e.emit("error", t);
|
|
1719
1715
|
}
|
|
1720
|
-
var
|
|
1721
|
-
destroy:
|
|
1722
|
-
undestroy:
|
|
1723
|
-
errorOrDestroy:
|
|
1716
|
+
var un = {
|
|
1717
|
+
destroy: $o,
|
|
1718
|
+
undestroy: Uo,
|
|
1719
|
+
errorOrDestroy: ko
|
|
1724
1720
|
}, se = {};
|
|
1725
|
-
function
|
|
1721
|
+
function Wo(e, t) {
|
|
1726
1722
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
|
|
1727
1723
|
}
|
|
1728
|
-
var
|
|
1724
|
+
var ln = {};
|
|
1729
1725
|
function X(e, t, r) {
|
|
1730
1726
|
r || (r = Error);
|
|
1731
1727
|
function o(d, c, m) {
|
|
1732
1728
|
return typeof t == "string" ? t : t(d, c, m);
|
|
1733
1729
|
}
|
|
1734
1730
|
var a = /* @__PURE__ */ function(d) {
|
|
1735
|
-
|
|
1731
|
+
Wo(c, d);
|
|
1736
1732
|
function c(m, y, E) {
|
|
1737
1733
|
return d.call(this, o(m, y, E)) || this;
|
|
1738
1734
|
}
|
|
1739
1735
|
return c;
|
|
1740
1736
|
}(r);
|
|
1741
|
-
a.prototype.name = r.name, a.prototype.code = e,
|
|
1737
|
+
a.prototype.name = r.name, a.prototype.code = e, ln[e] = a;
|
|
1742
1738
|
}
|
|
1743
|
-
function
|
|
1739
|
+
function yr(e, t) {
|
|
1744
1740
|
if (Array.isArray(e)) {
|
|
1745
1741
|
var r = e.length;
|
|
1746
1742
|
return e = e.map(function(o) {
|
|
@@ -1749,13 +1745,13 @@ function gr(e, t) {
|
|
|
1749
1745
|
} else
|
|
1750
1746
|
return "of ".concat(t, " ").concat(String(e));
|
|
1751
1747
|
}
|
|
1752
|
-
function
|
|
1748
|
+
function xo(e, t, r) {
|
|
1753
1749
|
return e.substr(0, t.length) === t;
|
|
1754
1750
|
}
|
|
1755
|
-
function
|
|
1751
|
+
function qo(e, t, r) {
|
|
1756
1752
|
return (r === void 0 || r > e.length) && (r = e.length), e.substring(r - t.length, r) === t;
|
|
1757
1753
|
}
|
|
1758
|
-
function
|
|
1754
|
+
function Go(e, t, r) {
|
|
1759
1755
|
return typeof r != "number" && (r = 0), r + t.length > e.length ? !1 : e.indexOf(t, r) !== -1;
|
|
1760
1756
|
}
|
|
1761
1757
|
X("ERR_INVALID_OPT_VALUE", function(e, t) {
|
|
@@ -1763,13 +1759,13 @@ X("ERR_INVALID_OPT_VALUE", function(e, t) {
|
|
|
1763
1759
|
}, TypeError);
|
|
1764
1760
|
X("ERR_INVALID_ARG_TYPE", function(e, t, r) {
|
|
1765
1761
|
var o;
|
|
1766
|
-
typeof t == "string" &&
|
|
1762
|
+
typeof t == "string" && xo(t, "not ") ? (o = "must not be", t = t.replace(/^not /, "")) : o = "must be";
|
|
1767
1763
|
var a;
|
|
1768
|
-
if (
|
|
1769
|
-
a = "The ".concat(e, " ").concat(o, " ").concat(
|
|
1764
|
+
if (qo(e, " argument"))
|
|
1765
|
+
a = "The ".concat(e, " ").concat(o, " ").concat(yr(t, "type"));
|
|
1770
1766
|
else {
|
|
1771
|
-
var d =
|
|
1772
|
-
a = 'The "'.concat(e, '" ').concat(d, " ").concat(o, " ").concat(
|
|
1767
|
+
var d = Go(e, ".") ? "property" : "argument";
|
|
1768
|
+
a = 'The "'.concat(e, '" ').concat(d, " ").concat(o, " ").concat(yr(t, "type"));
|
|
1773
1769
|
}
|
|
1774
1770
|
return a += ". Received type ".concat(typeof r), a;
|
|
1775
1771
|
}, TypeError);
|
|
@@ -1789,40 +1785,40 @@ X("ERR_UNKNOWN_ENCODING", function(e) {
|
|
|
1789
1785
|
return "Unknown encoding: " + e;
|
|
1790
1786
|
}, TypeError);
|
|
1791
1787
|
X("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event");
|
|
1792
|
-
se.codes =
|
|
1793
|
-
var
|
|
1794
|
-
function
|
|
1788
|
+
se.codes = ln;
|
|
1789
|
+
var Ho = se.codes.ERR_INVALID_OPT_VALUE;
|
|
1790
|
+
function Vo(e, t, r) {
|
|
1795
1791
|
return e.highWaterMark != null ? e.highWaterMark : t ? e[r] : null;
|
|
1796
1792
|
}
|
|
1797
|
-
function
|
|
1798
|
-
var a =
|
|
1793
|
+
function zo(e, t, r, o) {
|
|
1794
|
+
var a = Vo(t, o, r);
|
|
1799
1795
|
if (a != null) {
|
|
1800
1796
|
if (!(isFinite(a) && Math.floor(a) === a) || a < 0) {
|
|
1801
1797
|
var d = o ? r : "highWaterMark";
|
|
1802
|
-
throw new
|
|
1798
|
+
throw new Ho(d, a);
|
|
1803
1799
|
}
|
|
1804
1800
|
return Math.floor(a);
|
|
1805
1801
|
}
|
|
1806
1802
|
return e.objectMode ? 16 : 16 * 1024;
|
|
1807
1803
|
}
|
|
1808
|
-
var
|
|
1809
|
-
getHighWaterMark:
|
|
1810
|
-
},
|
|
1811
|
-
function
|
|
1812
|
-
if (
|
|
1804
|
+
var sn = {
|
|
1805
|
+
getHighWaterMark: zo
|
|
1806
|
+
}, Ko = Jo;
|
|
1807
|
+
function Jo(e, t) {
|
|
1808
|
+
if (ht("noDeprecation"))
|
|
1813
1809
|
return e;
|
|
1814
1810
|
var r = !1;
|
|
1815
1811
|
function o() {
|
|
1816
1812
|
if (!r) {
|
|
1817
|
-
if (
|
|
1813
|
+
if (ht("throwDeprecation"))
|
|
1818
1814
|
throw new Error(t);
|
|
1819
|
-
|
|
1815
|
+
ht("traceDeprecation") ? console.trace(t) : console.warn(t), r = !0;
|
|
1820
1816
|
}
|
|
1821
1817
|
return e.apply(this, arguments);
|
|
1822
1818
|
}
|
|
1823
1819
|
return o;
|
|
1824
1820
|
}
|
|
1825
|
-
function
|
|
1821
|
+
function ht(e) {
|
|
1826
1822
|
try {
|
|
1827
1823
|
if (!ue.localStorage) return !1;
|
|
1828
1824
|
} catch {
|
|
@@ -1831,10 +1827,10 @@ function gt(e) {
|
|
|
1831
1827
|
var t = ue.localStorage[e];
|
|
1832
1828
|
return t == null ? !1 : String(t).toLowerCase() === "true";
|
|
1833
1829
|
}
|
|
1834
|
-
var
|
|
1835
|
-
function
|
|
1836
|
-
if (
|
|
1837
|
-
|
|
1830
|
+
var gt, hr;
|
|
1831
|
+
function Yo() {
|
|
1832
|
+
if (hr) return gt;
|
|
1833
|
+
hr = 1, gt = F;
|
|
1838
1834
|
function e(l) {
|
|
1839
1835
|
var f = this;
|
|
1840
1836
|
this.next = null, this.entry = null, this.finish = function() {
|
|
@@ -1844,8 +1840,8 @@ function Xo() {
|
|
|
1844
1840
|
var t;
|
|
1845
1841
|
F.WritableState = C;
|
|
1846
1842
|
var r = {
|
|
1847
|
-
deprecate:
|
|
1848
|
-
}, o =
|
|
1843
|
+
deprecate: Ko
|
|
1844
|
+
}, o = Cr, a = Ve.Buffer, d = (typeof ue < "u" ? ue : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
1849
1845
|
};
|
|
1850
1846
|
function c(l) {
|
|
1851
1847
|
return a.from(l);
|
|
@@ -1853,7 +1849,7 @@ function Xo() {
|
|
|
1853
1849
|
function m(l) {
|
|
1854
1850
|
return a.isBuffer(l) || l instanceof d;
|
|
1855
1851
|
}
|
|
1856
|
-
var y =
|
|
1852
|
+
var y = un, E = sn, L = E.getHighWaterMark, N = se.codes, D = N.ERR_INVALID_ARG_TYPE, x = N.ERR_METHOD_NOT_IMPLEMENTED, P = N.ERR_MULTIPLE_CALLBACK, M = N.ERR_STREAM_CANNOT_PIPE, R = N.ERR_STREAM_DESTROYED, u = N.ERR_STREAM_NULL_VALUES, b = N.ERR_STREAM_WRITE_AFTER_END, S = N.ERR_UNKNOWN_ENCODING, A = y.errorOrDestroy;
|
|
1857
1853
|
me(F, o);
|
|
1858
1854
|
function T() {
|
|
1859
1855
|
}
|
|
@@ -2056,19 +2052,19 @@ function Xo() {
|
|
|
2056
2052
|
}
|
|
2057
2053
|
}), F.prototype.destroy = y.destroy, F.prototype._undestroy = y.undestroy, F.prototype._destroy = function(l, f) {
|
|
2058
2054
|
f(l);
|
|
2059
|
-
},
|
|
2055
|
+
}, gt;
|
|
2060
2056
|
}
|
|
2061
|
-
var
|
|
2057
|
+
var vt, gr;
|
|
2062
2058
|
function Ae() {
|
|
2063
|
-
if (
|
|
2064
|
-
|
|
2059
|
+
if (gr) return vt;
|
|
2060
|
+
gr = 1;
|
|
2065
2061
|
var e = Object.keys || function(E) {
|
|
2066
2062
|
var L = [];
|
|
2067
2063
|
for (var N in E) L.push(N);
|
|
2068
2064
|
return L;
|
|
2069
2065
|
};
|
|
2070
|
-
|
|
2071
|
-
var t =
|
|
2066
|
+
vt = c;
|
|
2067
|
+
var t = na(), r = Yo();
|
|
2072
2068
|
me(c, t);
|
|
2073
2069
|
for (var o = e(r.prototype), a = 0; a < o.length; a++) {
|
|
2074
2070
|
var d = o[a];
|
|
@@ -2120,13 +2116,13 @@ function Ae() {
|
|
|
2120
2116
|
set: function(L) {
|
|
2121
2117
|
this._readableState === void 0 || this._writableState === void 0 || (this._readableState.destroyed = L, this._writableState.destroyed = L);
|
|
2122
2118
|
}
|
|
2123
|
-
}),
|
|
2119
|
+
}), vt;
|
|
2124
2120
|
}
|
|
2125
|
-
var
|
|
2121
|
+
var bt = {}, Ie = { exports: {} };
|
|
2126
2122
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2127
|
-
var
|
|
2128
|
-
function
|
|
2129
|
-
return
|
|
2123
|
+
var vr;
|
|
2124
|
+
function Zo() {
|
|
2125
|
+
return vr || (vr = 1, function(e, t) {
|
|
2130
2126
|
var r = Ve, o = r.Buffer;
|
|
2131
2127
|
function a(c, m) {
|
|
2132
2128
|
for (var y in c)
|
|
@@ -2156,11 +2152,11 @@ function Qo() {
|
|
|
2156
2152
|
};
|
|
2157
2153
|
}(Ie, Ie.exports)), Ie.exports;
|
|
2158
2154
|
}
|
|
2159
|
-
var
|
|
2160
|
-
function
|
|
2161
|
-
if (
|
|
2162
|
-
|
|
2163
|
-
var e =
|
|
2155
|
+
var br;
|
|
2156
|
+
function wr() {
|
|
2157
|
+
if (br) return bt;
|
|
2158
|
+
br = 1;
|
|
2159
|
+
var e = Zo().Buffer, t = e.isEncoding || function(u) {
|
|
2164
2160
|
switch (u = "" + u, u && u.toLowerCase()) {
|
|
2165
2161
|
case "hex":
|
|
2166
2162
|
case "utf8":
|
|
@@ -2207,7 +2203,7 @@ function _r() {
|
|
|
2207
2203
|
if (typeof b != "string" && (e.isEncoding === t || !t(u))) throw new Error("Unknown encoding: " + u);
|
|
2208
2204
|
return b || u;
|
|
2209
2205
|
}
|
|
2210
|
-
|
|
2206
|
+
bt.StringDecoder = a;
|
|
2211
2207
|
function a(u) {
|
|
2212
2208
|
this.encoding = o(u);
|
|
2213
2209
|
var b;
|
|
@@ -2312,10 +2308,10 @@ function _r() {
|
|
|
2312
2308
|
function R(u) {
|
|
2313
2309
|
return u && u.length ? this.write(u) : "";
|
|
2314
2310
|
}
|
|
2315
|
-
return
|
|
2311
|
+
return bt;
|
|
2316
2312
|
}
|
|
2317
|
-
var
|
|
2318
|
-
function
|
|
2313
|
+
var mr = se.codes.ERR_STREAM_PREMATURE_CLOSE;
|
|
2314
|
+
function Xo(e) {
|
|
2319
2315
|
var t = !1;
|
|
2320
2316
|
return function() {
|
|
2321
2317
|
if (!t) {
|
|
@@ -2326,14 +2322,14 @@ function ea(e) {
|
|
|
2326
2322
|
}
|
|
2327
2323
|
};
|
|
2328
2324
|
}
|
|
2329
|
-
function
|
|
2325
|
+
function Qo() {
|
|
2330
2326
|
}
|
|
2331
|
-
function
|
|
2327
|
+
function ea(e) {
|
|
2332
2328
|
return e.setHeader && typeof e.abort == "function";
|
|
2333
2329
|
}
|
|
2334
|
-
function
|
|
2335
|
-
if (typeof t == "function") return
|
|
2336
|
-
t || (t = {}), r =
|
|
2330
|
+
function cn(e, t, r) {
|
|
2331
|
+
if (typeof t == "function") return cn(e, null, t);
|
|
2332
|
+
t || (t = {}), r = Xo(r || Qo);
|
|
2337
2333
|
var o = t.readable || t.readable !== !1 && e.readable, a = t.writable || t.writable !== !1 && e.writable, d = function() {
|
|
2338
2334
|
e.writable || m();
|
|
2339
2335
|
}, c = e._writableState && e._writableState.finished, m = function() {
|
|
@@ -2345,20 +2341,20 @@ function pn(e, t, r) {
|
|
|
2345
2341
|
}, N = function() {
|
|
2346
2342
|
var P;
|
|
2347
2343
|
if (o && !y)
|
|
2348
|
-
return (!e._readableState || !e._readableState.ended) && (P = new
|
|
2344
|
+
return (!e._readableState || !e._readableState.ended) && (P = new mr()), r.call(e, P);
|
|
2349
2345
|
if (a && !c)
|
|
2350
|
-
return (!e._writableState || !e._writableState.ended) && (P = new
|
|
2346
|
+
return (!e._writableState || !e._writableState.ended) && (P = new mr()), r.call(e, P);
|
|
2351
2347
|
}, D = function() {
|
|
2352
2348
|
e.req.on("finish", m);
|
|
2353
2349
|
};
|
|
2354
|
-
return
|
|
2350
|
+
return ea(e) ? (e.on("complete", m), e.on("abort", N), e.req ? D() : e.on("request", D)) : a && !e._writableState && (e.on("end", d), e.on("close", d)), e.on("end", E), e.on("finish", m), t.error !== !1 && e.on("error", L), e.on("close", N), function() {
|
|
2355
2351
|
e.removeListener("complete", m), e.removeListener("abort", N), e.removeListener("request", D), e.req && e.req.removeListener("finish", m), e.removeListener("end", d), e.removeListener("close", d), e.removeListener("finish", m), e.removeListener("end", E), e.removeListener("error", L), e.removeListener("close", N);
|
|
2356
2352
|
};
|
|
2357
2353
|
}
|
|
2358
|
-
var
|
|
2359
|
-
function
|
|
2360
|
-
if (
|
|
2361
|
-
|
|
2354
|
+
var dn = cn, wt, _r;
|
|
2355
|
+
function ta() {
|
|
2356
|
+
if (_r) return wt;
|
|
2357
|
+
_r = 1;
|
|
2362
2358
|
var e;
|
|
2363
2359
|
function t(S, A, T) {
|
|
2364
2360
|
return A = r(A), A in S ? Object.defineProperty(S, A, { value: T, enumerable: !0, configurable: !0, writable: !0 }) : S[A] = T, S;
|
|
@@ -2377,7 +2373,7 @@ function na() {
|
|
|
2377
2373
|
}
|
|
2378
2374
|
return (A === "string" ? String : Number)(S);
|
|
2379
2375
|
}
|
|
2380
|
-
var a =
|
|
2376
|
+
var a = dn, d = Symbol("lastResolve"), c = Symbol("lastReject"), m = Symbol("error"), y = Symbol("ended"), E = Symbol("lastPromise"), L = Symbol("handlePromise"), N = Symbol("stream");
|
|
2381
2377
|
function D(S, A) {
|
|
2382
2378
|
return {
|
|
2383
2379
|
value: S,
|
|
@@ -2479,23 +2475,23 @@ function na() {
|
|
|
2479
2475
|
I !== null && (C[E] = null, C[d] = null, C[c] = null, I(D(void 0, !0))), C[y] = !0;
|
|
2480
2476
|
}), A.on("readable", P.bind(null, C)), C;
|
|
2481
2477
|
};
|
|
2482
|
-
return
|
|
2478
|
+
return wt = b, wt;
|
|
2483
2479
|
}
|
|
2484
|
-
var
|
|
2485
|
-
function
|
|
2486
|
-
return
|
|
2480
|
+
var mt, Sr;
|
|
2481
|
+
function ra() {
|
|
2482
|
+
return Sr || (Sr = 1, mt = function() {
|
|
2487
2483
|
throw new Error("Readable.from is not available in the browser");
|
|
2488
|
-
}),
|
|
2484
|
+
}), mt;
|
|
2489
2485
|
}
|
|
2490
|
-
var
|
|
2491
|
-
function
|
|
2492
|
-
if (
|
|
2493
|
-
|
|
2486
|
+
var _t, Er;
|
|
2487
|
+
function na() {
|
|
2488
|
+
if (Er) return _t;
|
|
2489
|
+
Er = 1, _t = I;
|
|
2494
2490
|
var e;
|
|
2495
|
-
I.ReadableState = F,
|
|
2491
|
+
I.ReadableState = F, Br.EventEmitter;
|
|
2496
2492
|
var t = function(i, v) {
|
|
2497
2493
|
return i.listeners(v).length;
|
|
2498
|
-
}, r =
|
|
2494
|
+
}, r = Cr, o = Ve.Buffer, a = (typeof ue < "u" ? ue : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
2499
2495
|
};
|
|
2500
2496
|
function d(n) {
|
|
2501
2497
|
return o.from(n);
|
|
@@ -2503,10 +2499,10 @@ function oa() {
|
|
|
2503
2499
|
function c(n) {
|
|
2504
2500
|
return o.isBuffer(n) || n instanceof a;
|
|
2505
2501
|
}
|
|
2506
|
-
var m =
|
|
2502
|
+
var m = It, y;
|
|
2507
2503
|
m && m.debuglog ? y = m.debuglog("stream") : y = function() {
|
|
2508
2504
|
};
|
|
2509
|
-
var E =
|
|
2505
|
+
var E = Fo(), L = un, N = sn, D = N.getHighWaterMark, x = se.codes, P = x.ERR_INVALID_ARG_TYPE, M = x.ERR_STREAM_PUSH_AFTER_EOF, R = x.ERR_METHOD_NOT_IMPLEMENTED, u = x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, b, S, A;
|
|
2510
2506
|
me(I, r);
|
|
2511
2507
|
var T = L.errorOrDestroy, C = ["error", "close", "destroy", "pause", "resume"];
|
|
2512
2508
|
function W(n, i, v) {
|
|
@@ -2514,7 +2510,7 @@ function oa() {
|
|
|
2514
2510
|
!n._events || !n._events[i] ? n.on(i, v) : Array.isArray(n._events[i]) ? n._events[i].unshift(v) : n._events[i] = [v, n._events[i]];
|
|
2515
2511
|
}
|
|
2516
2512
|
function F(n, i, v) {
|
|
2517
|
-
e = e || Ae(), n = n || {}, typeof v != "boolean" && (v = i instanceof e), this.objectMode = !!n.objectMode, v && (this.objectMode = this.objectMode || !!n.readableObjectMode), this.highWaterMark = D(this, n, "readableHighWaterMark", v), this.buffer = new E(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = n.emitClose !== !1, this.autoDestroy = !!n.autoDestroy, this.destroyed = !1, this.defaultEncoding = n.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, n.encoding && (b || (b =
|
|
2513
|
+
e = e || Ae(), n = n || {}, typeof v != "boolean" && (v = i instanceof e), this.objectMode = !!n.objectMode, v && (this.objectMode = this.objectMode || !!n.readableObjectMode), this.highWaterMark = D(this, n, "readableHighWaterMark", v), this.buffer = new E(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = n.emitClose !== !1, this.autoDestroy = !!n.autoDestroy, this.destroyed = !1, this.defaultEncoding = n.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, n.encoding && (b || (b = wr().StringDecoder), this.decoder = new b(n.encoding), this.encoding = n.encoding);
|
|
2518
2514
|
}
|
|
2519
2515
|
function I(n) {
|
|
2520
2516
|
if (e = e || Ae(), !(this instanceof I)) return new I(n);
|
|
@@ -2573,7 +2569,7 @@ function oa() {
|
|
|
2573
2569
|
I.prototype.isPaused = function() {
|
|
2574
2570
|
return this._readableState.flowing === !1;
|
|
2575
2571
|
}, I.prototype.setEncoding = function(n) {
|
|
2576
|
-
b || (b =
|
|
2572
|
+
b || (b = wr().StringDecoder);
|
|
2577
2573
|
var i = new b(n);
|
|
2578
2574
|
this._readableState.decoder = i, this._readableState.encoding = this._readableState.decoder.encoding;
|
|
2579
2575
|
for (var v = this._readableState.buffer.head, O = ""; v !== null; )
|
|
@@ -2646,7 +2642,7 @@ function oa() {
|
|
|
2646
2642
|
var H = (!i || i.end !== !1) && n !== U.stdout && n !== U.stderr, $ = H ? fe : Se;
|
|
2647
2643
|
O.endEmitted ? U.nextTick($) : v.once("end", $), n.on("unpipe", q);
|
|
2648
2644
|
function q(ce, de) {
|
|
2649
|
-
y("onunpipe"), ce === v && de && de.hasUnpiped === !1 && (de.hasUnpiped = !0,
|
|
2645
|
+
y("onunpipe"), ce === v && de && de.hasUnpiped === !1 && (de.hasUnpiped = !0, kt());
|
|
2650
2646
|
}
|
|
2651
2647
|
function fe() {
|
|
2652
2648
|
y("onend"), n.end();
|
|
@@ -2654,11 +2650,11 @@ function oa() {
|
|
|
2654
2650
|
var g = ae(v);
|
|
2655
2651
|
n.on("drain", g);
|
|
2656
2652
|
var Le = !1;
|
|
2657
|
-
function
|
|
2658
|
-
y("cleanup"), n.removeListener("close", Qe), n.removeListener("finish", et), n.removeListener("drain", g), n.removeListener("error", Xe), n.removeListener("unpipe", q), v.removeListener("end", fe), v.removeListener("end", Se), v.removeListener("data",
|
|
2653
|
+
function kt() {
|
|
2654
|
+
y("cleanup"), n.removeListener("close", Qe), n.removeListener("finish", et), n.removeListener("drain", g), n.removeListener("error", Xe), n.removeListener("unpipe", q), v.removeListener("end", fe), v.removeListener("end", Se), v.removeListener("data", Wt), Le = !0, O.awaitDrain && (!n._writableState || n._writableState.needDrain) && g();
|
|
2659
2655
|
}
|
|
2660
|
-
v.on("data",
|
|
2661
|
-
function
|
|
2656
|
+
v.on("data", Wt);
|
|
2657
|
+
function Wt(ce) {
|
|
2662
2658
|
y("ondata");
|
|
2663
2659
|
var de = n.write(ce);
|
|
2664
2660
|
y("dest.write", de), de === !1 && ((O.pipesCount === 1 && O.pipes === n || O.pipesCount > 1 && j(O.pipes, n) !== -1) && !Le && (y("false write response, pause", O.awaitDrain), O.awaitDrain++), v.pause());
|
|
@@ -2763,7 +2759,7 @@ function oa() {
|
|
|
2763
2759
|
y("wrapped _read", q), O && (O = !1, n.resume());
|
|
2764
2760
|
}, this;
|
|
2765
2761
|
}, typeof Symbol == "function" && (I.prototype[Symbol.asyncIterator] = function() {
|
|
2766
|
-
return S === void 0 && (S =
|
|
2762
|
+
return S === void 0 && (S = ta()), S(this);
|
|
2767
2763
|
}), Object.defineProperty(I.prototype, "readableHighWaterMark", {
|
|
2768
2764
|
// making it explicit this property is not enumerable
|
|
2769
2765
|
// because otherwise some prototype manipulation in
|
|
@@ -2816,23 +2812,23 @@ function oa() {
|
|
|
2816
2812
|
}
|
|
2817
2813
|
}
|
|
2818
2814
|
typeof Symbol == "function" && (I.from = function(n, i) {
|
|
2819
|
-
return A === void 0 && (A =
|
|
2815
|
+
return A === void 0 && (A = ra()), A(I, n, i);
|
|
2820
2816
|
});
|
|
2821
2817
|
function j(n, i) {
|
|
2822
2818
|
for (var v = 0, O = n.length; v < O; v++)
|
|
2823
2819
|
if (n[v] === i) return v;
|
|
2824
2820
|
return -1;
|
|
2825
2821
|
}
|
|
2826
|
-
return
|
|
2822
|
+
return _t;
|
|
2827
2823
|
}
|
|
2828
|
-
var
|
|
2824
|
+
var ia = oe, Ye = se.codes, oa = Ye.ERR_METHOD_NOT_IMPLEMENTED, aa = Ye.ERR_MULTIPLE_CALLBACK, fa = Ye.ERR_TRANSFORM_ALREADY_TRANSFORMING, ua = Ye.ERR_TRANSFORM_WITH_LENGTH_0, Ze = Ae();
|
|
2829
2825
|
me(oe, Ze);
|
|
2830
|
-
function
|
|
2826
|
+
function la(e, t) {
|
|
2831
2827
|
var r = this._transformState;
|
|
2832
2828
|
r.transforming = !1;
|
|
2833
2829
|
var o = r.writecb;
|
|
2834
2830
|
if (o === null)
|
|
2835
|
-
return this.emit("error", new
|
|
2831
|
+
return this.emit("error", new aa());
|
|
2836
2832
|
r.writechunk = null, r.writecb = null, t != null && this.push(t), o(e);
|
|
2837
2833
|
var a = this._readableState;
|
|
2838
2834
|
a.reading = !1, (a.needReadable || a.length < a.highWaterMark) && this._read(a.highWaterMark);
|
|
@@ -2840,25 +2836,25 @@ function ca(e, t) {
|
|
|
2840
2836
|
function oe(e) {
|
|
2841
2837
|
if (!(this instanceof oe)) return new oe(e);
|
|
2842
2838
|
Ze.call(this, e), this._transformState = {
|
|
2843
|
-
afterTransform:
|
|
2839
|
+
afterTransform: la.bind(this),
|
|
2844
2840
|
needTransform: !1,
|
|
2845
2841
|
transforming: !1,
|
|
2846
2842
|
writecb: null,
|
|
2847
2843
|
writechunk: null,
|
|
2848
2844
|
writeencoding: null
|
|
2849
|
-
}, this._readableState.needReadable = !0, this._readableState.sync = !1, e && (typeof e.transform == "function" && (this._transform = e.transform), typeof e.flush == "function" && (this._flush = e.flush)), this.on("prefinish",
|
|
2845
|
+
}, this._readableState.needReadable = !0, this._readableState.sync = !1, e && (typeof e.transform == "function" && (this._transform = e.transform), typeof e.flush == "function" && (this._flush = e.flush)), this.on("prefinish", sa);
|
|
2850
2846
|
}
|
|
2851
|
-
function
|
|
2847
|
+
function sa() {
|
|
2852
2848
|
var e = this;
|
|
2853
2849
|
typeof this._flush == "function" && !this._readableState.destroyed ? this._flush(function(t, r) {
|
|
2854
|
-
|
|
2855
|
-
}) :
|
|
2850
|
+
Ar(e, t, r);
|
|
2851
|
+
}) : Ar(this, null, null);
|
|
2856
2852
|
}
|
|
2857
2853
|
oe.prototype.push = function(e, t) {
|
|
2858
2854
|
return this._transformState.needTransform = !1, Ze.prototype.push.call(this, e, t);
|
|
2859
2855
|
};
|
|
2860
2856
|
oe.prototype._transform = function(e, t, r) {
|
|
2861
|
-
r(new
|
|
2857
|
+
r(new oa("_transform()"));
|
|
2862
2858
|
};
|
|
2863
2859
|
oe.prototype._write = function(e, t, r) {
|
|
2864
2860
|
var o = this._transformState;
|
|
@@ -2876,41 +2872,41 @@ oe.prototype._destroy = function(e, t) {
|
|
|
2876
2872
|
t(r);
|
|
2877
2873
|
});
|
|
2878
2874
|
};
|
|
2879
|
-
function
|
|
2875
|
+
function Ar(e, t, r) {
|
|
2880
2876
|
if (t) return e.emit("error", t);
|
|
2881
|
-
if (r != null && e.push(r), e._writableState.length) throw new
|
|
2882
|
-
if (e._transformState.transforming) throw new
|
|
2877
|
+
if (r != null && e.push(r), e._writableState.length) throw new ua();
|
|
2878
|
+
if (e._transformState.transforming) throw new fa();
|
|
2883
2879
|
return e.push(null);
|
|
2884
2880
|
}
|
|
2885
|
-
var
|
|
2886
|
-
me(Re,
|
|
2881
|
+
var _a = Re, pn = ia;
|
|
2882
|
+
me(Re, pn);
|
|
2887
2883
|
function Re(e) {
|
|
2888
2884
|
if (!(this instanceof Re)) return new Re(e);
|
|
2889
|
-
|
|
2885
|
+
pn.call(this, e);
|
|
2890
2886
|
}
|
|
2891
2887
|
Re.prototype._transform = function(e, t, r) {
|
|
2892
2888
|
r(null, e);
|
|
2893
2889
|
};
|
|
2894
|
-
var
|
|
2895
|
-
function
|
|
2890
|
+
var St;
|
|
2891
|
+
function ca(e) {
|
|
2896
2892
|
var t = !1;
|
|
2897
2893
|
return function() {
|
|
2898
2894
|
t || (t = !0, e.apply(void 0, arguments));
|
|
2899
2895
|
};
|
|
2900
2896
|
}
|
|
2901
|
-
var
|
|
2902
|
-
function
|
|
2897
|
+
var yn = se.codes, da = yn.ERR_MISSING_ARGS, pa = yn.ERR_STREAM_DESTROYED;
|
|
2898
|
+
function Rr(e) {
|
|
2903
2899
|
if (e) throw e;
|
|
2904
2900
|
}
|
|
2905
|
-
function
|
|
2901
|
+
function ya(e) {
|
|
2906
2902
|
return e.setHeader && typeof e.abort == "function";
|
|
2907
2903
|
}
|
|
2908
|
-
function
|
|
2909
|
-
o =
|
|
2904
|
+
function ha(e, t, r, o) {
|
|
2905
|
+
o = ca(o);
|
|
2910
2906
|
var a = !1;
|
|
2911
2907
|
e.on("close", function() {
|
|
2912
2908
|
a = !0;
|
|
2913
|
-
}),
|
|
2909
|
+
}), St === void 0 && (St = dn), St(e, {
|
|
2914
2910
|
readable: t,
|
|
2915
2911
|
writable: r
|
|
2916
2912
|
}, function(c) {
|
|
@@ -2920,46 +2916,46 @@ function va(e, t, r, o) {
|
|
|
2920
2916
|
var d = !1;
|
|
2921
2917
|
return function(c) {
|
|
2922
2918
|
if (!a && !d) {
|
|
2923
|
-
if (d = !0,
|
|
2919
|
+
if (d = !0, ya(e)) return e.abort();
|
|
2924
2920
|
if (typeof e.destroy == "function") return e.destroy();
|
|
2925
|
-
o(c || new
|
|
2921
|
+
o(c || new pa("pipe"));
|
|
2926
2922
|
}
|
|
2927
2923
|
};
|
|
2928
2924
|
}
|
|
2929
|
-
function
|
|
2925
|
+
function Or(e) {
|
|
2930
2926
|
e();
|
|
2931
2927
|
}
|
|
2932
|
-
function
|
|
2928
|
+
function ga(e, t) {
|
|
2933
2929
|
return e.pipe(t);
|
|
2934
2930
|
}
|
|
2935
|
-
function
|
|
2936
|
-
return !e.length || typeof e[e.length - 1] != "function" ?
|
|
2931
|
+
function va(e) {
|
|
2932
|
+
return !e.length || typeof e[e.length - 1] != "function" ? Rr : e.pop();
|
|
2937
2933
|
}
|
|
2938
|
-
function
|
|
2934
|
+
function ba() {
|
|
2939
2935
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
2940
2936
|
t[r] = arguments[r];
|
|
2941
|
-
var o =
|
|
2937
|
+
var o = va(t);
|
|
2942
2938
|
if (Array.isArray(t[0]) && (t = t[0]), t.length < 2)
|
|
2943
|
-
throw new
|
|
2939
|
+
throw new da("streams");
|
|
2944
2940
|
var a, d = t.map(function(c, m) {
|
|
2945
2941
|
var y = m < t.length - 1, E = m > 0;
|
|
2946
|
-
return
|
|
2947
|
-
a || (a = L), L && d.forEach(
|
|
2942
|
+
return ha(c, y, E, function(L) {
|
|
2943
|
+
a || (a = L), L && d.forEach(Or), !y && (d.forEach(Or), o(a));
|
|
2948
2944
|
});
|
|
2949
2945
|
});
|
|
2950
|
-
return t.reduce(
|
|
2946
|
+
return t.reduce(ga);
|
|
2951
2947
|
}
|
|
2952
|
-
var
|
|
2948
|
+
var Sa = ba;
|
|
2953
2949
|
export {
|
|
2954
|
-
|
|
2955
|
-
|
|
2950
|
+
ia as _,
|
|
2951
|
+
Yo as a,
|
|
2956
2952
|
Ae as b,
|
|
2957
|
-
|
|
2953
|
+
_a as c,
|
|
2958
2954
|
Me as d,
|
|
2959
|
-
|
|
2960
|
-
|
|
2955
|
+
dn as e,
|
|
2956
|
+
Jr as g,
|
|
2961
2957
|
me as i,
|
|
2962
|
-
|
|
2963
|
-
|
|
2958
|
+
Sa as p,
|
|
2959
|
+
na as r,
|
|
2964
2960
|
Oe as t
|
|
2965
2961
|
};
|