@harbour-enterprises/superdoc 0.11.55 → 0.11.57
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-kWwSELc2.es.js → index-CVyuWad2.es.js} +2 -2
- package/dist/chunks/{index-BTkgQgI7.es.js → index-CWj8iOm4.es.js} +1 -1
- package/dist/chunks/{index-CbUTRvRk.cjs → index-Dnm6LcB6.cjs} +1 -1
- package/dist/chunks/{index-C6SLw2ph.cjs → index-Dw-Q9hD6.cjs} +1 -1
- package/dist/chunks/{super-editor.es-Ckqy5-TS.es.js → super-editor.es-BuT2FFqD.es.js} +11 -8
- package/dist/chunks/{super-editor.es-CzvPSzaM.cjs → super-editor.es-kMbvFzrR.cjs} +5 -5
- package/dist/chunks/{url-DRGmEUtI.cjs → url-BV2RvrTf.cjs} +1 -1
- package/dist/chunks/{url-C29KYeaj.es.js → url-NtSPOzqh.es.js} +1 -1
- package/dist/chunks/{xml-js-CgHhGhcJ.es.js → xml-js-BvgqUvJ5.es.js} +303 -296
- package/dist/chunks/xml-js-CCvZbbr7.cjs +10 -0
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-B9WjeEIE.js → converter-D3X034CV.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-D7SeztLe.js → docx-zipper-CczfH-Gl.js} +1 -1
- package/dist/super-editor/chunks/{editor-CoWNHEQZ.js → editor-CMO-734F.js} +7 -6
- package/dist/super-editor/chunks/{toolbar-C6iUWKaW.js → toolbar-d1TvqceK.js} +2 -2
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/helpers/annotator.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 +10 -8
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts +3 -0
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts.map +1 -0
- package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts +1 -1
- 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 +12 -9
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-CMQ3QRee.cjs +0 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as Ot, d as Pt, c as Oe } from "./jszip-OpmRHhd4.es.js";
|
|
2
2
|
import { p as L } from "./vue-DKS68Dra.es.js";
|
|
3
|
-
var
|
|
4
|
-
typeof Object.create == "function" ?
|
|
3
|
+
var Qe = { exports: {} };
|
|
4
|
+
typeof Object.create == "function" ? Qe.exports = function(e, t) {
|
|
5
5
|
t && (e.super_ = t, e.prototype = Object.create(t.prototype, {
|
|
6
6
|
constructor: {
|
|
7
7
|
value: e,
|
|
@@ -10,7 +10,7 @@ typeof Object.create == "function" ? Ye.exports = function(e, t) {
|
|
|
10
10
|
configurable: !0
|
|
11
11
|
}
|
|
12
12
|
}));
|
|
13
|
-
} :
|
|
13
|
+
} : Qe.exports = function(e, t) {
|
|
14
14
|
if (t) {
|
|
15
15
|
e.super_ = t;
|
|
16
16
|
var n = function() {
|
|
@@ -18,7 +18,7 @@ typeof Object.create == "function" ? Ye.exports = function(e, t) {
|
|
|
18
18
|
n.prototype = t.prototype, e.prototype = new n(), e.prototype.constructor = e;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
var
|
|
21
|
+
var Et = Qe.exports, ar = { exports: {} }, re = typeof Reflect == "object" ? Reflect : null, dr = re && typeof re.apply == "function" ? re.apply : function(e, t, n) {
|
|
22
22
|
return Function.prototype.apply.call(e, t, n);
|
|
23
23
|
}, ve;
|
|
24
24
|
re && typeof re.ownKeys == "function" ? ve = re.ownKeys : Object.getOwnPropertySymbols ? ve = function(e) {
|
|
@@ -26,22 +26,22 @@ re && typeof re.ownKeys == "function" ? ve = re.ownKeys : Object.getOwnPropertyS
|
|
|
26
26
|
} : ve = function(e) {
|
|
27
27
|
return Object.getOwnPropertyNames(e);
|
|
28
28
|
};
|
|
29
|
-
function
|
|
29
|
+
function jt(r) {
|
|
30
30
|
console && console.warn && console.warn(r);
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var xr = Number.isNaN || function(e) {
|
|
33
33
|
return e !== e;
|
|
34
34
|
};
|
|
35
35
|
function P() {
|
|
36
36
|
P.init.call(this);
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
ar.exports = P;
|
|
39
|
+
ar.exports.once = Ft;
|
|
40
40
|
P.EventEmitter = P;
|
|
41
41
|
P.prototype._events = void 0;
|
|
42
42
|
P.prototype._eventsCount = 0;
|
|
43
43
|
P.prototype._maxListeners = void 0;
|
|
44
|
-
var
|
|
44
|
+
var hr = 10;
|
|
45
45
|
function Be(r) {
|
|
46
46
|
if (typeof r != "function")
|
|
47
47
|
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof r);
|
|
@@ -49,27 +49,27 @@ function Be(r) {
|
|
|
49
49
|
Object.defineProperty(P, "defaultMaxListeners", {
|
|
50
50
|
enumerable: !0,
|
|
51
51
|
get: function() {
|
|
52
|
-
return
|
|
52
|
+
return hr;
|
|
53
53
|
},
|
|
54
54
|
set: function(r) {
|
|
55
|
-
if (typeof r != "number" || r < 0 ||
|
|
55
|
+
if (typeof r != "number" || r < 0 || xr(r))
|
|
56
56
|
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + r + ".");
|
|
57
|
-
|
|
57
|
+
hr = r;
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
P.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
|
P.prototype.setMaxListeners = function(e) {
|
|
64
|
-
if (typeof e != "number" || e < 0 ||
|
|
64
|
+
if (typeof e != "number" || e < 0 || xr(e))
|
|
65
65
|
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
66
66
|
return this._maxListeners = e, this;
|
|
67
67
|
};
|
|
68
|
-
function
|
|
68
|
+
function Wr(r) {
|
|
69
69
|
return r._maxListeners === void 0 ? P.defaultMaxListeners : r._maxListeners;
|
|
70
70
|
}
|
|
71
71
|
P.prototype.getMaxListeners = function() {
|
|
72
|
-
return
|
|
72
|
+
return Wr(this);
|
|
73
73
|
};
|
|
74
74
|
P.prototype.emit = function(e) {
|
|
75
75
|
for (var t = [], n = 1; n < arguments.length; n++) t.push(arguments[n]);
|
|
@@ -89,13 +89,13 @@ P.prototype.emit = function(e) {
|
|
|
89
89
|
if (y === void 0)
|
|
90
90
|
return !1;
|
|
91
91
|
if (typeof y == "function")
|
|
92
|
-
|
|
92
|
+
dr(y, this, t);
|
|
93
93
|
else
|
|
94
|
-
for (var m = y.length, w =
|
|
95
|
-
|
|
94
|
+
for (var m = y.length, w = Jr(y, m), n = 0; n < m; ++n)
|
|
95
|
+
dr(w[n], this, t);
|
|
96
96
|
return !0;
|
|
97
97
|
};
|
|
98
|
-
function
|
|
98
|
+
function zr(r, e, t, n) {
|
|
99
99
|
var i, c, u;
|
|
100
100
|
if (Be(t), c = r._events, c === void 0 ? (c = r._events = /* @__PURE__ */ Object.create(null), r._eventsCount = 0) : (c.newListener !== void 0 && (r.emit(
|
|
101
101
|
"newListener",
|
|
@@ -103,33 +103,33 @@ function xr(r, e, t, n) {
|
|
|
103
103
|
t.listener ? t.listener : t
|
|
104
104
|
), c = r._events), u = c[e]), u === void 0)
|
|
105
105
|
u = c[e] = t, ++r._eventsCount;
|
|
106
|
-
else if (typeof u == "function" ? u = c[e] = n ? [t, u] : [u, t] : n ? u.unshift(t) : u.push(t), i =
|
|
106
|
+
else if (typeof u == "function" ? u = c[e] = n ? [t, u] : [u, t] : n ? u.unshift(t) : u.push(t), i = Wr(r), i > 0 && u.length > i && !u.warned) {
|
|
107
107
|
u.warned = !0;
|
|
108
108
|
var d = new Error("Possible EventEmitter memory leak detected. " + u.length + " " + String(e) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
109
|
-
d.name = "MaxListenersExceededWarning", d.emitter = r, d.type = e, d.count = u.length,
|
|
109
|
+
d.name = "MaxListenersExceededWarning", d.emitter = r, d.type = e, d.count = u.length, jt(d);
|
|
110
110
|
}
|
|
111
111
|
return r;
|
|
112
112
|
}
|
|
113
113
|
P.prototype.addListener = function(e, t) {
|
|
114
|
-
return
|
|
114
|
+
return zr(this, e, t, !1);
|
|
115
115
|
};
|
|
116
116
|
P.prototype.on = P.prototype.addListener;
|
|
117
117
|
P.prototype.prependListener = function(e, t) {
|
|
118
|
-
return
|
|
118
|
+
return zr(this, e, t, !0);
|
|
119
119
|
};
|
|
120
|
-
function
|
|
120
|
+
function $t() {
|
|
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 n = { fired: !1, wrapFn: void 0, target: r, type: e, listener: t }, i =
|
|
124
|
+
function Vr(r, e, t) {
|
|
125
|
+
var n = { fired: !1, wrapFn: void 0, target: r, type: e, listener: t }, i = $t.bind(n);
|
|
126
126
|
return i.listener = t, n.wrapFn = i, i;
|
|
127
127
|
}
|
|
128
128
|
P.prototype.once = function(e, t) {
|
|
129
|
-
return Be(t), this.on(e,
|
|
129
|
+
return Be(t), this.on(e, Vr(this, e, t)), this;
|
|
130
130
|
};
|
|
131
131
|
P.prototype.prependOnceListener = function(e, t) {
|
|
132
|
-
return Be(t), this.prependListener(e,
|
|
132
|
+
return Be(t), this.prependListener(e, Vr(this, e, t)), this;
|
|
133
133
|
};
|
|
134
134
|
P.prototype.removeListener = function(e, t) {
|
|
135
135
|
var n, i, c, u, d;
|
|
@@ -147,7 +147,7 @@ P.prototype.removeListener = function(e, t) {
|
|
|
147
147
|
}
|
|
148
148
|
if (c < 0)
|
|
149
149
|
return this;
|
|
150
|
-
c === 0 ? n.shift() :
|
|
150
|
+
c === 0 ? n.shift() : Bt(n, c), n.length === 1 && (i[e] = n[0]), i.removeListener !== void 0 && this.emit("removeListener", e, d || t);
|
|
151
151
|
}
|
|
152
152
|
return this;
|
|
153
153
|
};
|
|
@@ -171,24 +171,24 @@ P.prototype.removeAllListeners = function(e) {
|
|
|
171
171
|
this.removeListener(e, t[i]);
|
|
172
172
|
return this;
|
|
173
173
|
};
|
|
174
|
-
function
|
|
174
|
+
function qr(r, e, t) {
|
|
175
175
|
var n = r._events;
|
|
176
176
|
if (n === void 0)
|
|
177
177
|
return [];
|
|
178
178
|
var i = n[e];
|
|
179
|
-
return i === void 0 ? [] : typeof i == "function" ? t ? [i.listener || i] : [i] : t ?
|
|
179
|
+
return i === void 0 ? [] : typeof i == "function" ? t ? [i.listener || i] : [i] : t ? Tt(i) : Jr(i, i.length);
|
|
180
180
|
}
|
|
181
181
|
P.prototype.listeners = function(e) {
|
|
182
|
-
return
|
|
182
|
+
return qr(this, e, !0);
|
|
183
183
|
};
|
|
184
184
|
P.prototype.rawListeners = function(e) {
|
|
185
|
-
return
|
|
185
|
+
return qr(this, e, !1);
|
|
186
186
|
};
|
|
187
187
|
P.listenerCount = function(r, e) {
|
|
188
|
-
return typeof r.listenerCount == "function" ? r.listenerCount(e) :
|
|
188
|
+
return typeof r.listenerCount == "function" ? r.listenerCount(e) : Hr.call(r, e);
|
|
189
189
|
};
|
|
190
|
-
P.prototype.listenerCount =
|
|
191
|
-
function
|
|
190
|
+
P.prototype.listenerCount = Hr;
|
|
191
|
+
function Hr(r) {
|
|
192
192
|
var e = this._events;
|
|
193
193
|
if (e !== void 0) {
|
|
194
194
|
var t = e[r];
|
|
@@ -202,22 +202,22 @@ function Vr(r) {
|
|
|
202
202
|
P.prototype.eventNames = function() {
|
|
203
203
|
return this._eventsCount > 0 ? ve(this._events) : [];
|
|
204
204
|
};
|
|
205
|
-
function
|
|
205
|
+
function Jr(r, e) {
|
|
206
206
|
for (var t = new Array(e), n = 0; n < e; ++n)
|
|
207
207
|
t[n] = r[n];
|
|
208
208
|
return t;
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Bt(r, e) {
|
|
211
211
|
for (; e + 1 < r.length; e++)
|
|
212
212
|
r[e] = r[e + 1];
|
|
213
213
|
r.pop();
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Tt(r) {
|
|
216
216
|
for (var e = new Array(r.length), t = 0; t < e.length; ++t)
|
|
217
217
|
e[t] = r[t].listener || r[t];
|
|
218
218
|
return e;
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Ft(r, e) {
|
|
221
221
|
return new Promise(function(t, n) {
|
|
222
222
|
function i(u) {
|
|
223
223
|
r.removeListener(e, c), n(u);
|
|
@@ -225,13 +225,13 @@ function Bt(r, e) {
|
|
|
225
225
|
function c() {
|
|
226
226
|
typeof r.removeListener == "function" && r.removeListener("error", i), t([].slice.call(arguments));
|
|
227
227
|
}
|
|
228
|
-
|
|
228
|
+
Kr(r, e, c, { once: !0 }), e !== "error" && It(r, i, { once: !0 });
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
|
-
function
|
|
232
|
-
typeof r.on == "function" &&
|
|
231
|
+
function It(r, e, t) {
|
|
232
|
+
typeof r.on == "function" && Kr(r, "error", e, t);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Kr(r, e, t, n) {
|
|
235
235
|
if (typeof r.on == "function")
|
|
236
236
|
n.once ? r.once(e, t) : r.on(e, t);
|
|
237
237
|
else if (typeof r.addEventListener == "function")
|
|
@@ -241,9 +241,9 @@ function Hr(r, e, t, n) {
|
|
|
241
241
|
else
|
|
242
242
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof r);
|
|
243
243
|
}
|
|
244
|
-
var
|
|
245
|
-
const
|
|
246
|
-
var
|
|
244
|
+
var Xo = ar.exports;
|
|
245
|
+
const Nt = /* @__PURE__ */ Ot(Pt);
|
|
246
|
+
var Rt = {}, Zr = {}, Yr = 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 It = {}, Jr = {}, Kr = function() {
|
|
|
269
269
|
return !1;
|
|
270
270
|
}
|
|
271
271
|
return !0;
|
|
272
|
-
},
|
|
273
|
-
return
|
|
274
|
-
},
|
|
272
|
+
}, _t = Yr, Te = function() {
|
|
273
|
+
return _t() && !!Symbol.toStringTag;
|
|
274
|
+
}, Qr = Object, Ct = Error, Lt = EvalError, Ut = RangeError, Dt = ReferenceError, Xr = SyntaxError, fe = TypeError, Mt = URIError, kt = Math.abs, Gt = Math.floor, xt = Math.max, Wt = Math.min, zt = Math.pow, Vt = Math.round, qt = Number.isNaN || function(e) {
|
|
275
275
|
return e !== e;
|
|
276
|
-
},
|
|
277
|
-
return
|
|
278
|
-
},
|
|
276
|
+
}, Ht = qt, Jt = function(e) {
|
|
277
|
+
return Ht(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
278
|
+
}, Kt = Object.getOwnPropertyDescriptor, me = Kt;
|
|
279
279
|
if (me)
|
|
280
280
|
try {
|
|
281
281
|
me([], "length");
|
|
@@ -289,19 +289,26 @@ if (be)
|
|
|
289
289
|
} catch {
|
|
290
290
|
be = !1;
|
|
291
291
|
}
|
|
292
|
-
var Fe = be, Ce,
|
|
293
|
-
function
|
|
294
|
-
if (
|
|
295
|
-
|
|
296
|
-
var r = typeof Symbol < "u" && Symbol, e =
|
|
292
|
+
var Fe = be, Ce, gr;
|
|
293
|
+
function Zt() {
|
|
294
|
+
if (gr) return Ce;
|
|
295
|
+
gr = 1;
|
|
296
|
+
var r = typeof Symbol < "u" && Symbol, e = Yr;
|
|
297
297
|
return Ce = function() {
|
|
298
298
|
return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
|
|
299
299
|
}, Ce;
|
|
300
300
|
}
|
|
301
|
-
var
|
|
302
|
-
function
|
|
303
|
-
if (
|
|
304
|
-
|
|
301
|
+
var et = typeof Reflect < "u" && Reflect.getPrototypeOf || null, Le, vr;
|
|
302
|
+
function rt() {
|
|
303
|
+
if (vr) return Le;
|
|
304
|
+
vr = 1;
|
|
305
|
+
var r = Qr;
|
|
306
|
+
return Le = r.getPrototypeOf || null, Le;
|
|
307
|
+
}
|
|
308
|
+
var Ue, mr;
|
|
309
|
+
function Yt() {
|
|
310
|
+
if (mr) return Ue;
|
|
311
|
+
mr = 1;
|
|
305
312
|
var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", i = function(y, m) {
|
|
306
313
|
for (var w = [], $ = 0; $ < y.length; $ += 1)
|
|
307
314
|
w[$] = y[$];
|
|
@@ -317,7 +324,7 @@ function Zt() {
|
|
|
317
324
|
m += d[w], w + 1 < d.length && (m += y);
|
|
318
325
|
return m;
|
|
319
326
|
};
|
|
320
|
-
return
|
|
327
|
+
return Ue = function(y) {
|
|
321
328
|
var m = this;
|
|
322
329
|
if (typeof m != "function" || e.apply(m) !== n)
|
|
323
330
|
throw new TypeError(r + m);
|
|
@@ -341,77 +348,77 @@ function Zt() {
|
|
|
341
348
|
C.prototype = m.prototype, $.prototype = new C(), C.prototype = null;
|
|
342
349
|
}
|
|
343
350
|
return $;
|
|
344
|
-
},
|
|
351
|
+
}, Ue;
|
|
345
352
|
}
|
|
346
|
-
var
|
|
353
|
+
var De, br;
|
|
347
354
|
function se() {
|
|
348
|
-
if (
|
|
349
|
-
|
|
350
|
-
var r =
|
|
351
|
-
return
|
|
352
|
-
}
|
|
353
|
-
var De, mr;
|
|
354
|
-
function ar() {
|
|
355
|
-
return mr || (mr = 1, De = Function.prototype.call), De;
|
|
355
|
+
if (br) return De;
|
|
356
|
+
br = 1;
|
|
357
|
+
var r = Yt();
|
|
358
|
+
return De = Function.prototype.bind || r, De;
|
|
356
359
|
}
|
|
357
|
-
var Me,
|
|
360
|
+
var Me, Ar;
|
|
358
361
|
function fr() {
|
|
359
|
-
return
|
|
362
|
+
return Ar || (Ar = 1, Me = Function.prototype.call), Me;
|
|
360
363
|
}
|
|
361
|
-
var
|
|
364
|
+
var ke, wr;
|
|
365
|
+
function sr() {
|
|
366
|
+
return wr || (wr = 1, ke = Function.prototype.apply), ke;
|
|
367
|
+
}
|
|
368
|
+
var Qt = typeof Reflect < "u" && Reflect && Reflect.apply, Xt = se(), en = sr(), rn = fr(), tn = Qt, tt = tn || Xt.call(rn, en), nn = se(), on = fe, an = fr(), fn = tt, ur = function(e) {
|
|
362
369
|
if (e.length < 1 || typeof e[0] != "function")
|
|
363
|
-
throw new
|
|
364
|
-
return
|
|
365
|
-
},
|
|
370
|
+
throw new on("a function is required");
|
|
371
|
+
return fn(nn, an, e);
|
|
372
|
+
}, sn = ur, Sr = oe, nt;
|
|
366
373
|
try {
|
|
367
|
-
|
|
374
|
+
nt = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
368
375
|
[].__proto__ === Array.prototype;
|
|
369
376
|
} catch (r) {
|
|
370
377
|
if (!r || typeof r != "object" || !("code" in r) || r.code !== "ERR_PROTO_ACCESS")
|
|
371
378
|
throw r;
|
|
372
379
|
}
|
|
373
|
-
var
|
|
380
|
+
var Ge = !!nt && Sr && Sr(
|
|
374
381
|
Object.prototype,
|
|
375
382
|
/** @type {keyof typeof Object.prototype} */
|
|
376
383
|
"__proto__"
|
|
377
|
-
),
|
|
384
|
+
), ot = Object, Or = ot.getPrototypeOf, un = Ge && typeof Ge.get == "function" ? sn([Ge.get]) : typeof Or == "function" ? (
|
|
378
385
|
/** @type {import('./get')} */
|
|
379
386
|
function(e) {
|
|
380
|
-
return
|
|
387
|
+
return Or(e == null ? e : ot(e));
|
|
381
388
|
}
|
|
382
|
-
) : !1,
|
|
383
|
-
return
|
|
384
|
-
} :
|
|
389
|
+
) : !1, Pr = et, Er = rt(), jr = un, lr = Pr ? function(e) {
|
|
390
|
+
return Pr(e);
|
|
391
|
+
} : Er ? function(e) {
|
|
385
392
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
386
393
|
throw new TypeError("getProto: not an object");
|
|
387
|
-
return
|
|
388
|
-
} :
|
|
389
|
-
return
|
|
390
|
-
} : null,
|
|
391
|
-
function
|
|
392
|
-
if (
|
|
393
|
-
|
|
394
|
+
return Er(e);
|
|
395
|
+
} : jr ? function(e) {
|
|
396
|
+
return jr(e);
|
|
397
|
+
} : null, xe, $r;
|
|
398
|
+
function it() {
|
|
399
|
+
if ($r) return xe;
|
|
400
|
+
$r = 1;
|
|
394
401
|
var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = se();
|
|
395
|
-
return
|
|
402
|
+
return xe = t.call(r, e), xe;
|
|
396
403
|
}
|
|
397
|
-
var v,
|
|
404
|
+
var v, ln = Qr, cn = Ct, yn = Lt, pn = Ut, dn = Dt, ne = Xr, te = fe, hn = Mt, gn = kt, vn = Gt, mn = xt, bn = Wt, An = zt, wn = Vt, Sn = Jt, at = Function, We = function(r) {
|
|
398
405
|
try {
|
|
399
|
-
return
|
|
406
|
+
return at('"use strict"; return (' + r + ").constructor;")();
|
|
400
407
|
} catch {
|
|
401
408
|
}
|
|
402
|
-
}, ae = oe,
|
|
409
|
+
}, ae = oe, On = Fe, ze = function() {
|
|
403
410
|
throw new te();
|
|
404
|
-
},
|
|
411
|
+
}, Pn = ae ? function() {
|
|
405
412
|
try {
|
|
406
|
-
return arguments.callee,
|
|
413
|
+
return arguments.callee, ze;
|
|
407
414
|
} catch {
|
|
408
415
|
try {
|
|
409
416
|
return ae(arguments, "callee").get;
|
|
410
417
|
} catch {
|
|
411
|
-
return
|
|
418
|
+
return ze;
|
|
412
419
|
}
|
|
413
420
|
}
|
|
414
|
-
}() :
|
|
421
|
+
}() : ze, Y = Zt()(), F = lr, En = rt(), jn = et, ft = sr(), ue = fr(), X = {}, $n = typeof Uint8Array > "u" || !F ? v : F(Uint8Array), V = {
|
|
415
422
|
__proto__: null,
|
|
416
423
|
"%AggregateError%": typeof AggregateError > "u" ? v : AggregateError,
|
|
417
424
|
"%Array%": Array,
|
|
@@ -433,15 +440,15 @@ var v, un = Zr, ln = Rt, cn = _t, yn = Ct, pn = Lt, ne = Yr, te = fe, dn = Ut, h
|
|
|
433
440
|
"%decodeURIComponent%": decodeURIComponent,
|
|
434
441
|
"%encodeURI%": encodeURI,
|
|
435
442
|
"%encodeURIComponent%": encodeURIComponent,
|
|
436
|
-
"%Error%":
|
|
443
|
+
"%Error%": cn,
|
|
437
444
|
"%eval%": eval,
|
|
438
445
|
// eslint-disable-line no-eval
|
|
439
|
-
"%EvalError%":
|
|
446
|
+
"%EvalError%": yn,
|
|
440
447
|
"%Float16Array%": typeof Float16Array > "u" ? v : Float16Array,
|
|
441
448
|
"%Float32Array%": typeof Float32Array > "u" ? v : Float32Array,
|
|
442
449
|
"%Float64Array%": typeof Float64Array > "u" ? v : Float64Array,
|
|
443
450
|
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? v : FinalizationRegistry,
|
|
444
|
-
"%Function%":
|
|
451
|
+
"%Function%": at,
|
|
445
452
|
"%GeneratorFunction%": X,
|
|
446
453
|
"%Int8Array%": typeof Int8Array > "u" ? v : Int8Array,
|
|
447
454
|
"%Int16Array%": typeof Int16Array > "u" ? v : Int16Array,
|
|
@@ -454,14 +461,14 @@ var v, un = Zr, ln = Rt, cn = _t, yn = Ct, pn = Lt, ne = Yr, te = fe, dn = Ut, h
|
|
|
454
461
|
"%MapIteratorPrototype%": typeof Map > "u" || !Y || !F ? v : F((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
455
462
|
"%Math%": Math,
|
|
456
463
|
"%Number%": Number,
|
|
457
|
-
"%Object%":
|
|
464
|
+
"%Object%": ln,
|
|
458
465
|
"%Object.getOwnPropertyDescriptor%": ae,
|
|
459
466
|
"%parseFloat%": parseFloat,
|
|
460
467
|
"%parseInt%": parseInt,
|
|
461
468
|
"%Promise%": typeof Promise > "u" ? v : Promise,
|
|
462
469
|
"%Proxy%": typeof Proxy > "u" ? v : Proxy,
|
|
463
|
-
"%RangeError%":
|
|
464
|
-
"%ReferenceError%":
|
|
470
|
+
"%RangeError%": pn,
|
|
471
|
+
"%ReferenceError%": dn,
|
|
465
472
|
"%Reflect%": typeof Reflect > "u" ? v : Reflect,
|
|
466
473
|
"%RegExp%": RegExp,
|
|
467
474
|
"%Set%": typeof Set > "u" ? v : Set,
|
|
@@ -471,45 +478,45 @@ var v, un = Zr, ln = Rt, cn = _t, yn = Ct, pn = Lt, ne = Yr, te = fe, dn = Ut, h
|
|
|
471
478
|
"%StringIteratorPrototype%": Y && F ? F(""[Symbol.iterator]()) : v,
|
|
472
479
|
"%Symbol%": Y ? Symbol : v,
|
|
473
480
|
"%SyntaxError%": ne,
|
|
474
|
-
"%ThrowTypeError%":
|
|
475
|
-
"%TypedArray%":
|
|
481
|
+
"%ThrowTypeError%": Pn,
|
|
482
|
+
"%TypedArray%": $n,
|
|
476
483
|
"%TypeError%": te,
|
|
477
484
|
"%Uint8Array%": typeof Uint8Array > "u" ? v : Uint8Array,
|
|
478
485
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? v : Uint8ClampedArray,
|
|
479
486
|
"%Uint16Array%": typeof Uint16Array > "u" ? v : Uint16Array,
|
|
480
487
|
"%Uint32Array%": typeof Uint32Array > "u" ? v : Uint32Array,
|
|
481
|
-
"%URIError%":
|
|
488
|
+
"%URIError%": hn,
|
|
482
489
|
"%WeakMap%": typeof WeakMap > "u" ? v : WeakMap,
|
|
483
490
|
"%WeakRef%": typeof WeakRef > "u" ? v : WeakRef,
|
|
484
491
|
"%WeakSet%": typeof WeakSet > "u" ? v : WeakSet,
|
|
485
492
|
"%Function.prototype.call%": ue,
|
|
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%":
|
|
493
|
+
"%Function.prototype.apply%": ft,
|
|
494
|
+
"%Object.defineProperty%": On,
|
|
495
|
+
"%Object.getPrototypeOf%": En,
|
|
496
|
+
"%Math.abs%": gn,
|
|
497
|
+
"%Math.floor%": vn,
|
|
498
|
+
"%Math.max%": mn,
|
|
499
|
+
"%Math.min%": bn,
|
|
500
|
+
"%Math.pow%": An,
|
|
501
|
+
"%Math.round%": wn,
|
|
502
|
+
"%Math.sign%": Sn,
|
|
503
|
+
"%Reflect.getPrototypeOf%": jn
|
|
497
504
|
};
|
|
498
505
|
if (F)
|
|
499
506
|
try {
|
|
500
507
|
null.error;
|
|
501
508
|
} catch (r) {
|
|
502
|
-
var
|
|
503
|
-
V["%Error.prototype%"] =
|
|
509
|
+
var Bn = F(F(r));
|
|
510
|
+
V["%Error.prototype%"] = Bn;
|
|
504
511
|
}
|
|
505
|
-
var
|
|
512
|
+
var Tn = function r(e) {
|
|
506
513
|
var t;
|
|
507
514
|
if (e === "%AsyncFunction%")
|
|
508
|
-
t =
|
|
515
|
+
t = We("async function () {}");
|
|
509
516
|
else if (e === "%GeneratorFunction%")
|
|
510
|
-
t =
|
|
517
|
+
t = We("function* () {}");
|
|
511
518
|
else if (e === "%AsyncGeneratorFunction%")
|
|
512
|
-
t =
|
|
519
|
+
t = We("async function* () {}");
|
|
513
520
|
else if (e === "%AsyncGenerator%") {
|
|
514
521
|
var n = r("%AsyncGeneratorFunction%");
|
|
515
522
|
n && (t = n.prototype);
|
|
@@ -518,7 +525,7 @@ var Bn = function r(e) {
|
|
|
518
525
|
i && F && (t = F(i.prototype));
|
|
519
526
|
}
|
|
520
527
|
return V[e] = t, t;
|
|
521
|
-
},
|
|
528
|
+
}, Br = {
|
|
522
529
|
__proto__: null,
|
|
523
530
|
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
524
531
|
"%ArrayPrototype%": ["Array", "prototype"],
|
|
@@ -571,21 +578,21 @@ var Bn = function r(e) {
|
|
|
571
578
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
572
579
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
573
580
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
574
|
-
}, le = se(), Pe =
|
|
581
|
+
}, le = se(), Pe = it(), Fn = le.call(ue, Array.prototype.concat), In = le.call(ft, Array.prototype.splice), Tr = le.call(ue, String.prototype.replace), Ee = le.call(ue, String.prototype.slice), Nn = le.call(ue, RegExp.prototype.exec), Rn = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, _n = /\\(\\)?/g, Cn = function(e) {
|
|
575
582
|
var t = Ee(e, 0, 1), n = Ee(e, -1);
|
|
576
583
|
if (t === "%" && n !== "%")
|
|
577
584
|
throw new ne("invalid intrinsic syntax, expected closing `%`");
|
|
578
585
|
if (n === "%" && t !== "%")
|
|
579
586
|
throw new ne("invalid intrinsic syntax, expected opening `%`");
|
|
580
587
|
var i = [];
|
|
581
|
-
return
|
|
582
|
-
i[i.length] = d ?
|
|
588
|
+
return Tr(e, Rn, function(c, u, d, y) {
|
|
589
|
+
i[i.length] = d ? Tr(y, _n, "$1") : u || c;
|
|
583
590
|
}), i;
|
|
584
|
-
},
|
|
591
|
+
}, Ln = function(e, t) {
|
|
585
592
|
var n = e, i;
|
|
586
|
-
if (Pe(
|
|
593
|
+
if (Pe(Br, n) && (i = Br[n], n = "%" + i[0] + "%"), Pe(V, n)) {
|
|
587
594
|
var c = V[n];
|
|
588
|
-
if (c === X && (c =
|
|
595
|
+
if (c === X && (c = Tn(n)), typeof c > "u" && !t)
|
|
589
596
|
throw new te("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
590
597
|
return {
|
|
591
598
|
alias: i,
|
|
@@ -594,15 +601,15 @@ var Bn = function r(e) {
|
|
|
594
601
|
};
|
|
595
602
|
}
|
|
596
603
|
throw new ne("intrinsic " + e + " does not exist!");
|
|
597
|
-
},
|
|
604
|
+
}, st = function(e, t) {
|
|
598
605
|
if (typeof e != "string" || e.length === 0)
|
|
599
606
|
throw new te("intrinsic name must be a non-empty string");
|
|
600
607
|
if (arguments.length > 1 && typeof t != "boolean")
|
|
601
608
|
throw new te('"allowMissing" argument must be a boolean');
|
|
602
|
-
if (
|
|
609
|
+
if (Nn(/^%?[^%]*%?$/, e) === null)
|
|
603
610
|
throw new ne("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
604
|
-
var n =
|
|
605
|
-
m && (i = m[0],
|
|
611
|
+
var n = Cn(e), i = n.length > 0 ? n[0] : "", c = Ln("%" + i + "%", t), u = c.name, d = c.value, y = !1, m = c.alias;
|
|
612
|
+
m && (i = m[0], In(n, Fn([0, 1], m)));
|
|
606
613
|
for (var w = 1, $ = !0; w < n.length; w += 1) {
|
|
607
614
|
var E = n[w], _ = Ee(E, 0, 1), T = Ee(E, -1);
|
|
608
615
|
if ((_ === '"' || _ === "'" || _ === "`" || T === '"' || T === "'" || T === "`") && _ !== T)
|
|
@@ -624,178 +631,178 @@ var Bn = function r(e) {
|
|
|
624
631
|
}
|
|
625
632
|
}
|
|
626
633
|
return d;
|
|
627
|
-
},
|
|
634
|
+
}, ut = st, lt = ur, Un = lt([ut("%String.prototype.indexOf%")]), ce = function(e, t) {
|
|
628
635
|
var n = (
|
|
629
636
|
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
630
|
-
|
|
637
|
+
ut(e, !!t)
|
|
631
638
|
);
|
|
632
|
-
return typeof n == "function" &&
|
|
639
|
+
return typeof n == "function" && Un(e, ".prototype.") > -1 ? lt(
|
|
633
640
|
/** @type {const} */
|
|
634
641
|
[n]
|
|
635
642
|
) : n;
|
|
636
|
-
},
|
|
637
|
-
return
|
|
638
|
-
},
|
|
639
|
-
return Ie(e) ? !0 : e !== null && typeof e == "object" && "length" in e && typeof e.length == "number" && e.length >= 0 &&
|
|
640
|
-
},
|
|
643
|
+
}, Dn = Te(), Mn = ce, Xe = Mn("Object.prototype.toString"), Ie = function(e) {
|
|
644
|
+
return Dn && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Xe(e) === "[object Arguments]";
|
|
645
|
+
}, ct = function(e) {
|
|
646
|
+
return Ie(e) ? !0 : e !== null && typeof e == "object" && "length" in e && typeof e.length == "number" && e.length >= 0 && Xe(e) !== "[object Array]" && "callee" in e && Xe(e.callee) === "[object Function]";
|
|
647
|
+
}, kn = function() {
|
|
641
648
|
return Ie(arguments);
|
|
642
649
|
}();
|
|
643
|
-
Ie.isLegacyArguments =
|
|
644
|
-
var
|
|
645
|
-
if (
|
|
646
|
-
var
|
|
647
|
-
throw
|
|
648
|
-
},
|
|
649
|
-
toString:
|
|
650
|
-
valueOf:
|
|
650
|
+
Ie.isLegacyArguments = ct;
|
|
651
|
+
var Gn = kn ? Ie : ct, Fr = ce, xn = Te(), Wn = it(), zn = oe, er;
|
|
652
|
+
if (xn) {
|
|
653
|
+
var Vn = Fr("RegExp.prototype.exec"), Ir = {}, Ve = function() {
|
|
654
|
+
throw Ir;
|
|
655
|
+
}, Nr = {
|
|
656
|
+
toString: Ve,
|
|
657
|
+
valueOf: Ve
|
|
651
658
|
};
|
|
652
|
-
typeof Symbol.toPrimitive == "symbol" && (
|
|
659
|
+
typeof Symbol.toPrimitive == "symbol" && (Nr[Symbol.toPrimitive] = Ve), er = function(e) {
|
|
653
660
|
if (!e || typeof e != "object")
|
|
654
661
|
return !1;
|
|
655
662
|
var t = (
|
|
656
663
|
/** @type {NonNullable<typeof gOPD>} */
|
|
657
|
-
|
|
664
|
+
zn(
|
|
658
665
|
/** @type {{ lastIndex?: unknown }} */
|
|
659
666
|
e,
|
|
660
667
|
"lastIndex"
|
|
661
668
|
)
|
|
662
|
-
), n = t &&
|
|
669
|
+
), n = t && Wn(t, "value");
|
|
663
670
|
if (!n)
|
|
664
671
|
return !1;
|
|
665
672
|
try {
|
|
666
|
-
|
|
673
|
+
Vn(
|
|
667
674
|
e,
|
|
668
675
|
/** @type {string} */
|
|
669
676
|
/** @type {unknown} */
|
|
670
|
-
|
|
677
|
+
Nr
|
|
671
678
|
);
|
|
672
679
|
} catch (i) {
|
|
673
|
-
return i ===
|
|
680
|
+
return i === Ir;
|
|
674
681
|
}
|
|
675
682
|
};
|
|
676
683
|
} else {
|
|
677
|
-
var
|
|
678
|
-
|
|
679
|
-
return !e || typeof e != "object" && typeof e != "function" ? !1 :
|
|
684
|
+
var qn = Fr("Object.prototype.toString"), Hn = "[object RegExp]";
|
|
685
|
+
er = function(e) {
|
|
686
|
+
return !e || typeof e != "object" && typeof e != "function" ? !1 : qn(e) === Hn;
|
|
680
687
|
};
|
|
681
688
|
}
|
|
682
|
-
var
|
|
683
|
-
if (!
|
|
684
|
-
throw new
|
|
689
|
+
var Jn = er, Kn = ce, Zn = Jn, Yn = Kn("RegExp.prototype.exec"), Qn = fe, Xn = function(e) {
|
|
690
|
+
if (!Zn(e))
|
|
691
|
+
throw new Qn("`regex` must be a RegExp");
|
|
685
692
|
return function(n) {
|
|
686
|
-
return
|
|
693
|
+
return Yn(e, n) !== null;
|
|
687
694
|
};
|
|
688
|
-
},
|
|
689
|
-
if (!
|
|
695
|
+
}, yt = ce, eo = Xn, ro = eo(/^\s*(?:function)?\*/), pt = Te(), qe = lr, to = yt("Object.prototype.toString"), no = yt("Function.prototype.toString"), oo = function() {
|
|
696
|
+
if (!pt)
|
|
690
697
|
return !1;
|
|
691
698
|
try {
|
|
692
699
|
return Function("return function*() {}")();
|
|
693
700
|
} catch {
|
|
694
701
|
}
|
|
695
|
-
},
|
|
702
|
+
}, He, io = function(e) {
|
|
696
703
|
if (typeof e != "function")
|
|
697
704
|
return !1;
|
|
698
|
-
if (
|
|
705
|
+
if (ro(no(e)))
|
|
699
706
|
return !0;
|
|
700
|
-
if (!
|
|
701
|
-
var t =
|
|
707
|
+
if (!pt) {
|
|
708
|
+
var t = to(e);
|
|
702
709
|
return t === "[object GeneratorFunction]";
|
|
703
710
|
}
|
|
704
|
-
if (!
|
|
711
|
+
if (!qe)
|
|
705
712
|
return !1;
|
|
706
|
-
if (typeof
|
|
707
|
-
var n =
|
|
708
|
-
|
|
713
|
+
if (typeof He > "u") {
|
|
714
|
+
var n = oo();
|
|
715
|
+
He = n ? (
|
|
709
716
|
/** @type {GeneratorFunctionConstructor} */
|
|
710
|
-
|
|
717
|
+
qe(n)
|
|
711
718
|
) : !1;
|
|
712
719
|
}
|
|
713
|
-
return
|
|
714
|
-
},
|
|
720
|
+
return qe(e) === He;
|
|
721
|
+
}, dt = Function.prototype.toString, ee = typeof Reflect == "object" && Reflect !== null && Reflect.apply, rr, Ae;
|
|
715
722
|
if (typeof ee == "function" && typeof Object.defineProperty == "function")
|
|
716
723
|
try {
|
|
717
|
-
|
|
724
|
+
rr = Object.defineProperty({}, "length", {
|
|
718
725
|
get: function() {
|
|
719
726
|
throw Ae;
|
|
720
727
|
}
|
|
721
728
|
}), Ae = {}, ee(function() {
|
|
722
729
|
throw 42;
|
|
723
|
-
}, null,
|
|
730
|
+
}, null, rr);
|
|
724
731
|
} catch (r) {
|
|
725
732
|
r !== Ae && (ee = null);
|
|
726
733
|
}
|
|
727
734
|
else
|
|
728
735
|
ee = null;
|
|
729
|
-
var
|
|
736
|
+
var ao = /^\s*class\b/, tr = function(e) {
|
|
730
737
|
try {
|
|
731
|
-
var t =
|
|
732
|
-
return
|
|
738
|
+
var t = dt.call(e);
|
|
739
|
+
return ao.test(t);
|
|
733
740
|
} catch {
|
|
734
741
|
return !1;
|
|
735
742
|
}
|
|
736
|
-
},
|
|
743
|
+
}, Je = function(e) {
|
|
737
744
|
try {
|
|
738
|
-
return
|
|
745
|
+
return tr(e) ? !1 : (dt.call(e), !0);
|
|
739
746
|
} catch {
|
|
740
747
|
return !1;
|
|
741
748
|
}
|
|
742
|
-
}, we = Object.prototype.toString,
|
|
749
|
+
}, we = Object.prototype.toString, fo = "[object Object]", so = "[object Function]", uo = "[object GeneratorFunction]", lo = "[object HTMLAllCollection]", co = "[object HTML document.all class]", yo = "[object HTMLCollection]", po = typeof Symbol == "function" && !!Symbol.toStringTag, ho = !(0 in [,]), nr = function() {
|
|
743
750
|
return !1;
|
|
744
751
|
};
|
|
745
752
|
if (typeof document == "object") {
|
|
746
|
-
var
|
|
747
|
-
we.call(
|
|
748
|
-
if ((
|
|
753
|
+
var go = document.all;
|
|
754
|
+
we.call(go) === we.call(document.all) && (nr = function(e) {
|
|
755
|
+
if ((ho || !e) && (typeof e > "u" || typeof e == "object"))
|
|
749
756
|
try {
|
|
750
757
|
var t = we.call(e);
|
|
751
|
-
return (t ===
|
|
758
|
+
return (t === lo || t === co || t === yo || t === fo) && e("") == null;
|
|
752
759
|
} catch {
|
|
753
760
|
}
|
|
754
761
|
return !1;
|
|
755
762
|
});
|
|
756
763
|
}
|
|
757
|
-
var
|
|
758
|
-
if (
|
|
764
|
+
var vo = ee ? function(e) {
|
|
765
|
+
if (nr(e))
|
|
759
766
|
return !0;
|
|
760
767
|
if (!e || typeof e != "function" && typeof e != "object")
|
|
761
768
|
return !1;
|
|
762
769
|
try {
|
|
763
|
-
ee(e, null,
|
|
770
|
+
ee(e, null, rr);
|
|
764
771
|
} catch (t) {
|
|
765
772
|
if (t !== Ae)
|
|
766
773
|
return !1;
|
|
767
774
|
}
|
|
768
|
-
return !
|
|
775
|
+
return !tr(e) && Je(e);
|
|
769
776
|
} : function(e) {
|
|
770
|
-
if (
|
|
777
|
+
if (nr(e))
|
|
771
778
|
return !0;
|
|
772
779
|
if (!e || typeof e != "function" && typeof e != "object")
|
|
773
780
|
return !1;
|
|
774
|
-
if (
|
|
775
|
-
return
|
|
776
|
-
if (
|
|
781
|
+
if (po)
|
|
782
|
+
return Je(e);
|
|
783
|
+
if (tr(e))
|
|
777
784
|
return !1;
|
|
778
785
|
var t = we.call(e);
|
|
779
|
-
return t !==
|
|
780
|
-
},
|
|
786
|
+
return t !== so && t !== uo && !/^\[object HTML/.test(t) ? !1 : Je(e);
|
|
787
|
+
}, mo = vo, bo = Object.prototype.toString, ht = Object.prototype.hasOwnProperty, Ao = function(e, t, n) {
|
|
781
788
|
for (var i = 0, c = e.length; i < c; i++)
|
|
782
|
-
|
|
783
|
-
},
|
|
789
|
+
ht.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
|
|
790
|
+
}, wo = function(e, t, n) {
|
|
784
791
|
for (var i = 0, c = e.length; i < c; i++)
|
|
785
792
|
n == null ? t(e.charAt(i), i, e) : t.call(n, e.charAt(i), i, e);
|
|
786
|
-
},
|
|
793
|
+
}, So = function(e, t, n) {
|
|
787
794
|
for (var i in e)
|
|
788
|
-
|
|
795
|
+
ht.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
|
|
789
796
|
};
|
|
790
|
-
function
|
|
791
|
-
return
|
|
797
|
+
function Oo(r) {
|
|
798
|
+
return bo.call(r) === "[object Array]";
|
|
792
799
|
}
|
|
793
|
-
var
|
|
794
|
-
if (!
|
|
800
|
+
var Po = function(e, t, n) {
|
|
801
|
+
if (!mo(t))
|
|
795
802
|
throw new TypeError("iterator must be a function");
|
|
796
803
|
var i;
|
|
797
|
-
arguments.length >= 3 && (i = n),
|
|
798
|
-
},
|
|
804
|
+
arguments.length >= 3 && (i = n), Oo(e) ? Ao(e, t, i) : typeof e == "string" ? wo(e, t, i) : So(e, t, i);
|
|
805
|
+
}, Eo = [
|
|
799
806
|
"Float16Array",
|
|
800
807
|
"Float32Array",
|
|
801
808
|
"Float64Array",
|
|
@@ -808,11 +815,11 @@ var Oo = function(e, t, n) {
|
|
|
808
815
|
"Uint32Array",
|
|
809
816
|
"BigInt64Array",
|
|
810
817
|
"BigUint64Array"
|
|
811
|
-
],
|
|
812
|
-
for (var e = [], t = 0; t <
|
|
813
|
-
typeof
|
|
818
|
+
], Ke = Eo, jo = typeof globalThis > "u" ? Oe : globalThis, $o = function() {
|
|
819
|
+
for (var e = [], t = 0; t < Ke.length; t++)
|
|
820
|
+
typeof jo[Ke[t]] == "function" && (e[e.length] = Ke[t]);
|
|
814
821
|
return e;
|
|
815
|
-
},
|
|
822
|
+
}, gt = { exports: {} }, Rr = Fe, Bo = Xr, Q = fe, _r = oe, To = function(e, t, n) {
|
|
816
823
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
817
824
|
throw new Q("`obj` must be an object or a function`");
|
|
818
825
|
if (typeof t != "string" && typeof t != "symbol")
|
|
@@ -825,9 +832,9 @@ var Oo = function(e, t, n) {
|
|
|
825
832
|
throw new Q("`nonConfigurable`, if provided, must be a boolean or null");
|
|
826
833
|
if (arguments.length > 6 && typeof arguments[6] != "boolean")
|
|
827
834
|
throw new Q("`loose`, if provided, must be a boolean");
|
|
828
|
-
var i = arguments.length > 3 ? arguments[3] : null, c = arguments.length > 4 ? arguments[4] : null, u = arguments.length > 5 ? arguments[5] : null, d = arguments.length > 6 ? arguments[6] : !1, y = !!
|
|
829
|
-
if (
|
|
830
|
-
|
|
835
|
+
var i = arguments.length > 3 ? arguments[3] : null, c = arguments.length > 4 ? arguments[4] : null, u = arguments.length > 5 ? arguments[5] : null, d = arguments.length > 6 ? arguments[6] : !1, y = !!_r && _r(e, t);
|
|
836
|
+
if (Rr)
|
|
837
|
+
Rr(e, t, {
|
|
831
838
|
configurable: u === null && y ? y.configurable : !u,
|
|
832
839
|
enumerable: i === null && y ? y.enumerable : !i,
|
|
833
840
|
value: n,
|
|
@@ -836,47 +843,47 @@ var Oo = function(e, t, n) {
|
|
|
836
843
|
else if (d || !i && !c && !u)
|
|
837
844
|
e[t] = n;
|
|
838
845
|
else
|
|
839
|
-
throw new
|
|
840
|
-
},
|
|
841
|
-
return !!
|
|
846
|
+
throw new Bo("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
847
|
+
}, or = Fe, vt = function() {
|
|
848
|
+
return !!or;
|
|
842
849
|
};
|
|
843
|
-
|
|
844
|
-
if (!
|
|
850
|
+
vt.hasArrayLengthDefineBug = function() {
|
|
851
|
+
if (!or)
|
|
845
852
|
return null;
|
|
846
853
|
try {
|
|
847
|
-
return
|
|
854
|
+
return or([], "length", { value: 1 }).length !== 1;
|
|
848
855
|
} catch {
|
|
849
856
|
return !0;
|
|
850
857
|
}
|
|
851
858
|
};
|
|
852
|
-
var
|
|
859
|
+
var Fo = vt, Io = st, Cr = To, No = Fo(), Lr = oe, Ur = fe, Ro = Io("%Math.floor%"), _o = function(e, t) {
|
|
853
860
|
if (typeof e != "function")
|
|
854
|
-
throw new
|
|
855
|
-
if (typeof t != "number" || t < 0 || t > 4294967295 ||
|
|
856
|
-
throw new
|
|
861
|
+
throw new Ur("`fn` is not a function");
|
|
862
|
+
if (typeof t != "number" || t < 0 || t > 4294967295 || Ro(t) !== t)
|
|
863
|
+
throw new Ur("`length` must be a positive 32-bit integer");
|
|
857
864
|
var n = arguments.length > 2 && !!arguments[2], i = !0, c = !0;
|
|
858
|
-
if ("length" in e &&
|
|
859
|
-
var u =
|
|
865
|
+
if ("length" in e && Lr) {
|
|
866
|
+
var u = Lr(e, "length");
|
|
860
867
|
u && !u.configurable && (i = !1), u && !u.writable && (c = !1);
|
|
861
868
|
}
|
|
862
|
-
return (i || c || !n) && (
|
|
869
|
+
return (i || c || !n) && (No ? Cr(
|
|
863
870
|
/** @type {Parameters<define>[0]} */
|
|
864
871
|
e,
|
|
865
872
|
"length",
|
|
866
873
|
t,
|
|
867
874
|
!0,
|
|
868
875
|
!0
|
|
869
|
-
) :
|
|
876
|
+
) : Cr(
|
|
870
877
|
/** @type {Parameters<define>[0]} */
|
|
871
878
|
e,
|
|
872
879
|
"length",
|
|
873
880
|
t
|
|
874
881
|
)), e;
|
|
875
|
-
},
|
|
876
|
-
return
|
|
882
|
+
}, Co = se(), Lo = sr(), Uo = tt, Do = function() {
|
|
883
|
+
return Uo(Co, Lo, arguments);
|
|
877
884
|
};
|
|
878
885
|
(function(r) {
|
|
879
|
-
var e =
|
|
886
|
+
var e = _o, t = Fe, n = ur, i = Do;
|
|
880
887
|
r.exports = function(u) {
|
|
881
888
|
var d = n(arguments), y = u.length - (arguments.length - 1);
|
|
882
889
|
return e(
|
|
@@ -885,33 +892,33 @@ var To = ht, Fo = at, Rr = Bo, Io = To(), _r = oe, Cr = fe, No = Fo("%Math.floor
|
|
|
885
892
|
!0
|
|
886
893
|
);
|
|
887
894
|
}, t ? t(r.exports, "apply", { value: i }) : r.exports.apply = i;
|
|
888
|
-
})(
|
|
889
|
-
var
|
|
895
|
+
})(gt);
|
|
896
|
+
var Mo = gt.exports, je = Po, ko = $o, Dr = Mo, cr = ce, Se = oe, he = lr, Go = cr("Object.prototype.toString"), mt = Te(), Mr = typeof globalThis > "u" ? Oe : globalThis, ir = ko(), yr = cr("String.prototype.slice"), xo = cr("Array.prototype.indexOf", !0) || function(e, t) {
|
|
890
897
|
for (var n = 0; n < e.length; n += 1)
|
|
891
898
|
if (e[n] === t)
|
|
892
899
|
return n;
|
|
893
900
|
return -1;
|
|
894
901
|
}, $e = { __proto__: null };
|
|
895
|
-
|
|
896
|
-
var e = new
|
|
902
|
+
mt && Se && he ? je(ir, function(r) {
|
|
903
|
+
var e = new Mr[r]();
|
|
897
904
|
if (Symbol.toStringTag in e && he) {
|
|
898
905
|
var t = he(e), n = Se(t, Symbol.toStringTag);
|
|
899
906
|
if (!n && t) {
|
|
900
907
|
var i = he(t);
|
|
901
908
|
n = Se(i, Symbol.toStringTag);
|
|
902
909
|
}
|
|
903
|
-
$e["$" + r] =
|
|
910
|
+
$e["$" + r] = Dr(n.get);
|
|
904
911
|
}
|
|
905
|
-
}) : je(
|
|
906
|
-
var e = new
|
|
912
|
+
}) : je(ir, function(r) {
|
|
913
|
+
var e = new Mr[r](), t = e.slice || e.set;
|
|
907
914
|
t && ($e[
|
|
908
915
|
/** @type {`$${import('.').TypedArrayName}`} */
|
|
909
916
|
"$" + r
|
|
910
917
|
] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
|
|
911
918
|
// @ts-expect-error TODO FIXME
|
|
912
|
-
|
|
919
|
+
Dr(t));
|
|
913
920
|
});
|
|
914
|
-
var
|
|
921
|
+
var Wo = function(e) {
|
|
915
922
|
var t = !1;
|
|
916
923
|
return je(
|
|
917
924
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -921,12 +928,12 @@ var xo = function(e) {
|
|
|
921
928
|
if (!t)
|
|
922
929
|
try {
|
|
923
930
|
"$" + n(e) === i && (t = /** @type {import('.').TypedArrayName} */
|
|
924
|
-
|
|
931
|
+
yr(i, 1));
|
|
925
932
|
} catch {
|
|
926
933
|
}
|
|
927
934
|
}
|
|
928
935
|
), t;
|
|
929
|
-
},
|
|
936
|
+
}, zo = function(e) {
|
|
930
937
|
var t = !1;
|
|
931
938
|
return je(
|
|
932
939
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -936,24 +943,24 @@ var xo = function(e) {
|
|
|
936
943
|
if (!t)
|
|
937
944
|
try {
|
|
938
945
|
n(e), t = /** @type {import('.').TypedArrayName} */
|
|
939
|
-
|
|
946
|
+
yr(i, 1);
|
|
940
947
|
} catch {
|
|
941
948
|
}
|
|
942
949
|
}
|
|
943
950
|
), t;
|
|
944
|
-
},
|
|
951
|
+
}, bt = function(e) {
|
|
945
952
|
if (!e || typeof e != "object")
|
|
946
953
|
return !1;
|
|
947
|
-
if (!
|
|
948
|
-
var t =
|
|
949
|
-
return
|
|
954
|
+
if (!mt) {
|
|
955
|
+
var t = yr(Go(e), 8, -1);
|
|
956
|
+
return xo(ir, t) > -1 ? t : t !== "Object" ? !1 : zo(e);
|
|
950
957
|
}
|
|
951
|
-
return Se ?
|
|
952
|
-
},
|
|
953
|
-
return !!
|
|
958
|
+
return Se ? Wo(e) : null;
|
|
959
|
+
}, Vo = bt, qo = function(e) {
|
|
960
|
+
return !!Vo(e);
|
|
954
961
|
};
|
|
955
962
|
(function(r) {
|
|
956
|
-
var e =
|
|
963
|
+
var e = Gn, t = io, n = bt, i = qo;
|
|
957
964
|
function c(s) {
|
|
958
965
|
return s.call.bind(s);
|
|
959
966
|
}
|
|
@@ -962,11 +969,11 @@ var xo = function(e) {
|
|
|
962
969
|
var E = c(BigInt.prototype.valueOf);
|
|
963
970
|
if (d)
|
|
964
971
|
var _ = c(Symbol.prototype.valueOf);
|
|
965
|
-
function T(s,
|
|
972
|
+
function T(s, St) {
|
|
966
973
|
if (typeof s != "object")
|
|
967
974
|
return !1;
|
|
968
975
|
try {
|
|
969
|
-
return
|
|
976
|
+
return St(s), !0;
|
|
970
977
|
} catch {
|
|
971
978
|
return !1;
|
|
972
979
|
}
|
|
@@ -1116,18 +1123,18 @@ var xo = function(e) {
|
|
|
1116
1123
|
return u && T(s, E);
|
|
1117
1124
|
}
|
|
1118
1125
|
r.isBigIntObject = de;
|
|
1119
|
-
function
|
|
1126
|
+
function pr(s) {
|
|
1120
1127
|
return d && T(s, _);
|
|
1121
1128
|
}
|
|
1122
|
-
r.isSymbolObject =
|
|
1123
|
-
function
|
|
1124
|
-
return z(s) || pe(s) || Z(s) || de(s) ||
|
|
1129
|
+
r.isSymbolObject = pr;
|
|
1130
|
+
function At(s) {
|
|
1131
|
+
return z(s) || pe(s) || Z(s) || de(s) || pr(s);
|
|
1125
1132
|
}
|
|
1126
|
-
r.isBoxedPrimitive =
|
|
1127
|
-
function
|
|
1133
|
+
r.isBoxedPrimitive = At;
|
|
1134
|
+
function wt(s) {
|
|
1128
1135
|
return typeof Uint8Array < "u" && (ye(s) || S(s));
|
|
1129
1136
|
}
|
|
1130
|
-
r.isAnyArrayBuffer =
|
|
1137
|
+
r.isAnyArrayBuffer = wt, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(s) {
|
|
1131
1138
|
Object.defineProperty(r, s, {
|
|
1132
1139
|
enumerable: !1,
|
|
1133
1140
|
value: function() {
|
|
@@ -1135,8 +1142,8 @@ var xo = function(e) {
|
|
|
1135
1142
|
}
|
|
1136
1143
|
});
|
|
1137
1144
|
});
|
|
1138
|
-
})(
|
|
1139
|
-
var
|
|
1145
|
+
})(Zr);
|
|
1146
|
+
var Ho = function(e) {
|
|
1140
1147
|
return e && typeof e == "object" && typeof e.copy == "function" && typeof e.fill == "function" && typeof e.readUInt8 == "function";
|
|
1141
1148
|
};
|
|
1142
1149
|
(function(r) {
|
|
@@ -1358,7 +1365,7 @@ var qo = function(e) {
|
|
|
1358
1365
|
`) + " " + o.join(`,
|
|
1359
1366
|
`) + " " + l[1] : l[0] + f + " " + o.join(", ") + " " + l[1];
|
|
1360
1367
|
}
|
|
1361
|
-
r.types =
|
|
1368
|
+
r.types = Zr;
|
|
1362
1369
|
function C(o) {
|
|
1363
1370
|
return Array.isArray(o);
|
|
1364
1371
|
}
|
|
@@ -1415,7 +1422,7 @@ var qo = function(e) {
|
|
|
1415
1422
|
return o === null || typeof o == "boolean" || typeof o == "number" || typeof o == "string" || typeof o == "symbol" || // ES6 symbol
|
|
1416
1423
|
typeof o > "u";
|
|
1417
1424
|
}
|
|
1418
|
-
r.isPrimitive = Re, r.isBuffer =
|
|
1425
|
+
r.isPrimitive = Re, r.isBuffer = Ho;
|
|
1419
1426
|
function G(o) {
|
|
1420
1427
|
return Object.prototype.toString.call(o);
|
|
1421
1428
|
}
|
|
@@ -1446,7 +1453,7 @@ var qo = function(e) {
|
|
|
1446
1453
|
}
|
|
1447
1454
|
r.log = function() {
|
|
1448
1455
|
console.log("%s - %s", _e(), r.format.apply(r, arguments));
|
|
1449
|
-
}, r.inherits =
|
|
1456
|
+
}, r.inherits = Et, r._extend = function(o, f) {
|
|
1450
1457
|
if (!f || !k(f)) return o;
|
|
1451
1458
|
for (var l = Object.keys(f), h = l.length; h--; )
|
|
1452
1459
|
o[l[h]] = f[l[h]];
|
|
@@ -1529,23 +1536,23 @@ var qo = function(e) {
|
|
|
1529
1536
|
), f;
|
|
1530
1537
|
}
|
|
1531
1538
|
r.callbackify = ye;
|
|
1532
|
-
})(
|
|
1533
|
-
var
|
|
1534
|
-
function
|
|
1535
|
-
if (
|
|
1539
|
+
})(Rt);
|
|
1540
|
+
var ei = Jo;
|
|
1541
|
+
function Jo(r, e) {
|
|
1542
|
+
if (Ze("noDeprecation"))
|
|
1536
1543
|
return r;
|
|
1537
1544
|
var t = !1;
|
|
1538
1545
|
function n() {
|
|
1539
1546
|
if (!t) {
|
|
1540
|
-
if (
|
|
1547
|
+
if (Ze("throwDeprecation"))
|
|
1541
1548
|
throw new Error(e);
|
|
1542
|
-
|
|
1549
|
+
Ze("traceDeprecation") ? console.trace(e) : console.warn(e), t = !0;
|
|
1543
1550
|
}
|
|
1544
1551
|
return r.apply(this, arguments);
|
|
1545
1552
|
}
|
|
1546
1553
|
return n;
|
|
1547
1554
|
}
|
|
1548
|
-
function
|
|
1555
|
+
function Ze(r) {
|
|
1549
1556
|
try {
|
|
1550
1557
|
if (!Oe.localStorage) return !1;
|
|
1551
1558
|
} catch {
|
|
@@ -1554,10 +1561,10 @@ function Ke(r) {
|
|
|
1554
1561
|
var e = Oe.localStorage[r];
|
|
1555
1562
|
return e == null ? !1 : String(e).toLowerCase() === "true";
|
|
1556
1563
|
}
|
|
1557
|
-
var
|
|
1558
|
-
function
|
|
1559
|
-
return
|
|
1560
|
-
var t =
|
|
1564
|
+
var Ye = {}, ge = { exports: {} }, kr;
|
|
1565
|
+
function Ko() {
|
|
1566
|
+
return kr || (kr = 1, function(r, e) {
|
|
1567
|
+
var t = Nt, n = t.Buffer;
|
|
1561
1568
|
function i(u, d) {
|
|
1562
1569
|
for (var y in u)
|
|
1563
1570
|
d[y] = u[y];
|
|
@@ -1586,11 +1593,11 @@ function Jo() {
|
|
|
1586
1593
|
};
|
|
1587
1594
|
}(ge, ge.exports)), ge.exports;
|
|
1588
1595
|
}
|
|
1589
|
-
var
|
|
1590
|
-
function
|
|
1591
|
-
if (
|
|
1592
|
-
|
|
1593
|
-
var r =
|
|
1596
|
+
var Gr;
|
|
1597
|
+
function ri() {
|
|
1598
|
+
if (Gr) return Ye;
|
|
1599
|
+
Gr = 1;
|
|
1600
|
+
var r = Ko().Buffer, e = r.isEncoding || function(a) {
|
|
1594
1601
|
switch (a = "" + a, a && a.toLowerCase()) {
|
|
1595
1602
|
case "hex":
|
|
1596
1603
|
case "utf8":
|
|
@@ -1637,7 +1644,7 @@ function ei() {
|
|
|
1637
1644
|
if (typeof p != "string" && (r.isEncoding === e || !e(a))) throw new Error("Unknown encoding: " + a);
|
|
1638
1645
|
return p || a;
|
|
1639
1646
|
}
|
|
1640
|
-
|
|
1647
|
+
Ye.StringDecoder = i;
|
|
1641
1648
|
function i(a) {
|
|
1642
1649
|
this.encoding = n(a);
|
|
1643
1650
|
var p;
|
|
@@ -1742,16 +1749,16 @@ function ei() {
|
|
|
1742
1749
|
function C(a) {
|
|
1743
1750
|
return a && a.length ? this.write(a) : "";
|
|
1744
1751
|
}
|
|
1745
|
-
return
|
|
1752
|
+
return Ye;
|
|
1746
1753
|
}
|
|
1747
1754
|
export {
|
|
1748
|
-
|
|
1749
|
-
|
|
1755
|
+
ri as a,
|
|
1756
|
+
ei as b,
|
|
1750
1757
|
ce as c,
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1758
|
+
Xo as e,
|
|
1759
|
+
st as g,
|
|
1760
|
+
Et as i,
|
|
1761
|
+
Nt as r,
|
|
1755
1762
|
fe as t,
|
|
1756
|
-
|
|
1763
|
+
Rt as u
|
|
1757
1764
|
};
|