@harbour-enterprises/superdoc 0.9.1 → 0.9.2-RC
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-DjLrg1eZ.es.js → index--p8kF7q4.es.js} +2 -2
- package/dist/chunks/{index-BXKGjuVW.cjs → index-D0Gn3n50.cjs} +1 -1
- package/dist/chunks/{index-CqRwYOdx.cjs → index-DRqF1WjP.cjs} +1 -1
- package/dist/chunks/{index-dZKHAFXF.es.js → index-DzzKTGBm.es.js} +1 -1
- package/dist/chunks/{super-editor.es-CesWOk9K.es.js → super-editor.es-BGOho1TT.es.js} +13422 -10623
- package/dist/chunks/super-editor.es-BIngTWKG.cjs +419 -0
- package/dist/chunks/{url-6Xu7gR4T.cjs → url-CwlCXCgE.cjs} +1 -1
- package/dist/chunks/{url-BxDGAI6E.es.js → url-l4UMQ_ni.es.js} +1 -1
- package/dist/chunks/{xml-js-BAML2_fM.es.js → xml-js-BiRf0MmB.es.js} +127 -124
- package/dist/chunks/xml-js-DaJJ07Ae.cjs +10 -0
- package/dist/super-editor/chunks/{converter-DUgvPVCn.js → converter-CXph-aod.js} +4190 -2859
- package/dist/super-editor/chunks/{docx-zipper-CVn2FKtF.js → docx-zipper-OY-dSLv3.js} +1 -1
- package/dist/super-editor/chunks/{editor-BH9UMYEO.js → editor-NjKEL03Q.js} +4926 -3460
- package/dist/super-editor/chunks/{toolbar-D_rS56Sh.js → toolbar-C1BkAej9.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Editor.d.ts +2 -1
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/commands/toggleList.d.ts.map +1 -1
- package/dist/super-editor/core/extensions/keymap.d.ts +3 -0
- package/dist/super-editor/core/extensions/keymap.d.ts.map +1 -1
- package/dist/super-editor/core/helpers/baseListDefinitions.d.ts +444 -0
- package/dist/super-editor/core/helpers/baseListDefinitions.d.ts.map +1 -0
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts +12 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/exporter/helpers/base-list.definitions.d.ts +444 -0
- package/dist/super-editor/core/super-converter/v2/exporter/helpers/base-list.definitions.d.ts.map +1 -0
- package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts +2 -1
- package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/listImporter.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/extensions/bullet-list/bullet-list.d.ts.map +1 -1
- package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
- package/dist/super-editor/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +1 -0
- package/dist/super-editor/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +1 -1
- package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +40 -40
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-DJbCKw0t.d.ts +3 -0
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-DJbCKw0t.d.ts.map +1 -0
- package/dist/super-editor/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
- package/dist/super-editor/tests/export/lists/importExportLists.test.d.ts +2 -0
- package/dist/super-editor/tests/export/lists/importExportLists.test.d.ts.map +1 -0
- package/dist/super-editor/tests/export/lists/testComplexListIssues.test.d.ts +2 -0
- package/dist/super-editor/tests/export/lists/testComplexListIssues.test.d.ts.map +1 -0
- package/dist/super-editor/tests/helpers/helpers.d.ts +4 -0
- package/dist/super-editor/tests/helpers/helpers.d.ts.map +1 -1
- package/dist/super-editor/tests/import/listImporterBasic.test.d.ts +2 -0
- package/dist/super-editor/tests/import/listImporterBasic.test.d.ts.map +1 -0
- package/dist/super-editor/tests/import/listImporterCustomLists.test.d.ts +2 -0
- package/dist/super-editor/tests/import/listImporterCustomLists.test.d.ts.map +1 -0
- package/dist/super-editor/tests/playwright/playwright-test/dist/assets/index-CRixhnI8.d.ts +3 -0
- package/dist/super-editor/tests/playwright/playwright-test/dist/assets/index-CRixhnI8.d.ts.map +1 -0
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +6 -6
- package/dist/superdoc.cjs +5 -5
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +11039 -8242
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/super-editor.es-D5Y1l4NA.cjs +0 -419
- package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
|
@@ -241,7 +241,7 @@ 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
|
|
244
|
+
var Yo = ir.exports;
|
|
245
245
|
const Ft = /* @__PURE__ */ wt(St);
|
|
246
246
|
var It = {}, Jr = {}, Kr = function() {
|
|
247
247
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
@@ -298,10 +298,17 @@ function Jt() {
|
|
|
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 Qr = typeof Reflect < "u" && Reflect.getPrototypeOf || null,
|
|
302
|
-
function
|
|
301
|
+
var Qr = typeof Reflect < "u" && Reflect.getPrototypeOf || null, Le, gr;
|
|
302
|
+
function Xr() {
|
|
303
303
|
if (gr) return Le;
|
|
304
304
|
gr = 1;
|
|
305
|
+
var r = Zr;
|
|
306
|
+
return Le = r.getPrototypeOf || null, Le;
|
|
307
|
+
}
|
|
308
|
+
var Ue, vr;
|
|
309
|
+
function Kt() {
|
|
310
|
+
if (vr) return Ue;
|
|
311
|
+
vr = 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,28 +348,24 @@ function Zt() {
|
|
|
341
348
|
C.prototype = m.prototype, $.prototype = new C(), C.prototype = null;
|
|
342
349
|
}
|
|
343
350
|
return $;
|
|
344
|
-
},
|
|
345
|
-
}
|
|
346
|
-
var Ue, vr;
|
|
347
|
-
function se() {
|
|
348
|
-
if (vr) return Ue;
|
|
349
|
-
vr = 1;
|
|
350
|
-
var r = Zt();
|
|
351
|
-
return Ue = Function.prototype.bind || r, Ue;
|
|
351
|
+
}, Ue;
|
|
352
352
|
}
|
|
353
353
|
var De, mr;
|
|
354
|
-
function
|
|
355
|
-
|
|
354
|
+
function se() {
|
|
355
|
+
if (mr) return De;
|
|
356
|
+
mr = 1;
|
|
357
|
+
var r = Kt();
|
|
358
|
+
return De = Function.prototype.bind || r, De;
|
|
356
359
|
}
|
|
357
|
-
var Me, br;
|
|
360
|
+
var ar = Function.prototype.call, Me, br;
|
|
358
361
|
function fr() {
|
|
359
362
|
return br || (br = 1, Me = Function.prototype.apply), Me;
|
|
360
363
|
}
|
|
361
|
-
var
|
|
364
|
+
var Zt = typeof Reflect < "u" && Reflect && Reflect.apply, Yt = se(), Qt = fr(), Xt = ar, en = Zt, et = en || Yt.call(Xt, Qt), rn = se(), tn = fe, nn = ar, on = et, sr = function(e) {
|
|
362
365
|
if (e.length < 1 || typeof e[0] != "function")
|
|
363
|
-
throw new
|
|
364
|
-
return
|
|
365
|
-
},
|
|
366
|
+
throw new tn("a function is required");
|
|
367
|
+
return on(rn, nn, e);
|
|
368
|
+
}, an = sr, Ar = oe, rt;
|
|
366
369
|
try {
|
|
367
370
|
rt = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
368
371
|
[].__proto__ === Array.prototype;
|
|
@@ -374,12 +377,12 @@ var ke = !!rt && Ar && Ar(
|
|
|
374
377
|
Object.prototype,
|
|
375
378
|
/** @type {keyof typeof Object.prototype} */
|
|
376
379
|
"__proto__"
|
|
377
|
-
), tt = Object, wr = tt.getPrototypeOf,
|
|
380
|
+
), tt = Object, wr = tt.getPrototypeOf, fn = ke && typeof ke.get == "function" ? an([ke.get]) : typeof wr == "function" ? (
|
|
378
381
|
/** @type {import('./get')} */
|
|
379
382
|
function(e) {
|
|
380
383
|
return wr(e == null ? e : tt(e));
|
|
381
384
|
}
|
|
382
|
-
) : !1, Sr = Qr, Or = Xr, Pr =
|
|
385
|
+
) : !1, Sr = Qr, Or = Xr(), Pr = fn, ur = Sr ? function(e) {
|
|
383
386
|
return Sr(e);
|
|
384
387
|
} : Or ? function(e) {
|
|
385
388
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
@@ -394,14 +397,14 @@ function nt() {
|
|
|
394
397
|
var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = se();
|
|
395
398
|
return Ge = t.call(r, e), Ge;
|
|
396
399
|
}
|
|
397
|
-
var v,
|
|
400
|
+
var v, sn = Zr, un = Rt, ln = _t, cn = Ct, yn = Lt, ne = Yr, te = fe, pn = Ut, dn = Dt, hn = Mt, gn = kt, vn = Gt, mn = xt, bn = Wt, An = qt, ot = Function, xe = function(r) {
|
|
398
401
|
try {
|
|
399
402
|
return ot('"use strict"; return (' + r + ").constructor;")();
|
|
400
403
|
} catch {
|
|
401
404
|
}
|
|
402
|
-
}, ae = oe,
|
|
405
|
+
}, ae = oe, wn = Fe, We = function() {
|
|
403
406
|
throw new te();
|
|
404
|
-
},
|
|
407
|
+
}, Sn = ae ? function() {
|
|
405
408
|
try {
|
|
406
409
|
return arguments.callee, We;
|
|
407
410
|
} catch {
|
|
@@ -411,7 +414,7 @@ var v, un = Zr, ln = Rt, cn = _t, yn = Ct, pn = Lt, ne = Yr, te = fe, dn = Ut, h
|
|
|
411
414
|
return We;
|
|
412
415
|
}
|
|
413
416
|
}
|
|
414
|
-
}() : We, Y = Jt()(), F = ur,
|
|
417
|
+
}() : We, Y = Jt()(), F = ur, On = Xr(), Pn = Qr, it = fr(), ue = ar, X = {}, En = typeof Uint8Array > "u" || !F ? v : F(Uint8Array), V = {
|
|
415
418
|
__proto__: null,
|
|
416
419
|
"%AggregateError%": typeof AggregateError > "u" ? v : AggregateError,
|
|
417
420
|
"%Array%": Array,
|
|
@@ -433,10 +436,10 @@ var v, un = Zr, ln = Rt, cn = _t, yn = Ct, pn = Lt, ne = Yr, te = fe, dn = Ut, h
|
|
|
433
436
|
"%decodeURIComponent%": decodeURIComponent,
|
|
434
437
|
"%encodeURI%": encodeURI,
|
|
435
438
|
"%encodeURIComponent%": encodeURIComponent,
|
|
436
|
-
"%Error%":
|
|
439
|
+
"%Error%": un,
|
|
437
440
|
"%eval%": eval,
|
|
438
441
|
// eslint-disable-line no-eval
|
|
439
|
-
"%EvalError%":
|
|
442
|
+
"%EvalError%": ln,
|
|
440
443
|
"%Float16Array%": typeof Float16Array > "u" ? v : Float16Array,
|
|
441
444
|
"%Float32Array%": typeof Float32Array > "u" ? v : Float32Array,
|
|
442
445
|
"%Float64Array%": typeof Float64Array > "u" ? v : Float64Array,
|
|
@@ -454,14 +457,14 @@ var v, un = Zr, ln = Rt, cn = _t, yn = Ct, pn = Lt, ne = Yr, te = fe, dn = Ut, h
|
|
|
454
457
|
"%MapIteratorPrototype%": typeof Map > "u" || !Y || !F ? v : F((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
455
458
|
"%Math%": Math,
|
|
456
459
|
"%Number%": Number,
|
|
457
|
-
"%Object%":
|
|
460
|
+
"%Object%": sn,
|
|
458
461
|
"%Object.getOwnPropertyDescriptor%": ae,
|
|
459
462
|
"%parseFloat%": parseFloat,
|
|
460
463
|
"%parseInt%": parseInt,
|
|
461
464
|
"%Promise%": typeof Promise > "u" ? v : Promise,
|
|
462
465
|
"%Proxy%": typeof Proxy > "u" ? v : Proxy,
|
|
463
|
-
"%RangeError%":
|
|
464
|
-
"%ReferenceError%":
|
|
466
|
+
"%RangeError%": cn,
|
|
467
|
+
"%ReferenceError%": yn,
|
|
465
468
|
"%Reflect%": typeof Reflect > "u" ? v : Reflect,
|
|
466
469
|
"%RegExp%": RegExp,
|
|
467
470
|
"%Set%": typeof Set > "u" ? v : Set,
|
|
@@ -471,38 +474,38 @@ var v, un = Zr, ln = Rt, cn = _t, yn = Ct, pn = Lt, ne = Yr, te = fe, dn = Ut, h
|
|
|
471
474
|
"%StringIteratorPrototype%": Y && F ? F(""[Symbol.iterator]()) : v,
|
|
472
475
|
"%Symbol%": Y ? Symbol : v,
|
|
473
476
|
"%SyntaxError%": ne,
|
|
474
|
-
"%ThrowTypeError%":
|
|
475
|
-
"%TypedArray%":
|
|
477
|
+
"%ThrowTypeError%": Sn,
|
|
478
|
+
"%TypedArray%": En,
|
|
476
479
|
"%TypeError%": te,
|
|
477
480
|
"%Uint8Array%": typeof Uint8Array > "u" ? v : Uint8Array,
|
|
478
481
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? v : Uint8ClampedArray,
|
|
479
482
|
"%Uint16Array%": typeof Uint16Array > "u" ? v : Uint16Array,
|
|
480
483
|
"%Uint32Array%": typeof Uint32Array > "u" ? v : Uint32Array,
|
|
481
|
-
"%URIError%":
|
|
484
|
+
"%URIError%": pn,
|
|
482
485
|
"%WeakMap%": typeof WeakMap > "u" ? v : WeakMap,
|
|
483
486
|
"%WeakRef%": typeof WeakRef > "u" ? v : WeakRef,
|
|
484
487
|
"%WeakSet%": typeof WeakSet > "u" ? v : WeakSet,
|
|
485
488
|
"%Function.prototype.call%": ue,
|
|
486
489
|
"%Function.prototype.apply%": it,
|
|
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%":
|
|
490
|
+
"%Object.defineProperty%": wn,
|
|
491
|
+
"%Object.getPrototypeOf%": On,
|
|
492
|
+
"%Math.abs%": dn,
|
|
493
|
+
"%Math.floor%": hn,
|
|
494
|
+
"%Math.max%": gn,
|
|
495
|
+
"%Math.min%": vn,
|
|
496
|
+
"%Math.pow%": mn,
|
|
497
|
+
"%Math.round%": bn,
|
|
498
|
+
"%Math.sign%": An,
|
|
499
|
+
"%Reflect.getPrototypeOf%": Pn
|
|
497
500
|
};
|
|
498
501
|
if (F)
|
|
499
502
|
try {
|
|
500
503
|
null.error;
|
|
501
504
|
} catch (r) {
|
|
502
|
-
var
|
|
503
|
-
V["%Error.prototype%"] =
|
|
505
|
+
var jn = F(F(r));
|
|
506
|
+
V["%Error.prototype%"] = jn;
|
|
504
507
|
}
|
|
505
|
-
var
|
|
508
|
+
var $n = function r(e) {
|
|
506
509
|
var t;
|
|
507
510
|
if (e === "%AsyncFunction%")
|
|
508
511
|
t = xe("async function () {}");
|
|
@@ -571,21 +574,21 @@ var Bn = function r(e) {
|
|
|
571
574
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
572
575
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
573
576
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
574
|
-
}, le = se(), Pe = nt(),
|
|
577
|
+
}, le = se(), Pe = nt(), Bn = le.call(ue, Array.prototype.concat), Tn = le.call(it, Array.prototype.splice), $r = le.call(ue, String.prototype.replace), Ee = le.call(ue, String.prototype.slice), Fn = le.call(ue, RegExp.prototype.exec), In = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Nn = /\\(\\)?/g, Rn = function(e) {
|
|
575
578
|
var t = Ee(e, 0, 1), n = Ee(e, -1);
|
|
576
579
|
if (t === "%" && n !== "%")
|
|
577
580
|
throw new ne("invalid intrinsic syntax, expected closing `%`");
|
|
578
581
|
if (n === "%" && t !== "%")
|
|
579
582
|
throw new ne("invalid intrinsic syntax, expected opening `%`");
|
|
580
583
|
var i = [];
|
|
581
|
-
return $r(e,
|
|
582
|
-
i[i.length] = d ? $r(y,
|
|
584
|
+
return $r(e, In, function(c, u, d, y) {
|
|
585
|
+
i[i.length] = d ? $r(y, Nn, "$1") : u || c;
|
|
583
586
|
}), i;
|
|
584
|
-
},
|
|
587
|
+
}, _n = function(e, t) {
|
|
585
588
|
var n = e, i;
|
|
586
589
|
if (Pe(jr, n) && (i = jr[n], n = "%" + i[0] + "%"), Pe(V, n)) {
|
|
587
590
|
var c = V[n];
|
|
588
|
-
if (c === X && (c =
|
|
591
|
+
if (c === X && (c = $n(n)), typeof c > "u" && !t)
|
|
589
592
|
throw new te("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
590
593
|
return {
|
|
591
594
|
alias: i,
|
|
@@ -599,10 +602,10 @@ var Bn = function r(e) {
|
|
|
599
602
|
throw new te("intrinsic name must be a non-empty string");
|
|
600
603
|
if (arguments.length > 1 && typeof t != "boolean")
|
|
601
604
|
throw new te('"allowMissing" argument must be a boolean');
|
|
602
|
-
if (
|
|
605
|
+
if (Fn(/^%?[^%]*%?$/, e) === null)
|
|
603
606
|
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],
|
|
607
|
+
var n = Rn(e), i = n.length > 0 ? n[0] : "", c = _n("%" + i + "%", t), u = c.name, d = c.value, y = !1, m = c.alias;
|
|
608
|
+
m && (i = m[0], Tn(n, Bn([0, 1], m)));
|
|
606
609
|
for (var w = 1, $ = !0; w < n.length; w += 1) {
|
|
607
610
|
var E = n[w], _ = Ee(E, 0, 1), T = Ee(E, -1);
|
|
608
611
|
if ((_ === '"' || _ === "'" || _ === "`" || T === '"' || T === "'" || T === "`") && _ !== T)
|
|
@@ -624,26 +627,26 @@ var Bn = function r(e) {
|
|
|
624
627
|
}
|
|
625
628
|
}
|
|
626
629
|
return d;
|
|
627
|
-
}, ft = at, st = sr,
|
|
630
|
+
}, ft = at, st = sr, Cn = st([ft("%String.prototype.indexOf%")]), ce = function(e, t) {
|
|
628
631
|
var n = (
|
|
629
632
|
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
630
633
|
ft(e, !!t)
|
|
631
634
|
);
|
|
632
|
-
return typeof n == "function" &&
|
|
635
|
+
return typeof n == "function" && Cn(e, ".prototype.") > -1 ? st(
|
|
633
636
|
/** @type {const} */
|
|
634
637
|
[n]
|
|
635
638
|
) : n;
|
|
636
|
-
},
|
|
637
|
-
return
|
|
639
|
+
}, Ln = Te(), Un = ce, Qe = Un("Object.prototype.toString"), Ie = function(e) {
|
|
640
|
+
return Ln && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Qe(e) === "[object Arguments]";
|
|
638
641
|
}, ut = function(e) {
|
|
639
642
|
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
|
-
},
|
|
643
|
+
}, Dn = function() {
|
|
641
644
|
return Ie(arguments);
|
|
642
645
|
}();
|
|
643
646
|
Ie.isLegacyArguments = ut;
|
|
644
|
-
var
|
|
645
|
-
if (
|
|
646
|
-
var
|
|
647
|
+
var Mn = Dn ? Ie : ut, Br = ce, kn = Te(), Gn = nt(), xn = oe, Xe;
|
|
648
|
+
if (kn) {
|
|
649
|
+
var Wn = Br("RegExp.prototype.exec"), Tr = {}, ze = function() {
|
|
647
650
|
throw Tr;
|
|
648
651
|
}, Fr = {
|
|
649
652
|
toString: ze,
|
|
@@ -654,16 +657,16 @@ if (Gn) {
|
|
|
654
657
|
return !1;
|
|
655
658
|
var t = (
|
|
656
659
|
/** @type {NonNullable<typeof gOPD>} */
|
|
657
|
-
|
|
660
|
+
xn(
|
|
658
661
|
/** @type {{ lastIndex?: unknown }} */
|
|
659
662
|
e,
|
|
660
663
|
"lastIndex"
|
|
661
664
|
)
|
|
662
|
-
), n = t &&
|
|
665
|
+
), n = t && Gn(t, "value");
|
|
663
666
|
if (!n)
|
|
664
667
|
return !1;
|
|
665
668
|
try {
|
|
666
|
-
|
|
669
|
+
Wn(
|
|
667
670
|
e,
|
|
668
671
|
/** @type {string} */
|
|
669
672
|
/** @type {unknown} */
|
|
@@ -674,37 +677,37 @@ if (Gn) {
|
|
|
674
677
|
}
|
|
675
678
|
};
|
|
676
679
|
} else {
|
|
677
|
-
var
|
|
680
|
+
var zn = Br("Object.prototype.toString"), Vn = "[object RegExp]";
|
|
678
681
|
Xe = function(e) {
|
|
679
|
-
return !e || typeof e != "object" && typeof e != "function" ? !1 :
|
|
682
|
+
return !e || typeof e != "object" && typeof e != "function" ? !1 : zn(e) === Vn;
|
|
680
683
|
};
|
|
681
684
|
}
|
|
682
|
-
var
|
|
683
|
-
if (!
|
|
684
|
-
throw new
|
|
685
|
+
var qn = Xe, Hn = ce, Jn = qn, Kn = Hn("RegExp.prototype.exec"), Zn = fe, Yn = function(e) {
|
|
686
|
+
if (!Jn(e))
|
|
687
|
+
throw new Zn("`regex` must be a RegExp");
|
|
685
688
|
return function(n) {
|
|
686
|
-
return
|
|
689
|
+
return Kn(e, n) !== null;
|
|
687
690
|
};
|
|
688
|
-
}, lt = ce,
|
|
691
|
+
}, lt = ce, Qn = Yn, Xn = Qn(/^\s*(?:function)?\*/), ct = Te(), Ve = ur, eo = lt("Object.prototype.toString"), ro = lt("Function.prototype.toString"), to = function() {
|
|
689
692
|
if (!ct)
|
|
690
693
|
return !1;
|
|
691
694
|
try {
|
|
692
695
|
return Function("return function*() {}")();
|
|
693
696
|
} catch {
|
|
694
697
|
}
|
|
695
|
-
}, qe,
|
|
698
|
+
}, qe, no = function(e) {
|
|
696
699
|
if (typeof e != "function")
|
|
697
700
|
return !1;
|
|
698
|
-
if (
|
|
701
|
+
if (Xn(ro(e)))
|
|
699
702
|
return !0;
|
|
700
703
|
if (!ct) {
|
|
701
|
-
var t =
|
|
704
|
+
var t = eo(e);
|
|
702
705
|
return t === "[object GeneratorFunction]";
|
|
703
706
|
}
|
|
704
707
|
if (!Ve)
|
|
705
708
|
return !1;
|
|
706
709
|
if (typeof qe > "u") {
|
|
707
|
-
var n =
|
|
710
|
+
var n = to();
|
|
708
711
|
qe = n ? (
|
|
709
712
|
/** @type {GeneratorFunctionConstructor} */
|
|
710
713
|
Ve(n)
|
|
@@ -726,10 +729,10 @@ if (typeof ee == "function" && typeof Object.defineProperty == "function")
|
|
|
726
729
|
}
|
|
727
730
|
else
|
|
728
731
|
ee = null;
|
|
729
|
-
var
|
|
732
|
+
var oo = /^\s*class\b/, rr = function(e) {
|
|
730
733
|
try {
|
|
731
734
|
var t = yt.call(e);
|
|
732
|
-
return
|
|
735
|
+
return oo.test(t);
|
|
733
736
|
} catch {
|
|
734
737
|
return !1;
|
|
735
738
|
}
|
|
@@ -739,22 +742,22 @@ var io = /^\s*class\b/, rr = function(e) {
|
|
|
739
742
|
} catch {
|
|
740
743
|
return !1;
|
|
741
744
|
}
|
|
742
|
-
}, we = Object.prototype.toString,
|
|
745
|
+
}, we = Object.prototype.toString, io = "[object Object]", ao = "[object Function]", fo = "[object GeneratorFunction]", so = "[object HTMLAllCollection]", uo = "[object HTML document.all class]", lo = "[object HTMLCollection]", co = typeof Symbol == "function" && !!Symbol.toStringTag, yo = !(0 in [,]), tr = function() {
|
|
743
746
|
return !1;
|
|
744
747
|
};
|
|
745
748
|
if (typeof document == "object") {
|
|
746
|
-
var
|
|
747
|
-
we.call(
|
|
748
|
-
if ((
|
|
749
|
+
var po = document.all;
|
|
750
|
+
we.call(po) === we.call(document.all) && (tr = function(e) {
|
|
751
|
+
if ((yo || !e) && (typeof e > "u" || typeof e == "object"))
|
|
749
752
|
try {
|
|
750
753
|
var t = we.call(e);
|
|
751
|
-
return (t ===
|
|
754
|
+
return (t === so || t === uo || t === lo || t === io) && e("") == null;
|
|
752
755
|
} catch {
|
|
753
756
|
}
|
|
754
757
|
return !1;
|
|
755
758
|
});
|
|
756
759
|
}
|
|
757
|
-
var
|
|
760
|
+
var ho = ee ? function(e) {
|
|
758
761
|
if (tr(e))
|
|
759
762
|
return !0;
|
|
760
763
|
if (!e || typeof e != "function" && typeof e != "object")
|
|
@@ -771,31 +774,31 @@ var go = ee ? function(e) {
|
|
|
771
774
|
return !0;
|
|
772
775
|
if (!e || typeof e != "function" && typeof e != "object")
|
|
773
776
|
return !1;
|
|
774
|
-
if (
|
|
777
|
+
if (co)
|
|
775
778
|
return He(e);
|
|
776
779
|
if (rr(e))
|
|
777
780
|
return !1;
|
|
778
781
|
var t = we.call(e);
|
|
779
|
-
return t !==
|
|
780
|
-
},
|
|
782
|
+
return t !== ao && t !== fo && !/^\[object HTML/.test(t) ? !1 : He(e);
|
|
783
|
+
}, go = ho, vo = Object.prototype.toString, pt = Object.prototype.hasOwnProperty, mo = function(e, t, n) {
|
|
781
784
|
for (var i = 0, c = e.length; i < c; i++)
|
|
782
785
|
pt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
|
|
783
|
-
},
|
|
786
|
+
}, bo = function(e, t, n) {
|
|
784
787
|
for (var i = 0, c = e.length; i < c; i++)
|
|
785
788
|
n == null ? t(e.charAt(i), i, e) : t.call(n, e.charAt(i), i, e);
|
|
786
|
-
},
|
|
789
|
+
}, Ao = function(e, t, n) {
|
|
787
790
|
for (var i in e)
|
|
788
791
|
pt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
|
|
789
792
|
};
|
|
790
|
-
function
|
|
791
|
-
return
|
|
793
|
+
function wo(r) {
|
|
794
|
+
return vo.call(r) === "[object Array]";
|
|
792
795
|
}
|
|
793
|
-
var
|
|
794
|
-
if (!
|
|
796
|
+
var So = function(e, t, n) {
|
|
797
|
+
if (!go(t))
|
|
795
798
|
throw new TypeError("iterator must be a function");
|
|
796
799
|
var i;
|
|
797
|
-
arguments.length >= 3 && (i = n),
|
|
798
|
-
},
|
|
800
|
+
arguments.length >= 3 && (i = n), wo(e) ? mo(e, t, i) : typeof e == "string" ? bo(e, t, i) : Ao(e, t, i);
|
|
801
|
+
}, Oo = [
|
|
799
802
|
"Float16Array",
|
|
800
803
|
"Float32Array",
|
|
801
804
|
"Float64Array",
|
|
@@ -808,11 +811,11 @@ var Oo = function(e, t, n) {
|
|
|
808
811
|
"Uint32Array",
|
|
809
812
|
"BigInt64Array",
|
|
810
813
|
"BigUint64Array"
|
|
811
|
-
], Je =
|
|
814
|
+
], Je = Oo, Po = typeof globalThis > "u" ? Oe : globalThis, Eo = function() {
|
|
812
815
|
for (var e = [], t = 0; t < Je.length; t++)
|
|
813
|
-
typeof
|
|
816
|
+
typeof Po[Je[t]] == "function" && (e[e.length] = Je[t]);
|
|
814
817
|
return e;
|
|
815
|
-
}, dt = { exports: {} }, Ir = Fe,
|
|
818
|
+
}, dt = { exports: {} }, Ir = Fe, jo = Yr, Q = fe, Nr = oe, $o = function(e, t, n) {
|
|
816
819
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
817
820
|
throw new Q("`obj` must be an object or a function`");
|
|
818
821
|
if (typeof t != "string" && typeof t != "symbol")
|
|
@@ -836,7 +839,7 @@ var Oo = function(e, t, n) {
|
|
|
836
839
|
else if (d || !i && !c && !u)
|
|
837
840
|
e[t] = n;
|
|
838
841
|
else
|
|
839
|
-
throw new
|
|
842
|
+
throw new jo("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
840
843
|
}, nr = Fe, ht = function() {
|
|
841
844
|
return !!nr;
|
|
842
845
|
};
|
|
@@ -849,17 +852,17 @@ ht.hasArrayLengthDefineBug = function() {
|
|
|
849
852
|
return !0;
|
|
850
853
|
}
|
|
851
854
|
};
|
|
852
|
-
var
|
|
855
|
+
var Bo = ht, To = at, Rr = $o, Fo = Bo(), _r = oe, Cr = fe, Io = To("%Math.floor%"), No = function(e, t) {
|
|
853
856
|
if (typeof e != "function")
|
|
854
857
|
throw new Cr("`fn` is not a function");
|
|
855
|
-
if (typeof t != "number" || t < 0 || t > 4294967295 ||
|
|
858
|
+
if (typeof t != "number" || t < 0 || t > 4294967295 || Io(t) !== t)
|
|
856
859
|
throw new Cr("`length` must be a positive 32-bit integer");
|
|
857
860
|
var n = arguments.length > 2 && !!arguments[2], i = !0, c = !0;
|
|
858
861
|
if ("length" in e && _r) {
|
|
859
862
|
var u = _r(e, "length");
|
|
860
863
|
u && !u.configurable && (i = !1), u && !u.writable && (c = !1);
|
|
861
864
|
}
|
|
862
|
-
return (i || c || !n) && (
|
|
865
|
+
return (i || c || !n) && (Fo ? Rr(
|
|
863
866
|
/** @type {Parameters<define>[0]} */
|
|
864
867
|
e,
|
|
865
868
|
"length",
|
|
@@ -872,11 +875,11 @@ var To = ht, Fo = at, Rr = Bo, Io = To(), _r = oe, Cr = fe, No = Fo("%Math.floor
|
|
|
872
875
|
"length",
|
|
873
876
|
t
|
|
874
877
|
)), e;
|
|
875
|
-
},
|
|
876
|
-
return
|
|
878
|
+
}, Ro = se(), _o = fr(), Co = et, Lo = function() {
|
|
879
|
+
return Co(Ro, _o, arguments);
|
|
877
880
|
};
|
|
878
881
|
(function(r) {
|
|
879
|
-
var e =
|
|
882
|
+
var e = No, t = Fe, n = sr, i = Lo;
|
|
880
883
|
r.exports = function(u) {
|
|
881
884
|
var d = n(arguments), y = u.length - (arguments.length - 1);
|
|
882
885
|
return e(
|
|
@@ -886,7 +889,7 @@ var To = ht, Fo = at, Rr = Bo, Io = To(), _r = oe, Cr = fe, No = Fo("%Math.floor
|
|
|
886
889
|
);
|
|
887
890
|
}, t ? t(r.exports, "apply", { value: i }) : r.exports.apply = i;
|
|
888
891
|
})(dt);
|
|
889
|
-
var
|
|
892
|
+
var Uo = dt.exports, je = So, Do = Eo, Lr = Uo, lr = ce, Se = oe, he = ur, Mo = lr("Object.prototype.toString"), gt = Te(), Ur = typeof globalThis > "u" ? Oe : globalThis, or = Do(), cr = lr("String.prototype.slice"), ko = lr("Array.prototype.indexOf", !0) || function(e, t) {
|
|
890
893
|
for (var n = 0; n < e.length; n += 1)
|
|
891
894
|
if (e[n] === t)
|
|
892
895
|
return n;
|
|
@@ -911,7 +914,7 @@ gt && Se && he ? je(or, function(r) {
|
|
|
911
914
|
// @ts-expect-error TODO FIXME
|
|
912
915
|
Lr(t));
|
|
913
916
|
});
|
|
914
|
-
var
|
|
917
|
+
var Go = function(e) {
|
|
915
918
|
var t = !1;
|
|
916
919
|
return je(
|
|
917
920
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -926,7 +929,7 @@ var xo = function(e) {
|
|
|
926
929
|
}
|
|
927
930
|
}
|
|
928
931
|
), t;
|
|
929
|
-
},
|
|
932
|
+
}, xo = function(e) {
|
|
930
933
|
var t = !1;
|
|
931
934
|
return je(
|
|
932
935
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -945,15 +948,15 @@ var xo = function(e) {
|
|
|
945
948
|
if (!e || typeof e != "object")
|
|
946
949
|
return !1;
|
|
947
950
|
if (!gt) {
|
|
948
|
-
var t = cr(
|
|
949
|
-
return
|
|
951
|
+
var t = cr(Mo(e), 8, -1);
|
|
952
|
+
return ko(or, t) > -1 ? t : t !== "Object" ? !1 : xo(e);
|
|
950
953
|
}
|
|
951
|
-
return Se ?
|
|
952
|
-
},
|
|
953
|
-
return !!
|
|
954
|
+
return Se ? Go(e) : null;
|
|
955
|
+
}, Wo = vt, zo = function(e) {
|
|
956
|
+
return !!Wo(e);
|
|
954
957
|
};
|
|
955
958
|
(function(r) {
|
|
956
|
-
var e =
|
|
959
|
+
var e = Mn, t = no, n = vt, i = zo;
|
|
957
960
|
function c(s) {
|
|
958
961
|
return s.call.bind(s);
|
|
959
962
|
}
|
|
@@ -1136,7 +1139,7 @@ var xo = function(e) {
|
|
|
1136
1139
|
});
|
|
1137
1140
|
});
|
|
1138
1141
|
})(Jr);
|
|
1139
|
-
var
|
|
1142
|
+
var Vo = function(e) {
|
|
1140
1143
|
return e && typeof e == "object" && typeof e.copy == "function" && typeof e.fill == "function" && typeof e.readUInt8 == "function";
|
|
1141
1144
|
};
|
|
1142
1145
|
(function(r) {
|
|
@@ -1415,7 +1418,7 @@ var qo = function(e) {
|
|
|
1415
1418
|
return o === null || typeof o == "boolean" || typeof o == "number" || typeof o == "string" || typeof o == "symbol" || // ES6 symbol
|
|
1416
1419
|
typeof o > "u";
|
|
1417
1420
|
}
|
|
1418
|
-
r.isPrimitive = Re, r.isBuffer =
|
|
1421
|
+
r.isPrimitive = Re, r.isBuffer = Vo;
|
|
1419
1422
|
function G(o) {
|
|
1420
1423
|
return Object.prototype.toString.call(o);
|
|
1421
1424
|
}
|
|
@@ -1530,8 +1533,8 @@ var qo = function(e) {
|
|
|
1530
1533
|
}
|
|
1531
1534
|
r.callbackify = ye;
|
|
1532
1535
|
})(It);
|
|
1533
|
-
var
|
|
1534
|
-
function
|
|
1536
|
+
var Qo = qo;
|
|
1537
|
+
function qo(r, e) {
|
|
1535
1538
|
if (Ke("noDeprecation"))
|
|
1536
1539
|
return r;
|
|
1537
1540
|
var t = !1;
|
|
@@ -1555,7 +1558,7 @@ function Ke(r) {
|
|
|
1555
1558
|
return e == null ? !1 : String(e).toLowerCase() === "true";
|
|
1556
1559
|
}
|
|
1557
1560
|
var Ze = {}, ge = { exports: {} }, Dr;
|
|
1558
|
-
function
|
|
1561
|
+
function Ho() {
|
|
1559
1562
|
return Dr || (Dr = 1, function(r, e) {
|
|
1560
1563
|
var t = Ft, n = t.Buffer;
|
|
1561
1564
|
function i(u, d) {
|
|
@@ -1587,10 +1590,10 @@ function Jo() {
|
|
|
1587
1590
|
}(ge, ge.exports)), ge.exports;
|
|
1588
1591
|
}
|
|
1589
1592
|
var Mr;
|
|
1590
|
-
function
|
|
1593
|
+
function Xo() {
|
|
1591
1594
|
if (Mr) return Ze;
|
|
1592
1595
|
Mr = 1;
|
|
1593
|
-
var r =
|
|
1596
|
+
var r = Ho().Buffer, e = r.isEncoding || function(a) {
|
|
1594
1597
|
switch (a = "" + a, a && a.toLowerCase()) {
|
|
1595
1598
|
case "hex":
|
|
1596
1599
|
case "utf8":
|
|
@@ -1745,10 +1748,10 @@ function ei() {
|
|
|
1745
1748
|
return Ze;
|
|
1746
1749
|
}
|
|
1747
1750
|
export {
|
|
1748
|
-
|
|
1749
|
-
|
|
1751
|
+
Xo as a,
|
|
1752
|
+
Qo as b,
|
|
1750
1753
|
ce as c,
|
|
1751
|
-
|
|
1754
|
+
Yo as e,
|
|
1752
1755
|
at as g,
|
|
1753
1756
|
Ot as i,
|
|
1754
1757
|
Ft as r,
|