@feedmepos/mf-common 1.15.0-beta.1 → 1.15.0-beta.3
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/api/index.d.ts +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/app.js +41 -40
- package/dist/components/Portal/index.d.ts +1 -1
- package/dist/components/Portal/index.d.ts.map +1 -1
- package/dist/components/SelectCountryDialog.vue.d.ts +1 -1
- package/dist/components/SelectCountryDialog.vue.d.ts.map +1 -1
- package/dist/components/attribute/CustomAttributesForm.vue.d.ts +1 -1
- package/dist/components/attribute/CustomAttributesForm.vue.d.ts.map +1 -1
- package/dist/components/attribute/MongoQueryBuilder.vue.d.ts +1 -1
- package/dist/components/attribute/MongoQueryBuilder.vue.d.ts.map +1 -1
- package/dist/{multipart-parser-de48f3e7.js → multipart-parser-fafbe00f.js} +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{vite-preset-d9468a92.js → vite-preset-d1de497c.js} +148 -145
- package/dist/vite-preset.d.ts.map +1 -1
- package/dist/vite-preset.js +1 -1
- package/package.json +2 -2
@@ -96,8 +96,8 @@ function Oi(i) {
|
|
96
96
|
for (let P = 1; P < a.length; P++)
|
97
97
|
a[P] === "base64" ? l = !0 : a[P] && (c += `;${a[P]}`, a[P].indexOf("charset=") === 0 && (u = a[P].substring(8)));
|
98
98
|
!a[0] && !u.length && (c += ";charset=US-ASCII", u = "US-ASCII");
|
99
|
-
const T = l ? "base64" : "ascii", B = unescape(i.substring(n + 1)),
|
100
|
-
return
|
99
|
+
const T = l ? "base64" : "ascii", B = unescape(i.substring(n + 1)), b = Buffer.from(B, T);
|
100
|
+
return b.type = h, b.typeFull = c, b.charset = u, b;
|
101
101
|
}
|
102
102
|
var Vr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Jt = { exports: {} };
|
103
103
|
/**
|
@@ -128,7 +128,7 @@ function zi() {
|
|
128
128
|
} catch {
|
129
129
|
}
|
130
130
|
}
|
131
|
-
const T = Promise, B = Promise.prototype.then,
|
131
|
+
const T = Promise, B = Promise.prototype.then, b = Promise.reject.bind(T);
|
132
132
|
function P(e) {
|
133
133
|
return new T(e);
|
134
134
|
}
|
@@ -136,7 +136,7 @@ function zi() {
|
|
136
136
|
return P((t) => t(e));
|
137
137
|
}
|
138
138
|
function m(e) {
|
139
|
-
return
|
139
|
+
return b(e);
|
140
140
|
}
|
141
141
|
function W(e, t, r) {
|
142
142
|
return B.call(e, t, r);
|
@@ -314,7 +314,7 @@ function zi() {
|
|
314
314
|
throw new TypeError(`${t} is outside the accepted range of 0 to ${o}, inclusive`);
|
315
315
|
return !on(s) || s === 0 ? 0 : s;
|
316
316
|
}
|
317
|
-
function
|
317
|
+
function pr(e, t) {
|
318
318
|
if (!Te(e))
|
319
319
|
throw new TypeError(`${t} is not a ReadableStream.`);
|
320
320
|
}
|
@@ -324,7 +324,7 @@ function zi() {
|
|
324
324
|
function ln(e, t) {
|
325
325
|
e._reader._readRequests.push(t);
|
326
326
|
}
|
327
|
-
function
|
327
|
+
function br(e, t, r) {
|
328
328
|
const s = e._reader._readRequests.shift();
|
329
329
|
r ? s._closeSteps() : s._chunkSteps(t);
|
330
330
|
}
|
@@ -337,7 +337,7 @@ function zi() {
|
|
337
337
|
}
|
338
338
|
class ge {
|
339
339
|
constructor(t) {
|
340
|
-
if (ue(t, 1, "ReadableStreamDefaultReader"),
|
340
|
+
if (ue(t, 1, "ReadableStreamDefaultReader"), pr(t, "First parameter"), Pe(t))
|
341
341
|
throw new TypeError("This stream has already been locked for exclusive reading by another reader");
|
342
342
|
tn(this, t), this._readRequests = new M();
|
343
343
|
}
|
@@ -438,8 +438,8 @@ function zi() {
|
|
438
438
|
return Promise.resolve({ value: void 0, done: !0 });
|
439
439
|
const t = this._reader;
|
440
440
|
let r, o;
|
441
|
-
const s = P((d,
|
442
|
-
r = d, o =
|
441
|
+
const s = P((d, p) => {
|
442
|
+
r = d, o = p;
|
443
443
|
});
|
444
444
|
return tt(t, {
|
445
445
|
_chunkSteps: (d) => {
|
@@ -490,14 +490,14 @@ function zi() {
|
|
490
490
|
function mn(e) {
|
491
491
|
return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`);
|
492
492
|
}
|
493
|
-
const
|
493
|
+
const pn = Number.isNaN || function(e) {
|
494
494
|
return e !== e;
|
495
495
|
};
|
496
496
|
var yr, gr, _r;
|
497
497
|
function rt(e) {
|
498
498
|
return e.slice();
|
499
499
|
}
|
500
|
-
function
|
500
|
+
function bn(e, t, r, o, s) {
|
501
501
|
new Uint8Array(e).set(new Uint8Array(r, o, s), t);
|
502
502
|
}
|
503
503
|
let fe = (e) => (typeof e.transfer == "function" ? fe = (t) => t.transfer() : typeof structuredClone == "function" ? fe = (t) => structuredClone(t, { transfer: [t] }) : fe = (t) => t, fe(e)), Se = (e) => (typeof e.detached == "boolean" ? Se = (t) => t.detached : Se = (t) => t.byteLength === 0, Se(e));
|
@@ -505,7 +505,7 @@ function zi() {
|
|
505
505
|
if (e.slice)
|
506
506
|
return e.slice(t, r);
|
507
507
|
const o = r - t, s = new ArrayBuffer(o);
|
508
|
-
return
|
508
|
+
return bn(s, 0, e, t, o), s;
|
509
509
|
}
|
510
510
|
function Ct(e, t) {
|
511
511
|
const r = e[t];
|
@@ -554,7 +554,7 @@ function zi() {
|
|
554
554
|
return e.value;
|
555
555
|
}
|
556
556
|
function Vo(e) {
|
557
|
-
return !(typeof e != "number" ||
|
557
|
+
return !(typeof e != "number" || pn(e) || e < 0);
|
558
558
|
}
|
559
559
|
function _n(e) {
|
560
560
|
const t = yn(e.buffer, e.byteOffset, e.byteOffset + e.byteLength);
|
@@ -763,7 +763,7 @@ function zi() {
|
|
763
763
|
let r = !1;
|
764
764
|
e._state === "closed" && (r = !0);
|
765
765
|
const o = Rn(t);
|
766
|
-
t.readerType === "default" ?
|
766
|
+
t.readerType === "default" ? br(e, o, r) : sa(e, o, r);
|
767
767
|
}
|
768
768
|
function Rn(e) {
|
769
769
|
const t = e.bytesFilled, r = e.elementSize;
|
@@ -787,12 +787,12 @@ function zi() {
|
|
787
787
|
function Pn(e, t) {
|
788
788
|
const r = Math.min(e._queueTotalSize, t.byteLength - t.bytesFilled), o = t.bytesFilled + r;
|
789
789
|
let s = r, f = !1;
|
790
|
-
const d = o % t.elementSize,
|
791
|
-
|
790
|
+
const d = o % t.elementSize, p = o - d;
|
791
|
+
p >= t.minimumFill && (s = p - t.bytesFilled, f = !0);
|
792
792
|
const S = e._queue;
|
793
793
|
for (; s > 0; ) {
|
794
794
|
const g = S.peek(), C = Math.min(s, g.byteLength), v = t.byteOffset + t.bytesFilled;
|
795
|
-
|
795
|
+
bn(t.buffer, v, g.buffer, g.byteOffset, C), g.byteLength === C ? S.shift() : (g.byteOffset += C, g.byteLength -= C), e._queueTotalSize -= C, vn(e, C, t), s -= C;
|
796
796
|
}
|
797
797
|
return f;
|
798
798
|
}
|
@@ -823,7 +823,7 @@ function zi() {
|
|
823
823
|
}
|
824
824
|
}
|
825
825
|
function Ko(e, t, r, o) {
|
826
|
-
const s = e._controlledReadableByteStream, f = t.constructor, d = Jo(f), { byteOffset:
|
826
|
+
const s = e._controlledReadableByteStream, f = t.constructor, d = Jo(f), { byteOffset: p, byteLength: S } = t, g = r * d;
|
827
827
|
let C;
|
828
828
|
try {
|
829
829
|
C = fe(t.buffer);
|
@@ -834,7 +834,7 @@ function zi() {
|
|
834
834
|
const v = {
|
835
835
|
buffer: C,
|
836
836
|
bufferByteLength: C.byteLength,
|
837
|
-
byteOffset:
|
837
|
+
byteOffset: p,
|
838
838
|
byteLength: S,
|
839
839
|
bytesFilled: 0,
|
840
840
|
minimumFill: g,
|
@@ -929,18 +929,18 @@ function zi() {
|
|
929
929
|
throw new TypeError("chunk's buffer is detached and so cannot be enqueued");
|
930
930
|
const d = fe(o);
|
931
931
|
if (e._pendingPullIntos.length > 0) {
|
932
|
-
const
|
933
|
-
if (Se(
|
932
|
+
const p = e._pendingPullIntos.peek();
|
933
|
+
if (Se(p.buffer))
|
934
934
|
throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");
|
935
|
-
Pr(e),
|
935
|
+
Pr(e), p.buffer = fe(p.buffer), p.readerType === "none" && Tn(e, p);
|
936
936
|
}
|
937
937
|
if (un(r))
|
938
938
|
if (Zo(e), wt(r) === 0)
|
939
939
|
Tt(e, d, s, f);
|
940
940
|
else {
|
941
941
|
e._pendingPullIntos.length > 0 && De(e);
|
942
|
-
const
|
943
|
-
|
942
|
+
const p = new Uint8Array(d, s, f);
|
943
|
+
br(r, p, !1);
|
944
944
|
}
|
945
945
|
else
|
946
946
|
Br(r) ? (Tt(e, d, s, f), vr(e)) : Tt(e, d, s, f);
|
@@ -998,18 +998,18 @@ function zi() {
|
|
998
998
|
}
|
999
999
|
function kn(e, t, r, o, s, f, d) {
|
1000
1000
|
t._controlledReadableByteStream = e, t._pullAgain = !1, t._pulling = !1, t._byobRequest = null, t._queue = t._queueTotalSize = void 0, we(t), t._closeRequested = !1, t._started = !1, t._strategyHWM = f, t._pullAlgorithm = o, t._cancelAlgorithm = s, t._autoAllocateChunkSize = d, t._pendingPullIntos = new M(), e._readableStreamController = t;
|
1001
|
-
const
|
1002
|
-
y(w(
|
1001
|
+
const p = r();
|
1002
|
+
y(w(p), () => (t._started = !0, ke(t), null), (S) => (G(t, S), null));
|
1003
1003
|
}
|
1004
1004
|
function ra(e, t, r) {
|
1005
1005
|
const o = Object.create(de.prototype);
|
1006
1006
|
let s, f, d;
|
1007
1007
|
t.start !== void 0 ? s = () => t.start(o) : s = () => {
|
1008
1008
|
}, t.pull !== void 0 ? f = () => t.pull(o) : f = () => w(void 0), t.cancel !== void 0 ? d = (S) => t.cancel(S) : d = () => w(void 0);
|
1009
|
-
const
|
1010
|
-
if (
|
1009
|
+
const p = t.autoAllocateChunkSize;
|
1010
|
+
if (p === 0)
|
1011
1011
|
throw new TypeError("autoAllocateChunkSize must be greater than 0");
|
1012
|
-
kn(e, o, s, f, d, r,
|
1012
|
+
kn(e, o, s, f, d, r, p);
|
1013
1013
|
}
|
1014
1014
|
function na(e, t, r) {
|
1015
1015
|
e._associatedReadableByteStreamController = t, e._view = r;
|
@@ -1059,7 +1059,7 @@ function zi() {
|
|
1059
1059
|
}
|
1060
1060
|
class Re {
|
1061
1061
|
constructor(t) {
|
1062
|
-
if (ue(t, 1, "ReadableStreamBYOBReader"),
|
1062
|
+
if (ue(t, 1, "ReadableStreamBYOBReader"), pr(t, "First parameter"), Pe(t))
|
1063
1063
|
throw new TypeError("This stream has already been locked for exclusive reading by another reader");
|
1064
1064
|
if (!We(t._readableStreamController))
|
1065
1065
|
throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");
|
@@ -1106,14 +1106,14 @@ function zi() {
|
|
1106
1106
|
if (this._ownerReadableStream === void 0)
|
1107
1107
|
return m(St("read from"));
|
1108
1108
|
let f, d;
|
1109
|
-
const
|
1109
|
+
const p = P((g, C) => {
|
1110
1110
|
f = g, d = C;
|
1111
1111
|
});
|
1112
1112
|
return Fn(this, t, s, {
|
1113
1113
|
_chunkSteps: (g) => f({ value: g, done: !1 }),
|
1114
1114
|
_closeSteps: (g) => f({ value: g, done: !0 }),
|
1115
1115
|
_errorSteps: (g) => d(g)
|
1116
|
-
}),
|
1116
|
+
}), p;
|
1117
1117
|
}
|
1118
1118
|
/**
|
1119
1119
|
* Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active.
|
@@ -1164,7 +1164,7 @@ function zi() {
|
|
1164
1164
|
const { highWaterMark: r } = e;
|
1165
1165
|
if (r === void 0)
|
1166
1166
|
return t;
|
1167
|
-
if (
|
1167
|
+
if (pn(r) || r < 0)
|
1168
1168
|
throw new RangeError("Invalid highWaterMark");
|
1169
1169
|
return r;
|
1170
1170
|
}
|
@@ -1210,7 +1210,7 @@ function zi() {
|
|
1210
1210
|
if (!$e(e))
|
1211
1211
|
throw new TypeError(`${t} is not a WritableStream.`);
|
1212
1212
|
}
|
1213
|
-
function
|
1213
|
+
function pa(e) {
|
1214
1214
|
if (typeof e != "object" || e === null)
|
1215
1215
|
return !1;
|
1216
1216
|
try {
|
@@ -1219,9 +1219,9 @@ function zi() {
|
|
1219
1219
|
return !1;
|
1220
1220
|
}
|
1221
1221
|
}
|
1222
|
-
const
|
1222
|
+
const ba = typeof AbortController == "function";
|
1223
1223
|
function ya() {
|
1224
|
-
if (
|
1224
|
+
if (ba)
|
1225
1225
|
return new AbortController();
|
1226
1226
|
}
|
1227
1227
|
class Ce {
|
@@ -1230,8 +1230,8 @@ function zi() {
|
|
1230
1230
|
const o = kt(r, "Second parameter"), s = fa(t, "First parameter");
|
1231
1231
|
if (Dn(this), s.type !== void 0)
|
1232
1232
|
throw new RangeError("Invalid type is specified");
|
1233
|
-
const d = Wt(o),
|
1234
|
-
ka(this, s,
|
1233
|
+
const d = Wt(o), p = at(o, 1);
|
1234
|
+
ka(this, s, p, d);
|
1235
1235
|
}
|
1236
1236
|
/**
|
1237
1237
|
* Returns whether or not the writable stream is locked to a writer.
|
@@ -1293,8 +1293,8 @@ function zi() {
|
|
1293
1293
|
function ga(e, t, r, o, s = 1, f = () => 1) {
|
1294
1294
|
const d = Object.create(Ce.prototype);
|
1295
1295
|
Dn(d);
|
1296
|
-
const
|
1297
|
-
return Qn(d,
|
1296
|
+
const p = Object.create(Ue.prototype);
|
1297
|
+
return Qn(d, p, e, t, r, o, s, f), d;
|
1298
1298
|
}
|
1299
1299
|
function Dn(e) {
|
1300
1300
|
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 = !1;
|
@@ -1317,11 +1317,11 @@ function zi() {
|
|
1317
1317
|
return e._pendingAbortRequest._promise;
|
1318
1318
|
let s = !1;
|
1319
1319
|
o === "erroring" && (s = !0, t = void 0);
|
1320
|
-
const f = P((d,
|
1320
|
+
const f = P((d, p) => {
|
1321
1321
|
e._pendingAbortRequest = {
|
1322
1322
|
_promise: void 0,
|
1323
1323
|
_resolve: d,
|
1324
|
-
_reject:
|
1324
|
+
_reject: p,
|
1325
1325
|
_reason: t,
|
1326
1326
|
_wasAlreadyErroring: s
|
1327
1327
|
};
|
@@ -1614,8 +1614,8 @@ function zi() {
|
|
1614
1614
|
function zr(e) {
|
1615
1615
|
return !l(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledWritableStream") ? !1 : e instanceof Ue;
|
1616
1616
|
}
|
1617
|
-
function Qn(e, t, r, o, s, f, d,
|
1618
|
-
t._controlledWritableStream = e, e._writableStreamController = t, t._queue = void 0, t._queueTotalSize = void 0, we(t), t._abortReason = void 0, t._abortController = ya(), t._started = !1, t._strategySizeAlgorithm =
|
1617
|
+
function Qn(e, t, r, o, s, f, d, p) {
|
1618
|
+
t._controlledWritableStream = e, e._writableStreamController = t, t._queue = void 0, t._queueTotalSize = void 0, we(t), t._abortReason = void 0, t._abortController = ya(), t._started = !1, t._strategySizeAlgorithm = p, t._strategyHWM = d, t._writeAlgorithm = o, t._closeAlgorithm = s, t._abortAlgorithm = f;
|
1619
1619
|
const S = Fr(t);
|
1620
1620
|
Or(e, S);
|
1621
1621
|
const g = r(), C = w(g);
|
@@ -1623,9 +1623,9 @@ function zi() {
|
|
1623
1623
|
}
|
1624
1624
|
function ka(e, t, r, o) {
|
1625
1625
|
const s = Object.create(Ue.prototype);
|
1626
|
-
let f, d,
|
1626
|
+
let f, d, p, S;
|
1627
1627
|
t.start !== void 0 ? f = () => t.start(s) : f = () => {
|
1628
|
-
}, t.write !== void 0 ? d = (g) => t.write(g, s) : d = () => w(void 0), t.close !== void 0 ?
|
1628
|
+
}, t.write !== void 0 ? d = (g) => t.write(g, s) : d = () => w(void 0), t.close !== void 0 ? p = () => t.close() : p = () => w(void 0), t.abort !== void 0 ? S = (g) => t.abort(g) : S = () => w(void 0), Qn(e, s, f, d, p, S, r, o);
|
1629
1629
|
}
|
1630
1630
|
function zt(e) {
|
1631
1631
|
e._writeAlgorithm = void 0, e._closeAlgorithm = void 0, e._abortAlgorithm = void 0, e._strategySizeAlgorithm = void 0;
|
@@ -1785,7 +1785,7 @@ function zi() {
|
|
1785
1785
|
}
|
1786
1786
|
const Ha = xa() || Na();
|
1787
1787
|
function Xn(e, t, r, o, s, f) {
|
1788
|
-
const d = Le(e),
|
1788
|
+
const d = Le(e), p = Ln(t);
|
1789
1789
|
e._disturbed = !0;
|
1790
1790
|
let S = !1, g = w(void 0);
|
1791
1791
|
return P((C, v) => {
|
@@ -1809,17 +1809,17 @@ function zi() {
|
|
1809
1809
|
});
|
1810
1810
|
}
|
1811
1811
|
function Qe() {
|
1812
|
-
return S ? w(!0) : W(
|
1812
|
+
return S ? w(!0) : W(p._readyPromise, () => P((_, E) => {
|
1813
1813
|
tt(d, {
|
1814
1814
|
_chunkSteps: (q) => {
|
1815
|
-
g = W(Nn(
|
1815
|
+
g = W(Nn(p, q), void 0, u), _(!1);
|
1816
1816
|
},
|
1817
1817
|
_closeSteps: () => _(!0),
|
1818
1818
|
_errorSteps: E
|
1819
1819
|
});
|
1820
1820
|
}));
|
1821
1821
|
}
|
1822
|
-
if (me(e, d._closedPromise, (_) => (o ? J(!0, _) : N(() => qt(t, _), !0, _), null)), me(t,
|
1822
|
+
if (me(e, d._closedPromise, (_) => (o ? J(!0, _) : N(() => qt(t, _), !0, _), null)), me(t, p._closedPromise, (_) => (s ? J(!0, _) : N(() => X(e, _), !0, _), null)), U(e, d._closedPromise, () => (r ? J() : N(() => Aa(p)), null)), oe(t) || t._state === "closed") {
|
1823
1823
|
const _ = new TypeError("the destination writable stream closed before all data could be piped to it");
|
1824
1824
|
s ? J(!0, _) : N(() => X(e, _), !0, _);
|
1825
1825
|
}
|
@@ -1839,14 +1839,14 @@ function zi() {
|
|
1839
1839
|
return;
|
1840
1840
|
S = !0, t._state === "writable" && !oe(t) ? j(Ee(), Q) : Q();
|
1841
1841
|
function Q() {
|
1842
|
-
return y(_(), () =>
|
1842
|
+
return y(_(), () => pe(E, q), (Ve) => pe(!0, Ve)), null;
|
1843
1843
|
}
|
1844
1844
|
}
|
1845
1845
|
function J(_, E) {
|
1846
|
-
S || (S = !0, t._state === "writable" && !oe(t) ? j(Ee(), () =>
|
1846
|
+
S || (S = !0, t._state === "writable" && !oe(t) ? j(Ee(), () => pe(_, E)) : pe(_, E));
|
1847
1847
|
}
|
1848
|
-
function
|
1849
|
-
return xn(
|
1848
|
+
function pe(_, E) {
|
1849
|
+
return xn(p), le(d), f !== void 0 && f.removeEventListener("abort", k), _ ? v(E) : C(void 0), null;
|
1850
1850
|
}
|
1851
1851
|
});
|
1852
1852
|
}
|
@@ -1949,7 +1949,7 @@ function zi() {
|
|
1949
1949
|
return;
|
1950
1950
|
const r = e._controlledReadableStream;
|
1951
1951
|
if (Pe(r) && wt(r) > 0)
|
1952
|
-
|
1952
|
+
br(r, t, !1);
|
1953
1953
|
else {
|
1954
1954
|
let o;
|
1955
1955
|
try {
|
@@ -1982,14 +1982,14 @@ function zi() {
|
|
1982
1982
|
}
|
1983
1983
|
function to(e, t, r, o, s, f, d) {
|
1984
1984
|
t._controlledReadableStream = e, t._queue = void 0, t._queueTotalSize = void 0, we(t), t._started = !1, t._closeRequested = !1, t._pullAgain = !1, t._pulling = !1, t._strategySizeAlgorithm = d, t._strategyHWM = f, t._pullAlgorithm = o, t._cancelAlgorithm = s, e._readableStreamController = t;
|
1985
|
-
const
|
1986
|
-
y(w(
|
1985
|
+
const p = r();
|
1986
|
+
y(w(p), () => (t._started = !0, lt(t), null), (S) => (K(t, S), null));
|
1987
1987
|
}
|
1988
1988
|
function Va(e, t, r, o) {
|
1989
1989
|
const s = Object.create(he.prototype);
|
1990
|
-
let f, d,
|
1990
|
+
let f, d, p;
|
1991
1991
|
t.start !== void 0 ? f = () => t.start(s) : f = () => {
|
1992
|
-
}, t.pull !== void 0 ? d = () => t.pull(s) : d = () => w(void 0), t.cancel !== void 0 ?
|
1992
|
+
}, t.pull !== void 0 ? d = () => t.pull(s) : d = () => w(void 0), t.cancel !== void 0 ? p = (S) => t.cancel(S) : p = () => w(void 0), to(e, s, f, d, p, r, o);
|
1993
1993
|
}
|
1994
1994
|
function Mt(e) {
|
1995
1995
|
return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`);
|
@@ -1999,7 +1999,7 @@ function zi() {
|
|
1999
1999
|
}
|
2000
2000
|
function Ga(e, t) {
|
2001
2001
|
const r = Le(e);
|
2002
|
-
let o = !1, s = !1, f = !1, d = !1,
|
2002
|
+
let o = !1, s = !1, f = !1, d = !1, p, S, g, C, v;
|
2003
2003
|
const k = P((U) => {
|
2004
2004
|
v = U;
|
2005
2005
|
});
|
@@ -2008,8 +2008,8 @@ function zi() {
|
|
2008
2008
|
_chunkSteps: (N) => {
|
2009
2009
|
re(() => {
|
2010
2010
|
s = !1;
|
2011
|
-
const J = N,
|
2012
|
-
f || xe(g._readableStreamController, J), d || xe(C._readableStreamController,
|
2011
|
+
const J = N, pe = N;
|
2012
|
+
f || xe(g._readableStreamController, J), d || xe(C._readableStreamController, pe), o = !1, s && ee();
|
2013
2013
|
});
|
2014
2014
|
},
|
2015
2015
|
_closeSteps: () => {
|
@@ -2021,15 +2021,15 @@ function zi() {
|
|
2021
2021
|
}), w(void 0));
|
2022
2022
|
}
|
2023
2023
|
function Qe(U) {
|
2024
|
-
if (f = !0,
|
2025
|
-
const N = rt([
|
2024
|
+
if (f = !0, p = U, d) {
|
2025
|
+
const N = rt([p, S]), J = X(e, N);
|
2026
2026
|
v(J);
|
2027
2027
|
}
|
2028
2028
|
return k;
|
2029
2029
|
}
|
2030
2030
|
function Ee(U) {
|
2031
2031
|
if (d = !0, S = U, f) {
|
2032
|
-
const N = rt([
|
2032
|
+
const N = rt([p, S]), J = X(e, N);
|
2033
2033
|
v(J);
|
2034
2034
|
}
|
2035
2035
|
return k;
|
@@ -2039,7 +2039,7 @@ function zi() {
|
|
2039
2039
|
return g = ut(me, ee, Qe), C = ut(me, ee, Ee), R(r._closedPromise, (U) => (K(g._readableStreamController, U), K(C._readableStreamController, U), (!f || !d) && v(void 0), null)), [g, C];
|
2040
2040
|
}
|
2041
2041
|
function Ja(e) {
|
2042
|
-
let t = Le(e), r = !1, o = !1, s = !1, f = !1, d = !1,
|
2042
|
+
let t = Le(e), r = !1, o = !1, s = !1, f = !1, d = !1, p, S, g, C, v;
|
2043
2043
|
const k = P((_) => {
|
2044
2044
|
v = _;
|
2045
2045
|
});
|
@@ -2119,22 +2119,22 @@ function zi() {
|
|
2119
2119
|
return _ === null ? Qe() : Ee(_._view, !0), w(void 0);
|
2120
2120
|
}
|
2121
2121
|
function N(_) {
|
2122
|
-
if (f = !0,
|
2123
|
-
const E = rt([
|
2122
|
+
if (f = !0, p = _, d) {
|
2123
|
+
const E = rt([p, S]), q = X(e, E);
|
2124
2124
|
v(q);
|
2125
2125
|
}
|
2126
2126
|
return k;
|
2127
2127
|
}
|
2128
2128
|
function J(_) {
|
2129
2129
|
if (d = !0, S = _, f) {
|
2130
|
-
const E = rt([
|
2130
|
+
const E = rt([p, S]), q = X(e, E);
|
2131
2131
|
v(q);
|
2132
2132
|
}
|
2133
2133
|
return k;
|
2134
2134
|
}
|
2135
|
-
function
|
2135
|
+
function pe() {
|
2136
2136
|
}
|
2137
|
-
return g = no(
|
2137
|
+
return g = no(pe, me, N), C = no(pe, U, J), ee(t), [g, C];
|
2138
2138
|
}
|
2139
2139
|
function Za(e) {
|
2140
2140
|
return l(e) && typeof e.getReader < "u";
|
@@ -2152,8 +2152,8 @@ function zi() {
|
|
2152
2152
|
} catch (S) {
|
2153
2153
|
return m(S);
|
2154
2154
|
}
|
2155
|
-
const
|
2156
|
-
return A(
|
2155
|
+
const p = w(d);
|
2156
|
+
return A(p, (S) => {
|
2157
2157
|
if (!l(S))
|
2158
2158
|
throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");
|
2159
2159
|
if (Ho(S))
|
@@ -2165,10 +2165,10 @@ function zi() {
|
|
2165
2165
|
});
|
2166
2166
|
}
|
2167
2167
|
function f(d) {
|
2168
|
-
const
|
2168
|
+
const p = r.iterator;
|
2169
2169
|
let S;
|
2170
2170
|
try {
|
2171
|
-
S = Ct(
|
2171
|
+
S = Ct(p, "return");
|
2172
2172
|
} catch (v) {
|
2173
2173
|
return m(v);
|
2174
2174
|
}
|
@@ -2176,7 +2176,7 @@ function zi() {
|
|
2176
2176
|
return w(void 0);
|
2177
2177
|
let g;
|
2178
2178
|
try {
|
2179
|
-
g = O(S,
|
2179
|
+
g = O(S, p, [d]);
|
2180
2180
|
} catch (v) {
|
2181
2181
|
return m(v);
|
2182
2182
|
}
|
@@ -2204,8 +2204,8 @@ function zi() {
|
|
2204
2204
|
if (d.done)
|
2205
2205
|
Fe(t._readableStreamController);
|
2206
2206
|
else {
|
2207
|
-
const
|
2208
|
-
xe(t._readableStreamController,
|
2207
|
+
const p = d.value;
|
2208
|
+
xe(t._readableStreamController, p);
|
2209
2209
|
}
|
2210
2210
|
});
|
2211
2211
|
}
|
@@ -2220,13 +2220,13 @@ function zi() {
|
|
2220
2220
|
}
|
2221
2221
|
function ti(e, t) {
|
2222
2222
|
ne(e, t);
|
2223
|
-
const r = e, o = r == null ? void 0 : r.autoAllocateChunkSize, s = r == null ? void 0 : r.cancel, f = r == null ? void 0 : r.pull, d = r == null ? void 0 : r.start,
|
2223
|
+
const r = e, o = r == null ? void 0 : r.autoAllocateChunkSize, s = r == null ? void 0 : r.cancel, f = r == null ? void 0 : r.pull, d = r == null ? void 0 : r.start, p = r == null ? void 0 : r.type;
|
2224
2224
|
return {
|
2225
2225
|
autoAllocateChunkSize: o === void 0 ? void 0 : mr(o, `${t} has member 'autoAllocateChunkSize' that`),
|
2226
2226
|
cancel: s === void 0 ? void 0 : ri(s, r, `${t} has member 'cancel' that`),
|
2227
2227
|
pull: f === void 0 ? void 0 : ni(f, r, `${t} has member 'pull' that`),
|
2228
2228
|
start: d === void 0 ? void 0 : oi(d, r, `${t} has member 'start' that`),
|
2229
|
-
type:
|
2229
|
+
type: p === void 0 ? void 0 : ai(p, `${t} has member 'type' that`)
|
2230
2230
|
};
|
2231
2231
|
}
|
2232
2232
|
function ri(e, t, r) {
|
@@ -2257,13 +2257,13 @@ function zi() {
|
|
2257
2257
|
};
|
2258
2258
|
}
|
2259
2259
|
function si(e, t) {
|
2260
|
-
if (!
|
2260
|
+
if (!pa(e))
|
2261
2261
|
throw new TypeError(`${t} is not an AbortSignal.`);
|
2262
2262
|
}
|
2263
2263
|
function li(e, t) {
|
2264
2264
|
ne(e, t);
|
2265
2265
|
const r = e == null ? void 0 : e.readable;
|
2266
|
-
cr(r, "readable", "ReadableWritablePair"),
|
2266
|
+
cr(r, "readable", "ReadableWritablePair"), pr(r, `${t} has member 'readable' that`);
|
2267
2267
|
const o = e == null ? void 0 : e.writable;
|
2268
2268
|
return cr(o, "writable", "ReadableWritablePair"), jn(o, `${t} has member 'writable' that`), { readable: r, writable: o };
|
2269
2269
|
}
|
@@ -2521,14 +2521,14 @@ function zi() {
|
|
2521
2521
|
}
|
2522
2522
|
function ui(e, t) {
|
2523
2523
|
ne(e, t);
|
2524
|
-
const r = e == null ? void 0 : e.cancel, o = e == null ? void 0 : e.flush, s = e == null ? void 0 : e.readableType, f = e == null ? void 0 : e.start, d = e == null ? void 0 : e.transform,
|
2524
|
+
const r = e == null ? void 0 : e.cancel, o = e == null ? void 0 : e.flush, s = e == null ? void 0 : e.readableType, f = e == null ? void 0 : e.start, d = e == null ? void 0 : e.transform, p = e == null ? void 0 : e.writableType;
|
2525
2525
|
return {
|
2526
2526
|
cancel: r === void 0 ? void 0 : hi(r, e, `${t} has member 'cancel' that`),
|
2527
2527
|
flush: o === void 0 ? void 0 : fi(o, e, `${t} has member 'flush' that`),
|
2528
2528
|
readableType: s,
|
2529
2529
|
start: f === void 0 ? void 0 : di(f, e, `${t} has member 'start' that`),
|
2530
2530
|
transform: d === void 0 ? void 0 : ci(d, e, `${t} has member 'transform' that`),
|
2531
|
-
writableType:
|
2531
|
+
writableType: p
|
2532
2532
|
};
|
2533
2533
|
}
|
2534
2534
|
function fi(e, t, r) {
|
@@ -2551,12 +2551,12 @@ function zi() {
|
|
2551
2551
|
throw new RangeError("Invalid readableType specified");
|
2552
2552
|
if (d.writableType !== void 0)
|
2553
2553
|
throw new RangeError("Invalid writableType specified");
|
2554
|
-
const
|
2554
|
+
const p = at(f, 0), S = Wt(f), g = at(s, 1), C = Wt(s);
|
2555
2555
|
let v;
|
2556
2556
|
const k = P((ee) => {
|
2557
2557
|
v = ee;
|
2558
2558
|
});
|
2559
|
-
mi(this, k, g, C,
|
2559
|
+
mi(this, k, g, C, p, S), bi(this, d), d.start !== void 0 ? v(d.start(this._transformStreamController)) : v(void 0);
|
2560
2560
|
}
|
2561
2561
|
/**
|
2562
2562
|
* The readable side of the transform stream.
|
@@ -2586,7 +2586,7 @@ function zi() {
|
|
2586
2586
|
function d() {
|
2587
2587
|
return t;
|
2588
2588
|
}
|
2589
|
-
function
|
2589
|
+
function p(k) {
|
2590
2590
|
return _i(e, k);
|
2591
2591
|
}
|
2592
2592
|
function S(k) {
|
@@ -2595,7 +2595,7 @@ function zi() {
|
|
2595
2595
|
function g() {
|
2596
2596
|
return wi(e);
|
2597
2597
|
}
|
2598
|
-
e._writable = ga(d,
|
2598
|
+
e._writable = ga(d, p, g, S, r, o);
|
2599
2599
|
function C() {
|
2600
2600
|
return Ri(e);
|
2601
2601
|
}
|
@@ -2637,7 +2637,7 @@ function zi() {
|
|
2637
2637
|
enqueue(t = void 0) {
|
2638
2638
|
if (!Qt(this))
|
2639
2639
|
throw Yt("enqueue");
|
2640
|
-
|
2640
|
+
po(this, t);
|
2641
2641
|
}
|
2642
2642
|
/**
|
2643
2643
|
* Errors both the readable side and the writable side of the controlled transform stream, making all future
|
@@ -2670,24 +2670,24 @@ function zi() {
|
|
2670
2670
|
function Qt(e) {
|
2671
2671
|
return !l(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledTransformStream") ? !1 : e instanceof ve;
|
2672
2672
|
}
|
2673
|
-
function
|
2673
|
+
function pi(e, t, r, o, s) {
|
2674
2674
|
t._controlledTransformStream = e, e._transformStreamController = t, t._transformAlgorithm = r, t._flushAlgorithm = o, t._cancelAlgorithm = s, t._finishPromise = void 0, t._finishPromise_resolve = void 0, t._finishPromise_reject = void 0;
|
2675
2675
|
}
|
2676
|
-
function
|
2676
|
+
function bi(e, t) {
|
2677
2677
|
const r = Object.create(ve.prototype);
|
2678
2678
|
let o, s, f;
|
2679
2679
|
t.transform !== void 0 ? o = (d) => t.transform(d, r) : o = (d) => {
|
2680
2680
|
try {
|
2681
|
-
return
|
2682
|
-
} catch (
|
2683
|
-
return m(
|
2681
|
+
return po(r, d), w(void 0);
|
2682
|
+
} catch (p) {
|
2683
|
+
return m(p);
|
2684
2684
|
}
|
2685
|
-
}, t.flush !== void 0 ? s = () => t.flush(r) : s = () => w(void 0), t.cancel !== void 0 ? f = (d) => t.cancel(d) : f = () => w(void 0),
|
2685
|
+
}, t.flush !== void 0 ? s = () => t.flush(r) : s = () => w(void 0), t.cancel !== void 0 ? f = (d) => t.cancel(d) : f = () => w(void 0), pi(e, r, o, s, f);
|
2686
2686
|
}
|
2687
2687
|
function Vt(e) {
|
2688
2688
|
e._transformAlgorithm = void 0, e._flushAlgorithm = void 0, e._cancelAlgorithm = void 0;
|
2689
2689
|
}
|
2690
|
-
function
|
2690
|
+
function po(e, t) {
|
2691
2691
|
const r = e._controlledTransformStream, o = r._readable._readableStreamController;
|
2692
2692
|
if (!Ne(o))
|
2693
2693
|
throw new TypeError("Readable side is not in a state that permits enqueue");
|
@@ -2701,7 +2701,7 @@ function zi() {
|
|
2701
2701
|
function yi(e, t) {
|
2702
2702
|
mo(e._controlledTransformStream, t);
|
2703
2703
|
}
|
2704
|
-
function
|
2704
|
+
function bo(e, t) {
|
2705
2705
|
const r = e._transformAlgorithm(t);
|
2706
2706
|
return A(r, void 0, (o) => {
|
2707
2707
|
throw mo(e._controlledTransformStream, o), o;
|
@@ -2721,10 +2721,10 @@ function zi() {
|
|
2721
2721
|
const s = e._writable;
|
2722
2722
|
if (s._state === "erroring")
|
2723
2723
|
throw s._storedError;
|
2724
|
-
return
|
2724
|
+
return bo(r, t);
|
2725
2725
|
});
|
2726
2726
|
}
|
2727
|
-
return
|
2727
|
+
return bo(r, t);
|
2728
2728
|
}
|
2729
2729
|
function Si(e, t) {
|
2730
2730
|
const r = e._transformStreamController;
|
@@ -2836,7 +2836,7 @@ async function* Yr(i, n = !0) {
|
|
2836
2836
|
}
|
2837
2837
|
}
|
2838
2838
|
}
|
2839
|
-
var
|
2839
|
+
var be, bt, Xe, nr, et;
|
2840
2840
|
const Ao = (et = class {
|
2841
2841
|
/**
|
2842
2842
|
* The Blob() constructor returns a new Blob object. The content
|
@@ -2848,8 +2848,8 @@ const Ao = (et = class {
|
|
2848
2848
|
*/
|
2849
2849
|
constructor(n = [], a = {}) {
|
2850
2850
|
/** @type {Array.<(Blob|Uint8Array)>} */
|
2851
|
-
Ae(this,
|
2852
|
-
Ae(this,
|
2851
|
+
Ae(this, be, []);
|
2852
|
+
Ae(this, bt, "");
|
2853
2853
|
Ae(this, Xe, 0);
|
2854
2854
|
Ae(this, nr, "transparent");
|
2855
2855
|
if (typeof n != "object" || n === null)
|
@@ -2862,11 +2862,11 @@ const Ao = (et = class {
|
|
2862
2862
|
const u = new TextEncoder();
|
2863
2863
|
for (const h of n) {
|
2864
2864
|
let c;
|
2865
|
-
ArrayBuffer.isView(h) ? c = new Uint8Array(h.buffer.slice(h.byteOffset, h.byteOffset + h.byteLength)) : h instanceof ArrayBuffer ? c = new Uint8Array(h.slice(0)) : h instanceof et ? c = h : c = u.encode(`${h}`), ae(this, Xe, F(this, Xe) + (ArrayBuffer.isView(c) ? c.byteLength : c.size)), F(this,
|
2865
|
+
ArrayBuffer.isView(h) ? c = new Uint8Array(h.buffer.slice(h.byteOffset, h.byteOffset + h.byteLength)) : h instanceof ArrayBuffer ? c = new Uint8Array(h.slice(0)) : h instanceof et ? c = h : c = u.encode(`${h}`), ae(this, Xe, F(this, Xe) + (ArrayBuffer.isView(c) ? c.byteLength : c.size)), F(this, be).push(c);
|
2866
2866
|
}
|
2867
2867
|
ae(this, nr, `${a.endings === void 0 ? "transparent" : a.endings}`);
|
2868
2868
|
const l = a.type === void 0 ? "" : String(a.type);
|
2869
|
-
ae(this,
|
2869
|
+
ae(this, bt, /^[\x20-\x7E]*$/.test(l) ? l : "");
|
2870
2870
|
}
|
2871
2871
|
/**
|
2872
2872
|
* The Blob interface's size property returns the
|
@@ -2879,7 +2879,7 @@ const Ao = (et = class {
|
|
2879
2879
|
* The type property of a Blob object returns the MIME type of the file.
|
2880
2880
|
*/
|
2881
2881
|
get type() {
|
2882
|
-
return F(this,
|
2882
|
+
return F(this, bt);
|
2883
2883
|
}
|
2884
2884
|
/**
|
2885
2885
|
* The text() method in the Blob interface returns a Promise
|
@@ -2891,7 +2891,7 @@ const Ao = (et = class {
|
|
2891
2891
|
async text() {
|
2892
2892
|
const n = new TextDecoder();
|
2893
2893
|
let a = "";
|
2894
|
-
for await (const u of Yr(F(this,
|
2894
|
+
for await (const u of Yr(F(this, be), !1))
|
2895
2895
|
a += n.decode(u, { stream: !0 });
|
2896
2896
|
return a += n.decode(), a;
|
2897
2897
|
}
|
@@ -2905,12 +2905,12 @@ const Ao = (et = class {
|
|
2905
2905
|
async arrayBuffer() {
|
2906
2906
|
const n = new Uint8Array(this.size);
|
2907
2907
|
let a = 0;
|
2908
|
-
for await (const u of Yr(F(this,
|
2908
|
+
for await (const u of Yr(F(this, be), !1))
|
2909
2909
|
n.set(u, a), a += u.length;
|
2910
2910
|
return n.buffer;
|
2911
2911
|
}
|
2912
2912
|
stream() {
|
2913
|
-
const n = Yr(F(this,
|
2913
|
+
const n = Yr(F(this, be), !0);
|
2914
2914
|
return new globalThis.ReadableStream({
|
2915
2915
|
// @ts-ignore
|
2916
2916
|
type: "bytes",
|
@@ -2935,7 +2935,7 @@ const Ao = (et = class {
|
|
2935
2935
|
slice(n = 0, a = this.size, u = "") {
|
2936
2936
|
const { size: l } = this;
|
2937
2937
|
let h = n < 0 ? Math.max(l + n, 0) : Math.min(n, l), c = a < 0 ? Math.max(l + a, 0) : Math.min(a, l);
|
2938
|
-
const T = Math.max(c - h, 0), B = F(this,
|
2938
|
+
const T = Math.max(c - h, 0), B = F(this, be), b = [];
|
2939
2939
|
let P = 0;
|
2940
2940
|
for (const m of B) {
|
2941
2941
|
if (P >= T)
|
@@ -2945,11 +2945,11 @@ const Ao = (et = class {
|
|
2945
2945
|
h -= W, c -= W;
|
2946
2946
|
else {
|
2947
2947
|
let y;
|
2948
|
-
ArrayBuffer.isView(m) ? (y = m.subarray(h, Math.min(W, c)), P += y.byteLength) : (y = m.slice(h, Math.min(W, c)), P += y.size), c -= W,
|
2948
|
+
ArrayBuffer.isView(m) ? (y = m.subarray(h, Math.min(W, c)), P += y.byteLength) : (y = m.slice(h, Math.min(W, c)), P += y.size), c -= W, b.push(y), h = 0;
|
2949
2949
|
}
|
2950
2950
|
}
|
2951
2951
|
const w = new et([], { type: String(u).toLowerCase() });
|
2952
|
-
return ae(w, Xe, T), ae(w,
|
2952
|
+
return ae(w, Xe, T), ae(w, be, b), w;
|
2953
2953
|
}
|
2954
2954
|
get [Symbol.toStringTag]() {
|
2955
2955
|
return "Blob";
|
@@ -2957,7 +2957,7 @@ const Ao = (et = class {
|
|
2957
2957
|
static [Symbol.hasInstance](n) {
|
2958
2958
|
return n && typeof n == "object" && typeof n.constructor == "function" && (typeof n.stream == "function" || typeof n.arrayBuffer == "function") && /^(Blob|File)$/.test(n[Symbol.toStringTag]);
|
2959
2959
|
}
|
2960
|
-
},
|
2960
|
+
}, be = new WeakMap(), bt = new WeakMap(), Xe = new WeakMap(), nr = new WeakMap(), et);
|
2961
2961
|
Object.defineProperties(Ao.prototype, {
|
2962
2962
|
size: { enumerable: !0 },
|
2963
2963
|
type: { enumerable: !0 },
|
@@ -3141,7 +3141,7 @@ class mt {
|
|
3141
3141
|
u.append(h, c);
|
3142
3142
|
return u;
|
3143
3143
|
}
|
3144
|
-
const { toFormData: a } = await import("./multipart-parser-
|
3144
|
+
const { toFormData: a } = await import("./multipart-parser-fafbe00f.js");
|
3145
3145
|
return a(this.body, n);
|
3146
3146
|
}
|
3147
3147
|
/**
|
@@ -3561,7 +3561,7 @@ const I = Symbol("Request internals"), dt = (i) => typeof i == "object" && typeo
|
|
3561
3561
|
".data is not a valid RequestInit property, use .body instead",
|
3562
3562
|
"https://github.com/node-fetch/node-fetch/issues/1000 (request)"
|
3563
3563
|
);
|
3564
|
-
class
|
3564
|
+
class pt extends mt {
|
3565
3565
|
constructor(n, a = {}) {
|
3566
3566
|
let u;
|
3567
3567
|
if (dt(n) ? u = new URL(n.url) : (u = new URL(n), n = {}), u.username !== "" || u.password !== "")
|
@@ -3575,8 +3575,8 @@ class bt extends mt {
|
|
3575
3575
|
});
|
3576
3576
|
const c = new ye(a.headers || n.headers || {});
|
3577
3577
|
if (h !== null && !c.has("Content-Type")) {
|
3578
|
-
const
|
3579
|
-
|
3578
|
+
const b = Wo(h, this);
|
3579
|
+
b && c.set("Content-Type", b);
|
3580
3580
|
}
|
3581
3581
|
let T = dt(n) ? n.signal : null;
|
3582
3582
|
if ("signal" in a && (T = a.signal), T != null && !xi(T))
|
@@ -3585,8 +3585,8 @@ class bt extends mt {
|
|
3585
3585
|
if (B === "")
|
3586
3586
|
B = "no-referrer";
|
3587
3587
|
else if (B) {
|
3588
|
-
const
|
3589
|
-
B = /^about:(\/\/)?client$/.test(
|
3588
|
+
const b = new URL(B);
|
3589
|
+
B = /^about:(\/\/)?client$/.test(b) ? "client" : b;
|
3590
3590
|
} else
|
3591
3591
|
B = void 0;
|
3592
3592
|
this[I] = {
|
@@ -3638,13 +3638,13 @@ class bt extends mt {
|
|
3638
3638
|
* @return Request
|
3639
3639
|
*/
|
3640
3640
|
clone() {
|
3641
|
-
return new
|
3641
|
+
return new pt(this);
|
3642
3642
|
}
|
3643
3643
|
get [Symbol.toStringTag]() {
|
3644
3644
|
return "Request";
|
3645
3645
|
}
|
3646
3646
|
}
|
3647
|
-
Object.defineProperties(
|
3647
|
+
Object.defineProperties(pt.prototype, {
|
3648
3648
|
method: { enumerable: !0 },
|
3649
3649
|
url: { enumerable: !0 },
|
3650
3650
|
headers: { enumerable: !0 },
|
@@ -3696,7 +3696,7 @@ if (!globalThis.DOMException)
|
|
3696
3696
|
const ss = /* @__PURE__ */ new Set(["data:", "http:", "https:"]);
|
3697
3697
|
async function Oo(i, n) {
|
3698
3698
|
return new Promise((a, u) => {
|
3699
|
-
const l = new
|
3699
|
+
const l = new pt(i, n), { parsedURL: h, options: c } = as(l);
|
3700
3700
|
if (!ss.has(h.protocol))
|
3701
3701
|
throw new TypeError(`node-fetch cannot load ${i}. URL scheme "${h.protocol.replace(/:$/, "")}" is not supported.`);
|
3702
3702
|
if (h.protocol === "data:") {
|
@@ -3705,10 +3705,10 @@ async function Oo(i, n) {
|
|
3705
3705
|
return;
|
3706
3706
|
}
|
3707
3707
|
const T = (h.protocol === "https:" ? Pi : ht).request, { signal: B } = l;
|
3708
|
-
let
|
3708
|
+
let b = null;
|
3709
3709
|
const P = () => {
|
3710
3710
|
const y = new is("The operation was aborted.");
|
3711
|
-
u(y), l.body && l.body instanceof se.Readable && l.body.destroy(y), !(!
|
3711
|
+
u(y), l.body && l.body instanceof se.Readable && l.body.destroy(y), !(!b || !b.body) && b.body.emit("error", y);
|
3712
3712
|
};
|
3713
3713
|
if (B && B.aborted) {
|
3714
3714
|
P();
|
@@ -3724,15 +3724,15 @@ async function Oo(i, n) {
|
|
3724
3724
|
m.on("error", (y) => {
|
3725
3725
|
u(new ie(`request to ${l.url} failed, reason: ${y.message}`, "system", y)), W();
|
3726
3726
|
}), ls(m, (y) => {
|
3727
|
-
|
3727
|
+
b && b.body && b.body.destroy(y);
|
3728
3728
|
}), process.version < "v14" && m.on("socket", (y) => {
|
3729
3729
|
let j;
|
3730
3730
|
y.prependListener("end", () => {
|
3731
3731
|
j = y._eventsCount;
|
3732
3732
|
}), y.prependListener("close", (R) => {
|
3733
|
-
if (
|
3733
|
+
if (b && j < y._eventsCount && !R) {
|
3734
3734
|
const A = new Error("Premature close");
|
3735
|
-
A.code = "ERR_STREAM_PREMATURE_CLOSE",
|
3735
|
+
A.code = "ERR_STREAM_PREMATURE_CLOSE", b.body.emit("error", A);
|
3736
3736
|
}
|
3737
3737
|
});
|
3738
3738
|
}), m.on("response", (y) => {
|
@@ -3784,7 +3784,7 @@ async function Oo(i, n) {
|
|
3784
3784
|
}
|
3785
3785
|
(y.statusCode === 303 || (y.statusCode === 301 || y.statusCode === 302) && l.method === "POST") && ($.method = "GET", $.body = void 0, $.headers.delete("content-length"));
|
3786
3786
|
const M = ns(j);
|
3787
|
-
M && ($.referrerPolicy = M), a(Oo(new
|
3787
|
+
M && ($.referrerPolicy = M), a(Oo(new pt(z, $))), W();
|
3788
3788
|
return;
|
3789
3789
|
}
|
3790
3790
|
default:
|
@@ -3808,7 +3808,7 @@ async function Oo(i, n) {
|
|
3808
3808
|
highWaterMark: l.highWaterMark
|
3809
3809
|
}, x = j.get("Content-Encoding");
|
3810
3810
|
if (!l.compress || l.method === "HEAD" || x === null || y.statusCode === 204 || y.statusCode === 304) {
|
3811
|
-
|
3811
|
+
b = new V(R, A), a(b);
|
3812
3812
|
return;
|
3813
3813
|
}
|
3814
3814
|
const re = {
|
@@ -3818,7 +3818,7 @@ async function Oo(i, n) {
|
|
3818
3818
|
if (x === "gzip" || x === "x-gzip") {
|
3819
3819
|
R = Ze(R, Je.createGunzip(re), (O) => {
|
3820
3820
|
O && u(O);
|
3821
|
-
}),
|
3821
|
+
}), b = new V(R, A), a(b);
|
3822
3822
|
return;
|
3823
3823
|
}
|
3824
3824
|
if (x === "deflate" || x === "x-deflate") {
|
@@ -3830,19 +3830,19 @@ async function Oo(i, n) {
|
|
3830
3830
|
$ && u($);
|
3831
3831
|
}) : R = Ze(R, Je.createInflateRaw(), ($) => {
|
3832
3832
|
$ && u($);
|
3833
|
-
}),
|
3833
|
+
}), b = new V(R, A), a(b);
|
3834
3834
|
}), O.once("end", () => {
|
3835
|
-
|
3835
|
+
b || (b = new V(R, A), a(b));
|
3836
3836
|
});
|
3837
3837
|
return;
|
3838
3838
|
}
|
3839
3839
|
if (x === "br") {
|
3840
3840
|
R = Ze(R, Je.createBrotliDecompress(), (O) => {
|
3841
3841
|
O && u(O);
|
3842
|
-
}),
|
3842
|
+
}), b = new V(R, A), a(b);
|
3843
3843
|
return;
|
3844
3844
|
}
|
3845
|
-
|
3845
|
+
b = new V(R, A), a(b);
|
3846
3846
|
}), Gi(m, l).catch(u);
|
3847
3847
|
});
|
3848
3848
|
}
|
@@ -3857,11 +3857,11 @@ function ls(i, n) {
|
|
3857
3857
|
}), i.on("socket", (c) => {
|
3858
3858
|
const T = () => {
|
3859
3859
|
if (u && !l) {
|
3860
|
-
const
|
3861
|
-
|
3860
|
+
const b = new Error("Premature close");
|
3861
|
+
b.code = "ERR_STREAM_PREMATURE_CLOSE", n(b);
|
3862
3862
|
}
|
3863
|
-
}, B = (
|
3864
|
-
l = D.compare(
|
3863
|
+
}, B = (b) => {
|
3864
|
+
l = D.compare(b.slice(-5), a) === 0, !l && h && (l = D.compare(h.slice(-3), a.slice(0, 3)) === 0 && D.compare(b.slice(-2), a.slice(3)) === 0), h = b;
|
3865
3865
|
};
|
3866
3866
|
c.prependListener("close", T), c.on("data", B), i.on("close", () => {
|
3867
3867
|
c.removeListener("close", T), c.removeListener("data", B);
|
@@ -3880,7 +3880,10 @@ const us = "@feedmepos/mf-", Ps = async (i, { command: n, mode: a }, u = {}) =>
|
|
3880
3880
|
});
|
3881
3881
|
const c = {
|
3882
3882
|
"@feedmepos/ui-library": "https://cdn.jsdelivr.net/npm/@feedmepos/ui-library@latest/dist/feedmepos-ui-library.js",
|
3883
|
-
"@feedmepos/core": "https://cdn.jsdelivr.net/npm/@feedmepos/core@latest/
|
3883
|
+
"@feedmepos/core": "https://cdn.jsdelivr.net/npm/@feedmepos/core@latest/es/index.js",
|
3884
|
+
"@feedmepos/core/fn": "https://cdn.jsdelivr.net/npm/@feedmepos/core@latest/es/fn.js",
|
3885
|
+
"@feedmepos/core/entity": "https://cdn.jsdelivr.net/npm/@feedmepos/core@latest/es/entity.js",
|
3886
|
+
"@feedmepos/core/modules": "https://cdn.jsdelivr.net/npm/@feedmepos/core@latest/es/modules.js"
|
3884
3887
|
}, T = {
|
3885
3888
|
"@vue/devtools-api": "6.5.0/lib/esm/index.js",
|
3886
3889
|
vue: "3.5.13/dist/vue.esm-browser.prod.min.js",
|
@@ -3892,12 +3895,12 @@ const us = "@feedmepos/mf-", Ps = async (i, { command: n, mode: a }, u = {}) =>
|
|
3892
3895
|
...Object.keys(h),
|
3893
3896
|
...Object.keys(c)
|
3894
3897
|
];
|
3895
|
-
const
|
3898
|
+
const b = { ...i };
|
3896
3899
|
if (n == "build" && a.startsWith("fmmf") && (B = [
|
3897
3900
|
...Object.keys(h),
|
3898
3901
|
...Object.keys(T),
|
3899
3902
|
...Object.keys(c)
|
3900
|
-
],
|
3903
|
+
], b.build = {
|
3901
3904
|
emptyOutDir: !0,
|
3902
3905
|
lib: {
|
3903
3906
|
entry: {
|
@@ -3905,12 +3908,12 @@ const us = "@feedmepos/mf-", Ps = async (i, { command: n, mode: a }, u = {}) =>
|
|
3905
3908
|
},
|
3906
3909
|
formats: ["es"]
|
3907
3910
|
}
|
3908
|
-
}),
|
3911
|
+
}), b.plugins ?? (b.plugins = []), u.externalize) {
|
3909
3912
|
const R = u.externalize === !0 ? B : u.externalize;
|
3910
|
-
|
3913
|
+
b.plugins.push(qi({ externals: R }));
|
3911
3914
|
}
|
3912
|
-
|
3913
|
-
...
|
3915
|
+
b.build ?? (b.build = {}), (j = b.build).rollupOptions ?? (j.rollupOptions = {}), b.build.rollupOptions.external = B.concat(
|
3916
|
+
...b.build.rollupOptions.external ?? []
|
3914
3917
|
);
|
3915
3918
|
const P = h;
|
3916
3919
|
await Promise.all(
|
@@ -3964,7 +3967,7 @@ const us = "@feedmepos/mf-", Ps = async (i, { command: n, mode: a }, u = {}) =>
|
|
3964
3967
|
}
|
3965
3968
|
}
|
3966
3969
|
};
|
3967
|
-
return
|
3970
|
+
return b.plugins.push(m), b;
|
3968
3971
|
};
|
3969
3972
|
export {
|
3970
3973
|
Zr as F,
|