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