@opencloud-eu/web-client 8.1.0 → 8.2.0
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/{axios-CiL7Z3dm.js → axios-DRPhbClr.js} +13 -49
- package/dist/{dist-p2k0FYjB.js → dist-CHy-DaIN.js} +1 -1
- package/dist/{generated-5SvS30Rr.js → generated-4nR8KA38.js} +435 -267
- package/dist/{graph-u53S3WT9.js → graph-CwVan2Jp.js} +148 -123
- package/dist/{helpers-CrYtf7Ol.js → helpers-Bh5xR_vg.js} +45 -36
- package/dist/{ocs-CDSkdguM.js → ocs-Dfdjrujs.js} +407 -432
- package/dist/{schemas-BlxXwTjV.js → schemas-rdabTCJb.js} +1014 -1008
- package/dist/src/errors.d.ts +2 -1
- package/dist/src/graph/generated/api.d.ts +527 -0
- package/dist/src/graph/guestLinks/guestLinks.d.ts +3 -0
- package/dist/src/graph/guestLinks/index.d.ts +2 -0
- package/dist/src/graph/guestLinks/types.d.ts +13 -0
- package/dist/src/graph/index.d.ts +3 -0
- package/dist/src/graph/types.d.ts +1 -0
- package/dist/src/helpers/resource/types.d.ts +2 -1
- package/dist/src/helpers/share/types.d.ts +3 -0
- package/dist/src/helpers/space/functions.d.ts +2 -2
- package/dist/src/ocs/capabilities.d.ts +1 -0
- package/dist/src/webdav/client/dav.d.ts +3 -1
- package/dist/src/webdav/client/parsers.d.ts +1 -0
- package/dist/src/webdav/constants/dav.d.ts +5 -1
- package/dist/src/webdav/index.d.ts +1 -1
- package/dist/{toString-CVetDRwx.js → toString-uorCN9F3.js} +1 -1
- package/dist/web-client/graph/generated.js +1 -2
- package/dist/web-client/graph.js +1 -2
- package/dist/web-client/ocs.js +1 -2
- package/dist/web-client/ox.js +1 -1
- package/dist/web-client/sse.js +1 -1
- package/dist/web-client/webdav.js +2 -2
- package/dist/web-client.js +4 -4
- package/dist/{webdav-BdeuuZHv.js → webdav-DrQsSfxZ.js} +95 -86
- package/package.json +1 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./urlJoin-_pUL1TUx.js";
|
|
2
|
-
import { a as t, n, s as r, t as i } from "./toString-
|
|
2
|
+
import { a as t, n, s as r, t as i } from "./toString-uorCN9F3.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
|
|
4
4
|
var a = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, o = /^\w*$/;
|
|
5
5
|
function s(e, n) {
|
|
@@ -294,7 +294,7 @@ ue.read = function(e, t, n, r, i) {
|
|
|
294
294
|
case "latin1":
|
|
295
295
|
case "binary": return n;
|
|
296
296
|
case "utf8":
|
|
297
|
-
case "utf-8": return
|
|
297
|
+
case "utf-8": return Se(e).length;
|
|
298
298
|
case "ucs2":
|
|
299
299
|
case "ucs-2":
|
|
300
300
|
case "utf16le":
|
|
@@ -302,7 +302,7 @@ ue.read = function(e, t, n, r, i) {
|
|
|
302
302
|
case "hex": return n >>> 1;
|
|
303
303
|
case "base64": return we(e).length;
|
|
304
304
|
default:
|
|
305
|
-
if (i) return r ? -1 :
|
|
305
|
+
if (i) return r ? -1 : Se(e).length;
|
|
306
306
|
t = ("" + t).toLowerCase(), i = !0;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
@@ -321,7 +321,7 @@ ue.read = function(e, t, n, r, i) {
|
|
|
321
321
|
case "ucs2":
|
|
322
322
|
case "ucs-2":
|
|
323
323
|
case "utf16le":
|
|
324
|
-
case "utf-16le": return
|
|
324
|
+
case "utf-16le": return me(this, t, n);
|
|
325
325
|
default:
|
|
326
326
|
if (r) throw TypeError("Unknown encoding: " + e);
|
|
327
327
|
e = (e + "").toLowerCase(), r = !0;
|
|
@@ -430,10 +430,10 @@ ue.read = function(e, t, n, r, i) {
|
|
|
430
430
|
return o;
|
|
431
431
|
}
|
|
432
432
|
function re(e, t, n, r) {
|
|
433
|
-
return Te(
|
|
433
|
+
return Te(Se(t, e.length - n), e, n, r);
|
|
434
434
|
}
|
|
435
435
|
function ie(e, t, n, r) {
|
|
436
|
-
return Te(
|
|
436
|
+
return Te(I(t), e, n, r);
|
|
437
437
|
}
|
|
438
438
|
function ae(e, t, n, r) {
|
|
439
439
|
return Te(we(t), e, n, r);
|
|
@@ -526,7 +526,7 @@ ue.read = function(e, t, n, r, i) {
|
|
|
526
526
|
for (let r = t; r < n; ++r) i += De[e[r]];
|
|
527
527
|
return i;
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function me(e, t, n) {
|
|
530
530
|
let r = e.slice(t, n), i = "";
|
|
531
531
|
for (let e = 0; e < r.length - 1; e += 2) i += String.fromCharCode(r[e] + r[e + 1] * 256);
|
|
532
532
|
return i;
|
|
@@ -537,88 +537,88 @@ ue.read = function(e, t, n, r, i) {
|
|
|
537
537
|
let r = this.subarray(e, t);
|
|
538
538
|
return Object.setPrototypeOf(r, u.prototype), r;
|
|
539
539
|
};
|
|
540
|
-
function
|
|
540
|
+
function D(e, t, n) {
|
|
541
541
|
if (e % 1 != 0 || e < 0) throw RangeError("offset is not uint");
|
|
542
542
|
if (e + t > n) throw RangeError("Trying to access beyond buffer length");
|
|
543
543
|
}
|
|
544
544
|
u.prototype.readUintLE = u.prototype.readUIntLE = function(e, t, n) {
|
|
545
|
-
e >>>= 0, t >>>= 0, n ||
|
|
545
|
+
e >>>= 0, t >>>= 0, n || D(e, t, this.length);
|
|
546
546
|
let r = this[e], i = 1, a = 0;
|
|
547
547
|
for (; ++a < t && (i *= 256);) r += this[e + a] * i;
|
|
548
548
|
return r;
|
|
549
549
|
}, u.prototype.readUintBE = u.prototype.readUIntBE = function(e, t, n) {
|
|
550
|
-
e >>>= 0, t >>>= 0, n ||
|
|
550
|
+
e >>>= 0, t >>>= 0, n || D(e, t, this.length);
|
|
551
551
|
let r = this[e + --t], i = 1;
|
|
552
552
|
for (; t > 0 && (i *= 256);) r += this[e + --t] * i;
|
|
553
553
|
return r;
|
|
554
554
|
}, u.prototype.readUint8 = u.prototype.readUInt8 = function(e, t) {
|
|
555
|
-
return e >>>= 0, t ||
|
|
555
|
+
return e >>>= 0, t || D(e, 1, this.length), this[e];
|
|
556
556
|
}, u.prototype.readUint16LE = u.prototype.readUInt16LE = function(e, t) {
|
|
557
|
-
return e >>>= 0, t ||
|
|
557
|
+
return e >>>= 0, t || D(e, 2, this.length), this[e] | this[e + 1] << 8;
|
|
558
558
|
}, u.prototype.readUint16BE = u.prototype.readUInt16BE = function(e, t) {
|
|
559
|
-
return e >>>= 0, t ||
|
|
559
|
+
return e >>>= 0, t || D(e, 2, this.length), this[e] << 8 | this[e + 1];
|
|
560
560
|
}, u.prototype.readUint32LE = u.prototype.readUInt32LE = function(e, t) {
|
|
561
|
-
return e >>>= 0, t ||
|
|
561
|
+
return e >>>= 0, t || D(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
|
|
562
562
|
}, u.prototype.readUint32BE = u.prototype.readUInt32BE = function(e, t) {
|
|
563
|
-
return e >>>= 0, t ||
|
|
563
|
+
return e >>>= 0, t || D(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
|
|
564
564
|
}, u.prototype.readBigUInt64LE = R(function(e) {
|
|
565
|
-
e >>>= 0,
|
|
565
|
+
e >>>= 0, P(e, "offset");
|
|
566
566
|
let t = this[e], n = this[e + 7];
|
|
567
|
-
(t === void 0 || n === void 0) &&
|
|
567
|
+
(t === void 0 || n === void 0) && F(e, this.length - 8);
|
|
568
568
|
let r = t + this[++e] * 256 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, i = this[++e] + this[++e] * 256 + this[++e] * 2 ** 16 + n * 2 ** 24;
|
|
569
569
|
return BigInt(r) + (BigInt(i) << BigInt(32));
|
|
570
570
|
}), u.prototype.readBigUInt64BE = R(function(e) {
|
|
571
|
-
e >>>= 0,
|
|
571
|
+
e >>>= 0, P(e, "offset");
|
|
572
572
|
let t = this[e], n = this[e + 7];
|
|
573
|
-
(t === void 0 || n === void 0) &&
|
|
573
|
+
(t === void 0 || n === void 0) && F(e, this.length - 8);
|
|
574
574
|
let r = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 256 + this[++e], i = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 256 + n;
|
|
575
575
|
return (BigInt(r) << BigInt(32)) + BigInt(i);
|
|
576
576
|
}), u.prototype.readIntLE = function(e, t, n) {
|
|
577
|
-
e >>>= 0, t >>>= 0, n ||
|
|
577
|
+
e >>>= 0, t >>>= 0, n || D(e, t, this.length);
|
|
578
578
|
let r = this[e], i = 1, a = 0;
|
|
579
579
|
for (; ++a < t && (i *= 256);) r += this[e + a] * i;
|
|
580
580
|
return i *= 128, r >= i && (r -= 2 ** (8 * t)), r;
|
|
581
581
|
}, u.prototype.readIntBE = function(e, t, n) {
|
|
582
|
-
e >>>= 0, t >>>= 0, n ||
|
|
582
|
+
e >>>= 0, t >>>= 0, n || D(e, t, this.length);
|
|
583
583
|
let r = t, i = 1, a = this[e + --r];
|
|
584
584
|
for (; r > 0 && (i *= 256);) a += this[e + --r] * i;
|
|
585
585
|
return i *= 128, a >= i && (a -= 2 ** (8 * t)), a;
|
|
586
586
|
}, u.prototype.readInt8 = function(e, t) {
|
|
587
|
-
return e >>>= 0, t ||
|
|
587
|
+
return e >>>= 0, t || D(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
|
|
588
588
|
}, u.prototype.readInt16LE = function(e, t) {
|
|
589
|
-
e >>>= 0, t ||
|
|
589
|
+
e >>>= 0, t || D(e, 2, this.length);
|
|
590
590
|
let n = this[e] | this[e + 1] << 8;
|
|
591
591
|
return n & 32768 ? n | 4294901760 : n;
|
|
592
592
|
}, u.prototype.readInt16BE = function(e, t) {
|
|
593
|
-
e >>>= 0, t ||
|
|
593
|
+
e >>>= 0, t || D(e, 2, this.length);
|
|
594
594
|
let n = this[e + 1] | this[e] << 8;
|
|
595
595
|
return n & 32768 ? n | 4294901760 : n;
|
|
596
596
|
}, u.prototype.readInt32LE = function(e, t) {
|
|
597
|
-
return e >>>= 0, t ||
|
|
597
|
+
return e >>>= 0, t || D(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
|
|
598
598
|
}, u.prototype.readInt32BE = function(e, t) {
|
|
599
|
-
return e >>>= 0, t ||
|
|
599
|
+
return e >>>= 0, t || D(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
|
|
600
600
|
}, u.prototype.readBigInt64LE = R(function(e) {
|
|
601
|
-
e >>>= 0,
|
|
601
|
+
e >>>= 0, P(e, "offset");
|
|
602
602
|
let t = this[e], n = this[e + 7];
|
|
603
|
-
(t === void 0 || n === void 0) &&
|
|
603
|
+
(t === void 0 || n === void 0) && F(e, this.length - 8);
|
|
604
604
|
let r = this[e + 4] + this[e + 5] * 256 + this[e + 6] * 2 ** 16 + (n << 24);
|
|
605
605
|
return (BigInt(r) << BigInt(32)) + BigInt(t + this[++e] * 256 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
|
|
606
606
|
}), u.prototype.readBigInt64BE = R(function(e) {
|
|
607
|
-
e >>>= 0,
|
|
607
|
+
e >>>= 0, P(e, "offset");
|
|
608
608
|
let t = this[e], n = this[e + 7];
|
|
609
|
-
(t === void 0 || n === void 0) &&
|
|
609
|
+
(t === void 0 || n === void 0) && F(e, this.length - 8);
|
|
610
610
|
let r = (t << 24) + this[++e] * 2 ** 16 + this[++e] * 256 + this[++e];
|
|
611
611
|
return (BigInt(r) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 256 + n);
|
|
612
612
|
}), u.prototype.readFloatLE = function(e, t) {
|
|
613
|
-
return e >>>= 0, t ||
|
|
613
|
+
return e >>>= 0, t || D(e, 4, this.length), n.read(this, e, !0, 23, 4);
|
|
614
614
|
}, u.prototype.readFloatBE = function(e, t) {
|
|
615
|
-
return e >>>= 0, t ||
|
|
615
|
+
return e >>>= 0, t || D(e, 4, this.length), n.read(this, e, !1, 23, 4);
|
|
616
616
|
}, u.prototype.readDoubleLE = function(e, t) {
|
|
617
|
-
return e >>>= 0, t ||
|
|
617
|
+
return e >>>= 0, t || D(e, 8, this.length), n.read(this, e, !0, 52, 8);
|
|
618
618
|
}, u.prototype.readDoubleBE = function(e, t) {
|
|
619
|
-
return e >>>= 0, t ||
|
|
619
|
+
return e >>>= 0, t || D(e, 8, this.length), n.read(this, e, !1, 52, 8);
|
|
620
620
|
};
|
|
621
|
-
function
|
|
621
|
+
function O(e, t, n, r, i, a) {
|
|
622
622
|
if (!u.isBuffer(e)) throw TypeError("\"buffer\" argument must be a Buffer instance");
|
|
623
623
|
if (t > i || t < a) throw RangeError("\"value\" argument is out of bounds");
|
|
624
624
|
if (n + r > e.length) throw RangeError("Index out of range");
|
|
@@ -626,7 +626,7 @@ ue.read = function(e, t, n, r, i) {
|
|
|
626
626
|
u.prototype.writeUintLE = u.prototype.writeUIntLE = function(e, t, n, r) {
|
|
627
627
|
if (e = +e, t >>>= 0, n >>>= 0, !r) {
|
|
628
628
|
let r = 2 ** (8 * n) - 1;
|
|
629
|
-
|
|
629
|
+
O(this, e, t, n, r, 0);
|
|
630
630
|
}
|
|
631
631
|
let i = 1, a = 0;
|
|
632
632
|
for (this[t] = e & 255; ++a < n && (i *= 256);) this[t + a] = e / i & 255;
|
|
@@ -634,89 +634,89 @@ ue.read = function(e, t, n, r, i) {
|
|
|
634
634
|
}, u.prototype.writeUintBE = u.prototype.writeUIntBE = function(e, t, n, r) {
|
|
635
635
|
if (e = +e, t >>>= 0, n >>>= 0, !r) {
|
|
636
636
|
let r = 2 ** (8 * n) - 1;
|
|
637
|
-
|
|
637
|
+
O(this, e, t, n, r, 0);
|
|
638
638
|
}
|
|
639
639
|
let i = n - 1, a = 1;
|
|
640
640
|
for (this[t + i] = e & 255; --i >= 0 && (a *= 256);) this[t + i] = e / a & 255;
|
|
641
641
|
return t + n;
|
|
642
642
|
}, u.prototype.writeUint8 = u.prototype.writeUInt8 = function(e, t, n) {
|
|
643
|
-
return e = +e, t >>>= 0, n ||
|
|
643
|
+
return e = +e, t >>>= 0, n || O(this, e, t, 1, 255, 0), this[t] = e & 255, t + 1;
|
|
644
644
|
}, u.prototype.writeUint16LE = u.prototype.writeUInt16LE = function(e, t, n) {
|
|
645
|
-
return e = +e, t >>>= 0, n ||
|
|
645
|
+
return e = +e, t >>>= 0, n || O(this, e, t, 2, 65535, 0), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
|
|
646
646
|
}, u.prototype.writeUint16BE = u.prototype.writeUInt16BE = function(e, t, n) {
|
|
647
|
-
return e = +e, t >>>= 0, n ||
|
|
647
|
+
return e = +e, t >>>= 0, n || O(this, e, t, 2, 65535, 0), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
|
|
648
648
|
}, u.prototype.writeUint32LE = u.prototype.writeUInt32LE = function(e, t, n) {
|
|
649
|
-
return e = +e, t >>>= 0, n ||
|
|
649
|
+
return e = +e, t >>>= 0, n || O(this, e, t, 4, 4294967295, 0), this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = e & 255, t + 4;
|
|
650
650
|
}, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(e, t, n) {
|
|
651
|
-
return e = +e, t >>>= 0, n ||
|
|
651
|
+
return e = +e, t >>>= 0, n || O(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
|
|
652
652
|
};
|
|
653
|
-
function
|
|
654
|
-
|
|
653
|
+
function he(e, t, n, r, i) {
|
|
654
|
+
ye(t, r, i, e, n, 7);
|
|
655
655
|
let a = Number(t & BigInt(4294967295));
|
|
656
656
|
e[n++] = a, a >>= 8, e[n++] = a, a >>= 8, e[n++] = a, a >>= 8, e[n++] = a;
|
|
657
657
|
let o = Number(t >> BigInt(32) & BigInt(4294967295));
|
|
658
658
|
return e[n++] = o, o >>= 8, e[n++] = o, o >>= 8, e[n++] = o, o >>= 8, e[n++] = o, n;
|
|
659
659
|
}
|
|
660
|
-
function
|
|
661
|
-
|
|
660
|
+
function k(e, t, n, r, i) {
|
|
661
|
+
ye(t, r, i, e, n, 7);
|
|
662
662
|
let a = Number(t & BigInt(4294967295));
|
|
663
663
|
e[n + 7] = a, a >>= 8, e[n + 6] = a, a >>= 8, e[n + 5] = a, a >>= 8, e[n + 4] = a;
|
|
664
664
|
let o = Number(t >> BigInt(32) & BigInt(4294967295));
|
|
665
665
|
return e[n + 3] = o, o >>= 8, e[n + 2] = o, o >>= 8, e[n + 1] = o, o >>= 8, e[n] = o, n + 8;
|
|
666
666
|
}
|
|
667
667
|
u.prototype.writeBigUInt64LE = R(function(e, t = 0) {
|
|
668
|
-
return
|
|
668
|
+
return he(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
669
669
|
}), u.prototype.writeBigUInt64BE = R(function(e, t = 0) {
|
|
670
|
-
return
|
|
670
|
+
return k(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
671
671
|
}), u.prototype.writeIntLE = function(e, t, n, r) {
|
|
672
672
|
if (e = +e, t >>>= 0, !r) {
|
|
673
673
|
let r = 2 ** (8 * n - 1);
|
|
674
|
-
|
|
674
|
+
O(this, e, t, n, r - 1, -r);
|
|
675
675
|
}
|
|
676
676
|
let i = 0, a = 1, o = 0;
|
|
677
|
-
for (this[t] = e & 255; ++i < n && (a *= 256);) e < 0 && o === 0 && this[t + i - 1] !== 0 && (o = 1), this[t + i] = (e / a
|
|
677
|
+
for (this[t] = e & 255; ++i < n && (a *= 256);) e < 0 && o === 0 && this[t + i - 1] !== 0 && (o = 1), this[t + i] = (e / a | 0) - o & 255;
|
|
678
678
|
return t + n;
|
|
679
679
|
}, u.prototype.writeIntBE = function(e, t, n, r) {
|
|
680
680
|
if (e = +e, t >>>= 0, !r) {
|
|
681
681
|
let r = 2 ** (8 * n - 1);
|
|
682
|
-
|
|
682
|
+
O(this, e, t, n, r - 1, -r);
|
|
683
683
|
}
|
|
684
684
|
let i = n - 1, a = 1, o = 0;
|
|
685
|
-
for (this[t + i] = e & 255; --i >= 0 && (a *= 256);) e < 0 && o === 0 && this[t + i + 1] !== 0 && (o = 1), this[t + i] = (e / a
|
|
685
|
+
for (this[t + i] = e & 255; --i >= 0 && (a *= 256);) e < 0 && o === 0 && this[t + i + 1] !== 0 && (o = 1), this[t + i] = (e / a | 0) - o & 255;
|
|
686
686
|
return t + n;
|
|
687
687
|
}, u.prototype.writeInt8 = function(e, t, n) {
|
|
688
|
-
return e = +e, t >>>= 0, n ||
|
|
688
|
+
return e = +e, t >>>= 0, n || O(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
|
|
689
689
|
}, u.prototype.writeInt16LE = function(e, t, n) {
|
|
690
|
-
return e = +e, t >>>= 0, n ||
|
|
690
|
+
return e = +e, t >>>= 0, n || O(this, e, t, 2, 32767, -32768), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
|
|
691
691
|
}, u.prototype.writeInt16BE = function(e, t, n) {
|
|
692
|
-
return e = +e, t >>>= 0, n ||
|
|
692
|
+
return e = +e, t >>>= 0, n || O(this, e, t, 2, 32767, -32768), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
|
|
693
693
|
}, u.prototype.writeInt32LE = function(e, t, n) {
|
|
694
|
-
return e = +e, t >>>= 0, n ||
|
|
694
|
+
return e = +e, t >>>= 0, n || O(this, e, t, 4, 2147483647, -2147483648), this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24, t + 4;
|
|
695
695
|
}, u.prototype.writeInt32BE = function(e, t, n) {
|
|
696
|
-
return e = +e, t >>>= 0, n ||
|
|
696
|
+
return e = +e, t >>>= 0, n || O(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
|
|
697
697
|
}, u.prototype.writeBigInt64LE = R(function(e, t = 0) {
|
|
698
|
-
return
|
|
698
|
+
return he(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
699
699
|
}), u.prototype.writeBigInt64BE = R(function(e, t = 0) {
|
|
700
|
-
return
|
|
700
|
+
return k(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
701
701
|
});
|
|
702
|
-
function
|
|
702
|
+
function ge(e, t, n, r, i, a) {
|
|
703
703
|
if (n + r > e.length || n < 0) throw RangeError("Index out of range");
|
|
704
704
|
}
|
|
705
|
-
function
|
|
706
|
-
return t = +t, r >>>= 0, a ||
|
|
705
|
+
function A(e, t, r, i, a) {
|
|
706
|
+
return t = +t, r >>>= 0, a || ge(e, t, r, 4), n.write(e, t, r, i, 23, 4), r + 4;
|
|
707
707
|
}
|
|
708
708
|
u.prototype.writeFloatLE = function(e, t, n) {
|
|
709
|
-
return
|
|
709
|
+
return A(this, e, t, !0, n);
|
|
710
710
|
}, u.prototype.writeFloatBE = function(e, t, n) {
|
|
711
|
-
return
|
|
711
|
+
return A(this, e, t, !1, n);
|
|
712
712
|
};
|
|
713
|
-
function
|
|
714
|
-
return t = +t, r >>>= 0, a ||
|
|
713
|
+
function j(e, t, r, i, a) {
|
|
714
|
+
return t = +t, r >>>= 0, a || ge(e, t, r, 8), n.write(e, t, r, i, 52, 8), r + 8;
|
|
715
715
|
}
|
|
716
716
|
u.prototype.writeDoubleLE = function(e, t, n) {
|
|
717
|
-
return
|
|
717
|
+
return j(this, e, t, !0, n);
|
|
718
718
|
}, u.prototype.writeDoubleBE = function(e, t, n) {
|
|
719
|
-
return
|
|
719
|
+
return j(this, e, t, !1, n);
|
|
720
720
|
}, u.prototype.copy = function(e, t, n, r) {
|
|
721
721
|
if (!u.isBuffer(e)) throw TypeError("argument should be a Buffer");
|
|
722
722
|
if (n ||= 0, !r && r !== 0 && (r = this.length), t >= e.length && (t = e.length), t ||= 0, r > 0 && r < n && (r = n), r === n || e.length === 0 || this.length === 0) return 0;
|
|
@@ -747,9 +747,9 @@ ue.read = function(e, t, n, r, i) {
|
|
|
747
747
|
}
|
|
748
748
|
return this;
|
|
749
749
|
};
|
|
750
|
-
let
|
|
751
|
-
function
|
|
752
|
-
|
|
750
|
+
let M = {};
|
|
751
|
+
function N(e, t, n) {
|
|
752
|
+
M[e] = class extends n {
|
|
753
753
|
constructor() {
|
|
754
754
|
super(), Object.defineProperty(this, "message", {
|
|
755
755
|
value: t.apply(this, arguments),
|
|
@@ -773,52 +773,48 @@ ue.read = function(e, t, n, r, i) {
|
|
|
773
773
|
}
|
|
774
774
|
};
|
|
775
775
|
}
|
|
776
|
-
|
|
776
|
+
N("ERR_BUFFER_OUT_OF_BOUNDS", function(e) {
|
|
777
777
|
return e ? `${e} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
778
|
-
}, RangeError),
|
|
778
|
+
}, RangeError), N("ERR_INVALID_ARG_TYPE", function(e, t) {
|
|
779
779
|
return `The "${e}" argument must be of type number. Received type ${typeof t}`;
|
|
780
|
-
}, TypeError),
|
|
780
|
+
}, TypeError), N("ERR_OUT_OF_RANGE", function(e, t, n) {
|
|
781
781
|
let r = `The value of "${e}" is out of range.`, i = n;
|
|
782
|
-
return Number.isInteger(n) && Math.abs(n) > 2 ** 32 ? i =
|
|
782
|
+
return Number.isInteger(n) && Math.abs(n) > 2 ** 32 ? i = _e(String(n)) : typeof n == "bigint" && (i = String(n), (n > BigInt(2) ** BigInt(32) || n < -(BigInt(2) ** BigInt(32))) && (i = _e(i)), i += "n"), r += ` It must be ${t}. Received ${i}`, r;
|
|
783
783
|
}, RangeError);
|
|
784
|
-
function
|
|
784
|
+
function _e(e) {
|
|
785
785
|
let t = "", n = e.length, r = +(e[0] === "-");
|
|
786
786
|
for (; n >= r + 4; n -= 3) t = `_${e.slice(n - 3, n)}${t}`;
|
|
787
787
|
return `${e.slice(0, n)}${t}`;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
790
|
-
|
|
789
|
+
function ve(e, t, n) {
|
|
790
|
+
P(t, "offset"), (e[t] === void 0 || e[t + n] === void 0) && F(t, e.length - (n + 1));
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function ye(e, t, n, r, i, a) {
|
|
793
793
|
if (e > n || e < t) {
|
|
794
794
|
let r = typeof t == "bigint" ? "n" : "", i;
|
|
795
|
-
throw i = a > 3 ? t === 0 || t === BigInt(0) ? `>= 0${r} and < 2${r} ** ${(a + 1) * 8}${r}` : `>= -(2${r} ** ${(a + 1) * 8 - 1}${r}) and < 2 ** ${(a + 1) * 8 - 1}${r}` : `>= ${t}${r} and <= ${n}${r}`, new
|
|
795
|
+
throw i = a > 3 ? t === 0 || t === BigInt(0) ? `>= 0${r} and < 2${r} ** ${(a + 1) * 8}${r}` : `>= -(2${r} ** ${(a + 1) * 8 - 1}${r}) and < 2 ** ${(a + 1) * 8 - 1}${r}` : `>= ${t}${r} and <= ${n}${r}`, new M.ERR_OUT_OF_RANGE("value", i, e);
|
|
796
796
|
}
|
|
797
|
-
|
|
797
|
+
ve(r, i, a);
|
|
798
798
|
}
|
|
799
|
-
function
|
|
800
|
-
if (typeof e != "number") throw new
|
|
799
|
+
function P(e, t) {
|
|
800
|
+
if (typeof e != "number") throw new M.ERR_INVALID_ARG_TYPE(t, "number", e);
|
|
801
801
|
}
|
|
802
|
-
function
|
|
803
|
-
throw Math.floor(e) === e ? t < 0 ? new
|
|
802
|
+
function F(e, t, n) {
|
|
803
|
+
throw Math.floor(e) === e ? t < 0 ? new M.ERR_BUFFER_OUT_OF_BOUNDS() : new M.ERR_OUT_OF_RANGE(n || "offset", `>= ${+!!n} and <= ${t}`, e) : (P(e, n), new M.ERR_OUT_OF_RANGE(n || "offset", "an integer", e));
|
|
804
804
|
}
|
|
805
|
-
let
|
|
806
|
-
function
|
|
807
|
-
if (e = e.split("=")[0], e = e.trim().replace(
|
|
805
|
+
let be = /[^+/0-9A-Za-z-_]/g;
|
|
806
|
+
function xe(e) {
|
|
807
|
+
if (e = e.split("=")[0], e = e.trim().replace(be, ""), e.length < 2) return "";
|
|
808
808
|
for (; e.length % 4 != 0;) e += "=";
|
|
809
809
|
return e;
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function Se(e, t) {
|
|
812
812
|
t ||= Infinity;
|
|
813
813
|
let n, r = e.length, i = null, a = [];
|
|
814
814
|
for (let o = 0; o < r; ++o) {
|
|
815
815
|
if (n = e.charCodeAt(o), n > 55295 && n < 57344) {
|
|
816
816
|
if (!i) {
|
|
817
|
-
if (n > 56319) {
|
|
818
|
-
(t -= 3) > -1 && a.push(239, 191, 189);
|
|
819
|
-
continue;
|
|
820
|
-
}
|
|
821
|
-
if (o + 1 === r) {
|
|
817
|
+
if (n > 56319 || o + 1 === r) {
|
|
822
818
|
(t -= 3) > -1 && a.push(239, 191, 189);
|
|
823
819
|
continue;
|
|
824
820
|
}
|
|
@@ -847,7 +843,7 @@ ue.read = function(e, t, n, r, i) {
|
|
|
847
843
|
}
|
|
848
844
|
return a;
|
|
849
845
|
}
|
|
850
|
-
function
|
|
846
|
+
function I(e) {
|
|
851
847
|
let t = [];
|
|
852
848
|
for (let n = 0; n < e.length; ++n) t.push(e.charCodeAt(n) & 255);
|
|
853
849
|
return t;
|
|
@@ -858,7 +854,7 @@ ue.read = function(e, t, n, r, i) {
|
|
|
858
854
|
return a;
|
|
859
855
|
}
|
|
860
856
|
function we(e) {
|
|
861
|
-
return t.toByteArray(
|
|
857
|
+
return t.toByteArray(xe(e));
|
|
862
858
|
}
|
|
863
859
|
function Te(e, t, n, r) {
|
|
864
860
|
let i = 0;
|
|
@@ -899,61 +895,61 @@ function E(e, t = "") {
|
|
|
899
895
|
if (!Number.isSafeInteger(e) || e < 0) throw RangeError(pe(t) + "expected integer >= 0, got " + e);
|
|
900
896
|
return e;
|
|
901
897
|
}
|
|
902
|
-
function
|
|
898
|
+
function me(e, t, n = "") {
|
|
903
899
|
if (fe(e) && (t === void 0 || e.length === t)) return e;
|
|
904
900
|
t !== void 0 && E(t, "length");
|
|
905
901
|
let r = fe(e), i = t === void 0 ? "" : ` of length ${t}`, a = r ? `length=${e.length}` : `type=${typeof e}`, o = pe(n) + "expected Uint8Array" + i + ", got " + a;
|
|
906
902
|
throw r ? RangeError(o) : TypeError(o);
|
|
907
903
|
}
|
|
908
|
-
function
|
|
904
|
+
function D(e) {
|
|
909
905
|
if (typeof e != "function" || typeof e.create != "function") throw TypeError("expected hash wrapped by utils.createHasher");
|
|
910
906
|
if (E(e.outputLen), E(e.blockLen), e.outputLen < 1 || e.blockLen < 1) throw Error("hash blockLen / outputLen must be >= 1");
|
|
911
907
|
}
|
|
912
|
-
var
|
|
908
|
+
var O = (e, t) => {
|
|
913
909
|
if (typeof e != "object" || !e || Array.isArray(e)) throw TypeError((t === "object" ? "" : `"${t}" `) + "expected object, got type=" + typeof e);
|
|
914
|
-
},
|
|
915
|
-
|
|
910
|
+
}, he = (e, t) => {
|
|
911
|
+
O(e, t);
|
|
916
912
|
let n = Object.getPrototypeOf(e);
|
|
917
913
|
if (n !== Object.prototype && n !== null) throw TypeError(`"${t}" expected plain object`);
|
|
918
914
|
if (Object.hasOwn(e, "__proto__")) throw TypeError(`"${t}.__proto__" is not allowed`);
|
|
919
915
|
};
|
|
920
|
-
function
|
|
916
|
+
function k(e, t = !0) {
|
|
921
917
|
if (e.destroyed) throw Error("hash was destroyed");
|
|
922
918
|
if (t && e.finished) throw Error("digest() was already called");
|
|
923
919
|
}
|
|
924
|
-
function
|
|
925
|
-
|
|
920
|
+
function ge(e, t) {
|
|
921
|
+
me(e, void 0, "output");
|
|
926
922
|
let n = t.outputLen;
|
|
927
923
|
if (!(e.length >= n)) throw RangeError("\"output\" expected length >= " + n);
|
|
928
924
|
}
|
|
929
|
-
function
|
|
925
|
+
function A(...e) {
|
|
930
926
|
for (let t = 0; t < e.length; t++) e[t].fill(0);
|
|
931
927
|
}
|
|
932
|
-
function
|
|
928
|
+
function j(e) {
|
|
933
929
|
return new DataView(e.buffer, e.byteOffset, e.byteLength);
|
|
934
930
|
}
|
|
935
|
-
function
|
|
931
|
+
function M(e) {
|
|
936
932
|
if (typeof e != "string") throw TypeError("string expected");
|
|
937
933
|
let t = new TextEncoder().encode(e);
|
|
938
934
|
try {
|
|
939
935
|
return new Uint8Array(t);
|
|
940
936
|
} finally {
|
|
941
|
-
|
|
937
|
+
A(t);
|
|
942
938
|
}
|
|
943
939
|
}
|
|
944
|
-
function
|
|
945
|
-
return typeof e == "string" ?
|
|
940
|
+
function N(e, t = "") {
|
|
941
|
+
return typeof e == "string" ? M(e) : me(e, void 0, t);
|
|
946
942
|
}
|
|
947
|
-
function
|
|
948
|
-
return
|
|
943
|
+
function _e(e, t, n = "opts") {
|
|
944
|
+
return he(e, "defaults"), t !== void 0 && he(t, n), Object.assign(Object.create(null), e, t);
|
|
949
945
|
}
|
|
950
|
-
function
|
|
946
|
+
function ve(e, t = {}) {
|
|
951
947
|
if (typeof e != "function") throw TypeError("\"hashCons\" expected function, got type=" + typeof e);
|
|
952
|
-
t =
|
|
948
|
+
t = _e({}, t, "info");
|
|
953
949
|
let n = (t, n) => e(n).update(t).digest(), r = e(void 0);
|
|
954
950
|
return n.outputLen = r.outputLen, n.blockLen = r.blockLen, n.canXOF = r.canXOF, n.create = (t) => e(t), Object.assign(n, t), Object.freeze(n);
|
|
955
951
|
}
|
|
956
|
-
var
|
|
952
|
+
var ye = (e) => ({ oid: Uint8Array.from([
|
|
957
953
|
6,
|
|
958
954
|
9,
|
|
959
955
|
96,
|
|
@@ -965,7 +961,7 @@ var ve = (e) => ({ oid: Uint8Array.from([
|
|
|
965
961
|
4,
|
|
966
962
|
2,
|
|
967
963
|
e
|
|
968
|
-
]) }),
|
|
964
|
+
]) }), P = class {
|
|
969
965
|
oHash;
|
|
970
966
|
iHash;
|
|
971
967
|
blockLen;
|
|
@@ -974,20 +970,20 @@ var ve = (e) => ({ oid: Uint8Array.from([
|
|
|
974
970
|
finished = !1;
|
|
975
971
|
destroyed = !1;
|
|
976
972
|
constructor(e, t) {
|
|
977
|
-
if (
|
|
973
|
+
if (D(e), me(t, void 0, "key"), this.iHash = e.create(), typeof this.iHash.update != "function") throw Error("expected Hash instance");
|
|
978
974
|
this.blockLen = this.iHash.blockLen, this.outputLen = this.iHash.outputLen;
|
|
979
975
|
let n = this.blockLen, r = new Uint8Array(n);
|
|
980
976
|
r.set(t.length > n ? e.create().update(t).digest() : t);
|
|
981
977
|
for (let e = 0; e < r.length; e++) r[e] ^= 54;
|
|
982
978
|
this.iHash.update(r), this.oHash = e.create();
|
|
983
979
|
for (let e = 0; e < r.length; e++) r[e] ^= 106;
|
|
984
|
-
this.oHash.update(r),
|
|
980
|
+
this.oHash.update(r), A(r);
|
|
985
981
|
}
|
|
986
982
|
update(e) {
|
|
987
|
-
return
|
|
983
|
+
return k(this), this.iHash.update(e), this;
|
|
988
984
|
}
|
|
989
985
|
digestInto(e) {
|
|
990
|
-
|
|
986
|
+
k(this), ge(e, this), this.finished = !0;
|
|
991
987
|
let t = e.subarray(0, this.outputLen);
|
|
992
988
|
this.iHash.digestInto(t), this.oHash.update(t), this.oHash.digestInto(t), this.destroy();
|
|
993
989
|
}
|
|
@@ -1006,43 +1002,43 @@ var ve = (e) => ({ oid: Uint8Array.from([
|
|
|
1006
1002
|
destroy() {
|
|
1007
1003
|
this.destroyed = !0, this.oHash.destroy(), this.iHash.destroy();
|
|
1008
1004
|
}
|
|
1009
|
-
},
|
|
1010
|
-
let e = ((e, t, n) => new
|
|
1011
|
-
return e.create = (e, t) => new
|
|
1005
|
+
}, F = /* @__PURE__ */ (() => {
|
|
1006
|
+
let e = ((e, t, n) => new P(e, t).update(n).digest());
|
|
1007
|
+
return e.create = (e, t) => new P(e, t), e;
|
|
1012
1008
|
})();
|
|
1013
1009
|
//#endregion
|
|
1014
1010
|
//#region ../../node_modules/.pnpm/@noble+hashes@2.4.0/node_modules/@noble/hashes/pbkdf2.js
|
|
1015
|
-
function
|
|
1016
|
-
|
|
1017
|
-
let { c: i, dkLen: a, asyncTick: o } =
|
|
1011
|
+
function be(e, t, n, r) {
|
|
1012
|
+
D(e);
|
|
1013
|
+
let { c: i, dkLen: a, asyncTick: o } = _e({
|
|
1018
1014
|
dkLen: 32,
|
|
1019
1015
|
asyncTick: 10
|
|
1020
1016
|
}, r);
|
|
1021
1017
|
if (E(i, "c"), E(a, "dkLen"), E(o, "asyncTick"), i < 1) throw Error("\"c\" (iterations) must be >= 1");
|
|
1022
1018
|
if (a < 1) throw Error("\"dkLen\" must be >= 1");
|
|
1023
1019
|
if (a > (2 ** 32 - 1) * e.outputLen) throw Error("derived key too long");
|
|
1024
|
-
let s =
|
|
1020
|
+
let s = N(t, "password");
|
|
1025
1021
|
try {
|
|
1026
|
-
let t =
|
|
1022
|
+
let t = N(n, "salt");
|
|
1027
1023
|
try {
|
|
1028
|
-
let n = new Uint8Array(a), { iHash: r, oHash: c, outputLen: l } =
|
|
1024
|
+
let n = new Uint8Array(a), { iHash: r, oHash: c, outputLen: l } = F.create(e, s);
|
|
1029
1025
|
return {
|
|
1030
1026
|
c: i,
|
|
1031
1027
|
dkLen: a,
|
|
1032
1028
|
asyncTick: o,
|
|
1033
1029
|
DK: n,
|
|
1034
1030
|
outputLen: l,
|
|
1035
|
-
eng:
|
|
1031
|
+
eng: xe(r, c, t, new Uint8Array(l))
|
|
1036
1032
|
};
|
|
1037
1033
|
} finally {
|
|
1038
|
-
typeof n == "string" &&
|
|
1034
|
+
typeof n == "string" && A(t);
|
|
1039
1035
|
}
|
|
1040
1036
|
} finally {
|
|
1041
|
-
typeof t == "string" &&
|
|
1037
|
+
typeof t == "string" && A(s);
|
|
1042
1038
|
}
|
|
1043
1039
|
}
|
|
1044
|
-
function
|
|
1045
|
-
let i = /* @__PURE__ */ new Uint8Array(4), a =
|
|
1040
|
+
function xe(e, t, n, r) {
|
|
1041
|
+
let i = /* @__PURE__ */ new Uint8Array(4), a = j(i), o = e._cloneInto().update(n), s = t._cloneInto(), c = e._cloneInto, l = t._cloneInto;
|
|
1046
1042
|
return {
|
|
1047
1043
|
u1: (e, n) => {
|
|
1048
1044
|
a.setInt32(0, e, !1), o._cloneInto(s).update(i).digestInto(r), t._cloneInto(s).update(r).digestInto(r), n.set(r.subarray(0, n.length));
|
|
@@ -1053,11 +1049,11 @@ function be(e, t, n, r) {
|
|
|
1053
1049
|
for (let e = 0; e < i.length; e++) i[e] ^= r[e];
|
|
1054
1050
|
}
|
|
1055
1051
|
},
|
|
1056
|
-
output: (n) => (e.destroy(), t.destroy(), o.destroy(), s.destroy(),
|
|
1052
|
+
output: (n) => (e.destroy(), t.destroy(), o.destroy(), s.destroy(), A(r), n)
|
|
1057
1053
|
};
|
|
1058
1054
|
}
|
|
1059
|
-
function
|
|
1060
|
-
let { c: i, dkLen: a, DK: o, outputLen: s, eng: c } =
|
|
1055
|
+
function Se(e, t, n, r) {
|
|
1056
|
+
let { c: i, dkLen: a, DK: o, outputLen: s, eng: c } = be(e, t, n, r);
|
|
1061
1057
|
for (let e = 1, t = 0; t < a; e++, t += s) {
|
|
1062
1058
|
let n = o.subarray(t, t + s);
|
|
1063
1059
|
c.u1(e, n), c.rounds(i, n);
|
|
@@ -1066,14 +1062,14 @@ function xe(e, t, n, r) {
|
|
|
1066
1062
|
}
|
|
1067
1063
|
//#endregion
|
|
1068
1064
|
//#region ../../node_modules/.pnpm/@noble+hashes@2.4.0/node_modules/@noble/hashes/_u64.js
|
|
1069
|
-
var
|
|
1065
|
+
var I = /* @__PURE__ */ BigInt(2 ** 32 - 1), Ce = /* @__PURE__ */ BigInt(32);
|
|
1070
1066
|
function we(e, t = !1) {
|
|
1071
1067
|
return t ? {
|
|
1072
|
-
h: Number(e &
|
|
1073
|
-
l: Number(e >> Ce &
|
|
1068
|
+
h: Number(e & I),
|
|
1069
|
+
l: Number(e >> Ce & I)
|
|
1074
1070
|
} : {
|
|
1075
|
-
h: Number(e >> Ce &
|
|
1076
|
-
l: Number(e &
|
|
1071
|
+
h: Number(e >> Ce & I) | 0,
|
|
1072
|
+
l: Number(e & I) | 0
|
|
1077
1073
|
};
|
|
1078
1074
|
}
|
|
1079
1075
|
function Te(e, t = !1) {
|
|
@@ -1110,28 +1106,26 @@ var je = (e, t, n) => (e >>> 0) + (t >>> 0) + (n >>> 0), Me = (e, t, n, r) => t
|
|
|
1110
1106
|
pos = 0;
|
|
1111
1107
|
destroyed = !1;
|
|
1112
1108
|
constructor(e, t, n, r) {
|
|
1113
|
-
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view =
|
|
1109
|
+
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view = j(this.buffer);
|
|
1114
1110
|
}
|
|
1115
1111
|
update(e) {
|
|
1116
|
-
|
|
1112
|
+
k(this), me(e);
|
|
1117
1113
|
let { view: t, buffer: n, blockLen: r } = this, i = e.length, a = !1;
|
|
1118
1114
|
for (let o = 0; o < i;) {
|
|
1119
1115
|
let s = Math.min(r - this.pos, i - o);
|
|
1120
1116
|
if (s === r) {
|
|
1121
|
-
let t =
|
|
1117
|
+
let t = j(e);
|
|
1122
1118
|
for (; r <= i - o; o += r) this.process(t, o);
|
|
1123
1119
|
a = !0;
|
|
1124
|
-
|
|
1125
|
-
}
|
|
1126
|
-
n.set(o === 0 && s === i ? e : e.subarray(o, o + s), this.pos), this.pos += s, o += s, this.pos === r && (this.process(t, 0), this.pos = 0, a = !0);
|
|
1120
|
+
} else n.set(o === 0 && s === i ? e : e.subarray(o, o + s), this.pos), this.pos += s, o += s, this.pos === r && (this.process(t, 0), this.pos = 0, a = !0);
|
|
1127
1121
|
}
|
|
1128
1122
|
return this.length += e.length, a && this.roundClean(), this;
|
|
1129
1123
|
}
|
|
1130
1124
|
digestInto(e) {
|
|
1131
|
-
|
|
1125
|
+
k(this), ge(e, this), this.finished = !0;
|
|
1132
1126
|
let { buffer: t, view: n, blockLen: r, isLE: i } = this, { pos: a } = this;
|
|
1133
1127
|
t[a++] = 128, t.fill(0, a), this.padOffset > r - a && (this.process(n, 0), t.fill(0)), De(n, r - 8, this.length * 8, i), this.process(n, 0), this.roundClean();
|
|
1134
|
-
let o = e === t ? n :
|
|
1128
|
+
let o = e === t ? n : j(e), s = this.outputLen, c = s / 4, l = this.get();
|
|
1135
1129
|
if (s % 4 || c > l.length) throw Error("invalid outputLen");
|
|
1136
1130
|
for (let e = 0; e < c; e++) o.setUint32(4 * e, l[e], i);
|
|
1137
1131
|
}
|
|
@@ -1228,22 +1222,20 @@ var je = (e, t, n) => (e >>> 0) + (t >>> 0) + (n >>> 0), Me = (e, t, n, r) => t
|
|
|
1228
1222
|
({h: n, l: r} = V(this.Ah | 0, this.Al | 0, n | 0, r | 0)), {h: i, l: a} = V(this.Bh | 0, this.Bl | 0, i | 0, a | 0), {h: o, l: s} = V(this.Ch | 0, this.Cl | 0, o | 0, s | 0), {h: c, l: l} = V(this.Dh | 0, this.Dl | 0, c | 0, l | 0), {h: u, l: d} = V(this.Eh | 0, this.El | 0, u | 0, d | 0), {h: f, l: p} = V(this.Fh | 0, this.Fl | 0, f | 0, p | 0), {h: m, l: h} = V(this.Gh | 0, this.Gl | 0, m | 0, h | 0), {h: g, l: _} = V(this.Hh | 0, this.Hl | 0, g | 0, _ | 0), this.set(n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _);
|
|
1229
1223
|
}
|
|
1230
1224
|
roundClean() {
|
|
1231
|
-
|
|
1225
|
+
A(H, U);
|
|
1232
1226
|
}
|
|
1233
1227
|
destroy() {
|
|
1234
|
-
this.destroyed = !0,
|
|
1228
|
+
this.destroyed = !0, A(this.buffer), this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
1235
1229
|
}
|
|
1236
1230
|
}, Ue = class extends He {
|
|
1237
1231
|
constructor() {
|
|
1238
1232
|
super(64, Re);
|
|
1239
1233
|
}
|
|
1240
|
-
}, We = /* @__PURE__ */
|
|
1234
|
+
}, We = /* @__PURE__ */ ve(() => new Ue(), /* @__PURE__ */ ye(3)), Ge = (e, t, n, r) => de.from(Se(We, e, t, {
|
|
1241
1235
|
c: n,
|
|
1242
1236
|
dkLen: r
|
|
1243
|
-
})), Ke = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD
|
|
1244
|
-
|
|
1245
|
-
var Je = /* @__PURE__ */ RegExp("^[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");
|
|
1246
|
-
function Ye(e, t) {
|
|
1237
|
+
})), Ke = /* @__PURE__ */ RegExp("^[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");
|
|
1238
|
+
function qe(e, t) {
|
|
1247
1239
|
let n = [], r = t.exec(e);
|
|
1248
1240
|
for (; r;) {
|
|
1249
1241
|
let i = [];
|
|
@@ -1254,13 +1246,13 @@ function Ye(e, t) {
|
|
|
1254
1246
|
}
|
|
1255
1247
|
return n;
|
|
1256
1248
|
}
|
|
1257
|
-
var
|
|
1258
|
-
return
|
|
1249
|
+
var Je = function(e) {
|
|
1250
|
+
return Ke.exec(e) != null;
|
|
1259
1251
|
};
|
|
1260
|
-
function
|
|
1252
|
+
function Ye(e) {
|
|
1261
1253
|
return e !== void 0;
|
|
1262
1254
|
}
|
|
1263
|
-
var
|
|
1255
|
+
var Xe = [
|
|
1264
1256
|
"hasOwnProperty",
|
|
1265
1257
|
"toString",
|
|
1266
1258
|
"valueOf",
|
|
@@ -1268,24 +1260,24 @@ var Qe = [
|
|
|
1268
1260
|
"__defineSetter__",
|
|
1269
1261
|
"__lookupGetter__",
|
|
1270
1262
|
"__lookupSetter__"
|
|
1271
|
-
],
|
|
1263
|
+
], Ze = [
|
|
1272
1264
|
"__proto__",
|
|
1273
1265
|
"constructor",
|
|
1274
1266
|
"prototype"
|
|
1275
|
-
],
|
|
1267
|
+
], Qe = {
|
|
1276
1268
|
allowBooleanAttributes: !1,
|
|
1277
1269
|
unpairedTags: []
|
|
1278
1270
|
};
|
|
1279
|
-
function
|
|
1280
|
-
t = Object.assign({},
|
|
1271
|
+
function $e(e, t) {
|
|
1272
|
+
t = Object.assign({}, Qe, t);
|
|
1281
1273
|
let n = [], r = !1, i = !1;
|
|
1282
1274
|
e[0] === "" && (e = e.substr(1));
|
|
1283
1275
|
for (let a = 0; a < e.length; a++) if (e[a] === "<" && e[a + 1] === "?") {
|
|
1284
|
-
if (a += 2, a =
|
|
1276
|
+
if (a += 2, a = et(e, a), a.err) return a;
|
|
1285
1277
|
} else if (e[a] === "<") {
|
|
1286
1278
|
let o = a;
|
|
1287
1279
|
if (a++, e[a] === "!") {
|
|
1288
|
-
a =
|
|
1280
|
+
a = tt(e, a);
|
|
1289
1281
|
continue;
|
|
1290
1282
|
}
|
|
1291
1283
|
{
|
|
@@ -1293,17 +1285,17 @@ function tt(e, t) {
|
|
|
1293
1285
|
e[a] === "/" && (s = !0, a++);
|
|
1294
1286
|
let c = "";
|
|
1295
1287
|
for (; a < e.length && e[a] !== ">" && e[a] !== " " && e[a] !== " " && e[a] !== "\n" && e[a] !== "\r"; a++) c += e[a];
|
|
1296
|
-
if (c = c.trim(), c[c.length - 1] === "/" && (c = c.substring(0, c.length - 1), a--), !
|
|
1288
|
+
if (c = c.trim(), c[c.length - 1] === "/" && (c = c.substring(0, c.length - 1), a--), !ut(c)) {
|
|
1297
1289
|
let t;
|
|
1298
1290
|
return t = c.trim().length === 0 ? "Invalid space after '<'." : "Tag '" + c + "' is an invalid name.", G("InvalidTag", t, K(e, a));
|
|
1299
1291
|
}
|
|
1300
|
-
let l =
|
|
1292
|
+
let l = it(e, a);
|
|
1301
1293
|
if (l === !1) return G("InvalidAttr", "Attributes for '" + c + "' have open quote.", K(e, a));
|
|
1302
1294
|
let u = l.value;
|
|
1303
1295
|
if (a = l.index, u[u.length - 1] === "/") {
|
|
1304
1296
|
let n = a - u.length;
|
|
1305
1297
|
u = u.substring(0, u.length - 1);
|
|
1306
|
-
let i =
|
|
1298
|
+
let i = ot(u, t);
|
|
1307
1299
|
if (i === !0) r = !0;
|
|
1308
1300
|
else return G(i.err.code, i.err.msg, K(e, n + i.err.line));
|
|
1309
1301
|
} else if (s) {
|
|
@@ -1319,7 +1311,7 @@ function tt(e, t) {
|
|
|
1319
1311
|
n.length == 0 && (i = !0);
|
|
1320
1312
|
}
|
|
1321
1313
|
} else {
|
|
1322
|
-
let s =
|
|
1314
|
+
let s = ot(u, t);
|
|
1323
1315
|
if (s !== !0) return G(s.err.code, s.err.msg, K(e, a - u.length + s.err.line));
|
|
1324
1316
|
if (i === !0) return G("InvalidXml", "Multiple possible root nodes found.", K(e, a));
|
|
1325
1317
|
t.unpairedTags.indexOf(c) !== -1 || n.push({
|
|
@@ -1329,14 +1321,14 @@ function tt(e, t) {
|
|
|
1329
1321
|
}
|
|
1330
1322
|
for (a++; a < e.length; a++) if (e[a] === "<") {
|
|
1331
1323
|
if (e[a + 1] === "!") {
|
|
1332
|
-
a++, a =
|
|
1324
|
+
a++, a = tt(e, a);
|
|
1333
1325
|
continue;
|
|
1334
1326
|
}
|
|
1335
1327
|
if (e[a + 1] === "?") {
|
|
1336
|
-
if (a =
|
|
1328
|
+
if (a = et(e, ++a), a.err) return a;
|
|
1337
1329
|
} else break;
|
|
1338
1330
|
} else if (e[a] === "&") {
|
|
1339
|
-
let t =
|
|
1331
|
+
let t = ct(e, a);
|
|
1340
1332
|
if (t == -1) return G("InvalidChar", "char '&' is not expected.", K(e, a));
|
|
1341
1333
|
a = t;
|
|
1342
1334
|
} else if (i === !0 && !W(e[a])) return G("InvalidXml", "Extra text at the end", K(e, a));
|
|
@@ -1354,7 +1346,7 @@ function tt(e, t) {
|
|
|
1354
1346
|
function W(e) {
|
|
1355
1347
|
return e === " " || e === " " || e === "\n" || e === "\r";
|
|
1356
1348
|
}
|
|
1357
|
-
function
|
|
1349
|
+
function et(e, t) {
|
|
1358
1350
|
let n = t;
|
|
1359
1351
|
for (; t < e.length; t++) if (e[t] == "?" || e[t] == " ") {
|
|
1360
1352
|
let r = e.substr(n, t - n);
|
|
@@ -1367,7 +1359,7 @@ function nt(e, t) {
|
|
|
1367
1359
|
}
|
|
1368
1360
|
return t;
|
|
1369
1361
|
}
|
|
1370
|
-
function
|
|
1362
|
+
function tt(e, t) {
|
|
1371
1363
|
if (e.length > t + 5 && e[t + 1] === "-" && e[t + 2] === "-") {
|
|
1372
1364
|
for (t += 3; t < e.length; t++) if (e[t] === "-" && e[t + 1] === "-" && e[t + 2] === ">") {
|
|
1373
1365
|
t += 2;
|
|
@@ -1385,11 +1377,11 @@ function rt(e, t) {
|
|
|
1385
1377
|
}
|
|
1386
1378
|
return t;
|
|
1387
1379
|
}
|
|
1388
|
-
var
|
|
1389
|
-
function
|
|
1380
|
+
var nt = "\"", rt = "'";
|
|
1381
|
+
function it(e, t) {
|
|
1390
1382
|
let n = "", r = "", i = !1;
|
|
1391
1383
|
for (; t < e.length; t++) {
|
|
1392
|
-
if (e[t] ===
|
|
1384
|
+
if (e[t] === nt || e[t] === rt) r === "" ? r = e[t] : r !== e[t] || (r = "");
|
|
1393
1385
|
else if (e[t] === ">" && r === "") {
|
|
1394
1386
|
i = !0;
|
|
1395
1387
|
break;
|
|
@@ -1402,7 +1394,7 @@ function ot(e, t) {
|
|
|
1402
1394
|
tagClosed: i
|
|
1403
1395
|
};
|
|
1404
1396
|
}
|
|
1405
|
-
function
|
|
1397
|
+
function at(e) {
|
|
1406
1398
|
let t = [], n = e.length, r = 0;
|
|
1407
1399
|
for (; r < n;) {
|
|
1408
1400
|
let i = r;
|
|
@@ -1428,20 +1420,20 @@ function st(e) {
|
|
|
1428
1420
|
}
|
|
1429
1421
|
return t;
|
|
1430
1422
|
}
|
|
1431
|
-
function
|
|
1432
|
-
let n =
|
|
1423
|
+
function ot(e, t) {
|
|
1424
|
+
let n = at(e), r = {};
|
|
1433
1425
|
for (let e = 0; e < n.length; e++) {
|
|
1434
|
-
if (n[e][1].length === 0) return G("InvalidAttr", "Attribute '" + n[e][2] + "' has no space in starting.",
|
|
1435
|
-
if (n[e][3] !== void 0 && n[e][4] === void 0) return G("InvalidAttr", "Attribute '" + n[e][2] + "' is without value.",
|
|
1436
|
-
if (n[e][3] === void 0 && !t.allowBooleanAttributes) return G("InvalidAttr", "boolean attribute '" + n[e][2] + "' is not allowed.",
|
|
1426
|
+
if (n[e][1].length === 0) return G("InvalidAttr", "Attribute '" + n[e][2] + "' has no space in starting.", dt(n[e]));
|
|
1427
|
+
if (n[e][3] !== void 0 && n[e][4] === void 0) return G("InvalidAttr", "Attribute '" + n[e][2] + "' is without value.", dt(n[e]));
|
|
1428
|
+
if (n[e][3] === void 0 && !t.allowBooleanAttributes) return G("InvalidAttr", "boolean attribute '" + n[e][2] + "' is not allowed.", dt(n[e]));
|
|
1437
1429
|
let i = n[e][2];
|
|
1438
|
-
if (!
|
|
1430
|
+
if (!lt(i)) return G("InvalidAttr", "Attribute '" + i + "' is an invalid name.", dt(n[e]));
|
|
1439
1431
|
if (!Object.prototype.hasOwnProperty.call(r, i)) r[i] = 1;
|
|
1440
|
-
else return G("InvalidAttr", "Attribute '" + i + "' is repeated.",
|
|
1432
|
+
else return G("InvalidAttr", "Attribute '" + i + "' is repeated.", dt(n[e]));
|
|
1441
1433
|
}
|
|
1442
1434
|
return !0;
|
|
1443
1435
|
}
|
|
1444
|
-
function
|
|
1436
|
+
function st(e, t) {
|
|
1445
1437
|
let n = /\d/;
|
|
1446
1438
|
for (e[t] === "x" && (t++, n = /[\da-fA-F]/); t < e.length; t++) {
|
|
1447
1439
|
if (e[t] === ";") return t;
|
|
@@ -1449,9 +1441,9 @@ function lt(e, t) {
|
|
|
1449
1441
|
}
|
|
1450
1442
|
return -1;
|
|
1451
1443
|
}
|
|
1452
|
-
function
|
|
1444
|
+
function ct(e, t) {
|
|
1453
1445
|
if (t++, e[t] === ";") return -1;
|
|
1454
|
-
if (e[t] === "#") return t++,
|
|
1446
|
+
if (e[t] === "#") return t++, st(e, t);
|
|
1455
1447
|
let n = 0;
|
|
1456
1448
|
for (; t < e.length; t++, n++) if (!(e[t].match(/\w/) && n < 20)) {
|
|
1457
1449
|
if (e[t] === ";") break;
|
|
@@ -1467,11 +1459,11 @@ function G(e, t, n) {
|
|
|
1467
1459
|
col: n.col
|
|
1468
1460
|
} };
|
|
1469
1461
|
}
|
|
1470
|
-
function
|
|
1471
|
-
return
|
|
1462
|
+
function lt(e) {
|
|
1463
|
+
return Je(e);
|
|
1472
1464
|
}
|
|
1473
|
-
function
|
|
1474
|
-
return
|
|
1465
|
+
function ut(e) {
|
|
1466
|
+
return Je(e);
|
|
1475
1467
|
}
|
|
1476
1468
|
function K(e, t) {
|
|
1477
1469
|
let n = e.substring(0, t).split(/\r?\n/);
|
|
@@ -1480,12 +1472,12 @@ function K(e, t) {
|
|
|
1480
1472
|
col: n[n.length - 1].length + 1
|
|
1481
1473
|
};
|
|
1482
1474
|
}
|
|
1483
|
-
function
|
|
1475
|
+
function dt(e) {
|
|
1484
1476
|
return e.startIndex + e[1].length;
|
|
1485
1477
|
}
|
|
1486
1478
|
//#endregion
|
|
1487
1479
|
//#region ../../node_modules/.pnpm/@nodable+entities@3.1.0/node_modules/@nodable/entities/src/entities.js
|
|
1488
|
-
var
|
|
1480
|
+
var ft = {
|
|
1489
1481
|
cent: "¢",
|
|
1490
1482
|
pound: "£",
|
|
1491
1483
|
curren: "¤",
|
|
@@ -1501,13 +1493,13 @@ var mt = {
|
|
|
1501
1493
|
won: "₩",
|
|
1502
1494
|
yuan: "¥",
|
|
1503
1495
|
cedil: "¸"
|
|
1504
|
-
},
|
|
1496
|
+
}, pt = {
|
|
1505
1497
|
amp: "&",
|
|
1506
1498
|
apos: "'",
|
|
1507
1499
|
gt: ">",
|
|
1508
1500
|
lt: "<",
|
|
1509
1501
|
quot: "\""
|
|
1510
|
-
},
|
|
1502
|
+
}, mt = {
|
|
1511
1503
|
nbsp: "\xA0",
|
|
1512
1504
|
copy: "©",
|
|
1513
1505
|
reg: "®",
|
|
@@ -1528,17 +1520,17 @@ var mt = {
|
|
|
1528
1520
|
frac12: "½",
|
|
1529
1521
|
frac14: "¼",
|
|
1530
1522
|
frac34: "¾"
|
|
1531
|
-
},
|
|
1523
|
+
}, ht = Object.freeze({
|
|
1532
1524
|
ALLOW: "allow",
|
|
1533
1525
|
BLOCK: "block",
|
|
1534
1526
|
THROW: "throw"
|
|
1535
|
-
}),
|
|
1536
|
-
function
|
|
1527
|
+
}), gt = /* @__PURE__ */ new Set("!?\\\\/[]$%{}^&*()<>|+");
|
|
1528
|
+
function _t(e) {
|
|
1537
1529
|
if (e[0] === "#") throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);
|
|
1538
|
-
for (let t of e) if (
|
|
1530
|
+
for (let t of e) if (gt.has(t)) throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);
|
|
1539
1531
|
return e;
|
|
1540
1532
|
}
|
|
1541
|
-
function
|
|
1533
|
+
function vt(...e) {
|
|
1542
1534
|
let t = Object.create(null);
|
|
1543
1535
|
for (let n of e) if (n) for (let e of Object.keys(n)) {
|
|
1544
1536
|
let r = n[e];
|
|
@@ -1550,21 +1542,21 @@ function bt(...e) {
|
|
|
1550
1542
|
}
|
|
1551
1543
|
return t;
|
|
1552
1544
|
}
|
|
1553
|
-
var q = "external",
|
|
1554
|
-
function
|
|
1555
|
-
return !e || e === q ? /* @__PURE__ */ new Set([q]) : e ===
|
|
1545
|
+
var q = "external", yt = "base", bt = "all";
|
|
1546
|
+
function xt(e) {
|
|
1547
|
+
return !e || e === q ? /* @__PURE__ */ new Set([q]) : e === bt ? /* @__PURE__ */ new Set([bt]) : e === yt ? /* @__PURE__ */ new Set([yt]) : Array.isArray(e) ? new Set(e) : /* @__PURE__ */ new Set([q]);
|
|
1556
1548
|
}
|
|
1557
1549
|
var J = Object.freeze({
|
|
1558
1550
|
allow: 0,
|
|
1559
1551
|
leave: 1,
|
|
1560
1552
|
remove: 2,
|
|
1561
1553
|
throw: 3
|
|
1562
|
-
}),
|
|
1554
|
+
}), St = /* @__PURE__ */ new Set([
|
|
1563
1555
|
9,
|
|
1564
1556
|
10,
|
|
1565
1557
|
13
|
|
1566
1558
|
]);
|
|
1567
|
-
function
|
|
1559
|
+
function Ct(e) {
|
|
1568
1560
|
if (!e) return {
|
|
1569
1561
|
xmlVersion: 1,
|
|
1570
1562
|
onLevel: J.allow,
|
|
@@ -1577,38 +1569,38 @@ function Tt(e) {
|
|
|
1577
1569
|
nullLevel: Math.max(r, J.remove)
|
|
1578
1570
|
};
|
|
1579
1571
|
}
|
|
1580
|
-
var
|
|
1572
|
+
var wt = class {
|
|
1581
1573
|
constructor(e = {}) {
|
|
1582
|
-
this._limit = e.limit || {}, this._maxTotalExpansions = this._limit.maxTotalExpansions || 0, this._maxExpandedLength = this._limit.maxExpandedLength || 0, this._postCheck = typeof e.postCheck == "function" ? e.postCheck : (e) => e, this._limitTiers =
|
|
1583
|
-
let t =
|
|
1574
|
+
this._limit = e.limit || {}, this._maxTotalExpansions = this._limit.maxTotalExpansions || 0, this._maxExpandedLength = this._limit.maxExpandedLength || 0, this._postCheck = typeof e.postCheck == "function" ? e.postCheck : (e) => e, this._limitTiers = xt(this._limit.applyLimitsTo ?? q), this._numericAllowed = e.numericAllowed ?? !0, this._baseMap = vt(pt, e.namedEntities || null), this._externalMap = Object.create(null), this._inputMap = Object.create(null), this._totalExpansions = 0, this._expandedLength = 0, this._removeSet = new Set(e.remove && Array.isArray(e.remove) ? e.remove : []), this._leaveSet = new Set(e.leave && Array.isArray(e.leave) ? e.leave : []);
|
|
1575
|
+
let t = Ct(e.ncr);
|
|
1584
1576
|
this._ncrXmlVersion = t.xmlVersion, this._ncrOnLevel = t.onLevel, this._ncrNullLevel = t.nullLevel, this._onExternalEntity = typeof e.onExternalEntity == "function" ? e.onExternalEntity : null, this._onInputEntity = typeof e.onInputEntity == "function" ? e.onInputEntity : null;
|
|
1585
1577
|
}
|
|
1586
1578
|
_applyRegistrationHook(e, t, n, r) {
|
|
1587
1579
|
if (!e) return !0;
|
|
1588
1580
|
let i = e(t, n);
|
|
1589
|
-
if (i ===
|
|
1590
|
-
if (i ===
|
|
1581
|
+
if (i === ht.BLOCK) return !1;
|
|
1582
|
+
if (i === ht.THROW) throw Error(`[EntityDecoder] Registration of ${r} entity "&${t};" was rejected by hook`);
|
|
1591
1583
|
return !0;
|
|
1592
1584
|
}
|
|
1593
1585
|
setExternalEntities(e) {
|
|
1594
|
-
if (e) for (let t of Object.keys(e))
|
|
1586
|
+
if (e) for (let t of Object.keys(e)) _t(t);
|
|
1595
1587
|
if (!this._onExternalEntity) {
|
|
1596
|
-
this._externalMap =
|
|
1588
|
+
this._externalMap = vt(e);
|
|
1597
1589
|
return;
|
|
1598
1590
|
}
|
|
1599
|
-
let t =
|
|
1591
|
+
let t = vt(e), n = Object.create(null);
|
|
1600
1592
|
for (let [e, r] of Object.entries(t)) this._applyRegistrationHook(this._onExternalEntity, e, r, "external") && (n[e] = r);
|
|
1601
1593
|
this._externalMap = n;
|
|
1602
1594
|
}
|
|
1603
1595
|
addExternalEntity(e, t) {
|
|
1604
|
-
|
|
1596
|
+
_t(e), typeof t == "string" && t.indexOf("&") === -1 && this._applyRegistrationHook(this._onExternalEntity, e, t, "external") && (this._externalMap[e] = t);
|
|
1605
1597
|
}
|
|
1606
1598
|
addInputEntities(e) {
|
|
1607
1599
|
if (this._totalExpansions = 0, this._expandedLength = 0, !this._onInputEntity) {
|
|
1608
|
-
this._inputMap =
|
|
1600
|
+
this._inputMap = vt(e);
|
|
1609
1601
|
return;
|
|
1610
1602
|
}
|
|
1611
|
-
let t =
|
|
1603
|
+
let t = vt(e), n = Object.create(null);
|
|
1612
1604
|
for (let [e, r] of Object.entries(t)) this._applyRegistrationHook(this._onInputEntity, e, r, "input") && (n[e] = r);
|
|
1613
1605
|
this._inputMap = n;
|
|
1614
1606
|
}
|
|
@@ -1648,16 +1640,13 @@ var Et = class {
|
|
|
1648
1640
|
a++;
|
|
1649
1641
|
continue;
|
|
1650
1642
|
}
|
|
1651
|
-
u = e, d =
|
|
1643
|
+
u = e, d = yt;
|
|
1652
1644
|
} else {
|
|
1653
1645
|
let e = this._resolveName(l);
|
|
1654
1646
|
u = e?.value, d = e?.tier;
|
|
1655
1647
|
}
|
|
1656
|
-
if (u === void 0)
|
|
1657
|
-
|
|
1658
|
-
continue;
|
|
1659
|
-
}
|
|
1660
|
-
if (a > i && n.push(e.slice(i, a)), n.push(u), i = t + 1, a = i, c && this._tierCounts(d)) {
|
|
1648
|
+
if (u === void 0) a++;
|
|
1649
|
+
else if (a > i && n.push(e.slice(i, a)), n.push(u), i = t + 1, a = i, c && this._tierCounts(d)) {
|
|
1661
1650
|
if (o && (this._totalExpansions++, this._totalExpansions > this._maxTotalExpansions)) throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);
|
|
1662
1651
|
if (s) {
|
|
1663
1652
|
let e = u.length - (l.length + 2);
|
|
@@ -1670,7 +1659,7 @@ var Et = class {
|
|
|
1670
1659
|
return this._postCheck(l, t);
|
|
1671
1660
|
}
|
|
1672
1661
|
_tierCounts(e) {
|
|
1673
|
-
return this._limitTiers.has(
|
|
1662
|
+
return this._limitTiers.has(bt) ? !0 : this._limitTiers.has(e);
|
|
1674
1663
|
}
|
|
1675
1664
|
_resolveName(e) {
|
|
1676
1665
|
if (e in this._inputMap) return {
|
|
@@ -1683,11 +1672,11 @@ var Et = class {
|
|
|
1683
1672
|
};
|
|
1684
1673
|
if (e in this._baseMap) return {
|
|
1685
1674
|
value: this._baseMap[e],
|
|
1686
|
-
tier:
|
|
1675
|
+
tier: yt
|
|
1687
1676
|
};
|
|
1688
1677
|
}
|
|
1689
1678
|
_classifyNCR(e) {
|
|
1690
|
-
return e === 0 ? this._ncrNullLevel : e >= 55296 && e <= 57343 || this._ncrXmlVersion === 1 && e >= 1 && e <= 31 && !
|
|
1679
|
+
return e === 0 ? this._ncrNullLevel : e >= 55296 && e <= 57343 || this._ncrXmlVersion === 1 && e >= 1 && e <= 31 && !St.has(e) ? J.remove : -1;
|
|
1691
1680
|
}
|
|
1692
1681
|
_applyNCRAction(e, t, n) {
|
|
1693
1682
|
switch (e) {
|
|
@@ -1706,7 +1695,7 @@ var Et = class {
|
|
|
1706
1695
|
let i = r === -1 ? this._ncrOnLevel : Math.max(this._ncrOnLevel, r);
|
|
1707
1696
|
return this._applyNCRAction(i, e, n);
|
|
1708
1697
|
}
|
|
1709
|
-
},
|
|
1698
|
+
}, Tt = (e) => Xe.includes(e) ? "__" + e : e, Et = {
|
|
1710
1699
|
preserveOrder: !1,
|
|
1711
1700
|
attributeNamePrefix: "@_",
|
|
1712
1701
|
attributesGroupName: !1,
|
|
@@ -1749,14 +1738,14 @@ var Et = class {
|
|
|
1749
1738
|
maxNestedTags: 100,
|
|
1750
1739
|
strictReservedNames: !0,
|
|
1751
1740
|
jPath: !0,
|
|
1752
|
-
onDangerousProperty:
|
|
1741
|
+
onDangerousProperty: Tt
|
|
1753
1742
|
};
|
|
1754
|
-
function
|
|
1743
|
+
function Dt(e, t) {
|
|
1755
1744
|
if (typeof e != "string") return;
|
|
1756
1745
|
let n = e.toLowerCase();
|
|
1757
|
-
if (
|
|
1746
|
+
if (Xe.some((e) => n === e.toLowerCase()) || Ze.some((e) => n === e.toLowerCase())) throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);
|
|
1758
1747
|
}
|
|
1759
|
-
function
|
|
1748
|
+
function Ot(e, t) {
|
|
1760
1749
|
return typeof e == "boolean" ? {
|
|
1761
1750
|
enabled: e,
|
|
1762
1751
|
maxEntitySize: 1e4,
|
|
@@ -1777,10 +1766,10 @@ function At(e, t) {
|
|
|
1777
1766
|
allowedTags: e.allowedTags ?? null,
|
|
1778
1767
|
tagFilter: e.tagFilter ?? null,
|
|
1779
1768
|
appliesTo: e.appliesTo ?? "all"
|
|
1780
|
-
} :
|
|
1769
|
+
} : Ot(!0);
|
|
1781
1770
|
}
|
|
1782
|
-
var
|
|
1783
|
-
let t = Object.assign({},
|
|
1771
|
+
var kt = function(e) {
|
|
1772
|
+
let t = Object.assign({}, Et, e), n = [
|
|
1784
1773
|
{
|
|
1785
1774
|
value: t.attributeNamePrefix,
|
|
1786
1775
|
name: "attributeNamePrefix"
|
|
@@ -1802,9 +1791,9 @@ var jt = function(e) {
|
|
|
1802
1791
|
name: "commentPropName"
|
|
1803
1792
|
}
|
|
1804
1793
|
];
|
|
1805
|
-
for (let { value: e, name: t } of n) e &&
|
|
1806
|
-
return t.onDangerousProperty === null && (t.onDangerousProperty =
|
|
1807
|
-
},
|
|
1794
|
+
for (let { value: e, name: t } of n) e && Dt(e, t);
|
|
1795
|
+
return t.onDangerousProperty === null && (t.onDangerousProperty = Tt), t.processEntities = Ot(t.processEntities, t.htmlEntities), t.unpairedTagsSet = new Set(t.unpairedTags), t.stopNodes && Array.isArray(t.stopNodes) && (t.stopNodes = t.stopNodes.map((e) => typeof e == "string" && e.startsWith("*.") ? ".." + e.substring(2) : e)), t;
|
|
1796
|
+
}, At = typeof Symbol == "function" ? Symbol("XML Node Metadata") : "@@xmlMetadata", Y = class {
|
|
1808
1797
|
constructor(e) {
|
|
1809
1798
|
this.tagname = e, this.child = [], this[":@"] = Object.create(null);
|
|
1810
1799
|
}
|
|
@@ -1818,16 +1807,16 @@ var jt = function(e) {
|
|
|
1818
1807
|
}) : this.child.push({ [e.tagname]: e.child }), this.addStartIndex(t);
|
|
1819
1808
|
}
|
|
1820
1809
|
addStartIndex(e) {
|
|
1821
|
-
e !== void 0 && (this.child[this.child.length - 1][
|
|
1810
|
+
e !== void 0 && (this.child[this.child.length - 1][At] = { startIndex: e });
|
|
1822
1811
|
}
|
|
1823
1812
|
addEndIndex(e) {
|
|
1824
1813
|
let t = this.child[this.child.length - 1];
|
|
1825
|
-
t !== void 0 && t[
|
|
1814
|
+
t !== void 0 && t[At] !== void 0 && t[At].endIndex === void 0 && (t[At].endIndex = e);
|
|
1826
1815
|
}
|
|
1827
1816
|
static getMetaDataSymbol() {
|
|
1828
|
-
return
|
|
1817
|
+
return At;
|
|
1829
1818
|
}
|
|
1830
|
-
},
|
|
1819
|
+
}, jt = ":A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈--⁰-Ⰰ-、-豈-﷏ﷰ-�", Mt = jt + "\\-\\.\\d·̀-ͯ‿-⁀", Nt = ":A-Za-z_À-˿Ͱ-ͽͿ-҆҈--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", Pt = Nt + "\\-\\.\\d·̀-ͯ҇‿-⁀", Ft = (e, t, n = "") => {
|
|
1831
1820
|
let r = `[${e.replace(":", "")}][${t.replace(":", "")}]*`;
|
|
1832
1821
|
return {
|
|
1833
1822
|
name: RegExp(`^[${e}][${t}]*$`, n),
|
|
@@ -1836,15 +1825,15 @@ var jt = function(e) {
|
|
|
1836
1825
|
nmToken: RegExp(`^[${t}]+$`, n),
|
|
1837
1826
|
nmTokens: RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`, n)
|
|
1838
1827
|
};
|
|
1839
|
-
},
|
|
1828
|
+
}, It = Ft(jt, Mt), Lt = Ft(Nt, Pt, "u"), Rt = Ft(":A-Za-z_", ":A-Za-z_\\-\\.\\d"), zt = (e = "1.0", t = !1) => t ? Rt : e === "1.1" ? Lt : It, Bt = (e, { xmlVersion: t = "1.0", asciiOnly: n = !1 } = {}) => zt(t, n).qName.test(e), Vt = [
|
|
1840
1829
|
"name",
|
|
1841
1830
|
"ncName",
|
|
1842
1831
|
"qName",
|
|
1843
1832
|
"nmToken",
|
|
1844
1833
|
"nmTokens"
|
|
1845
|
-
],
|
|
1846
|
-
if (!
|
|
1847
|
-
let i =
|
|
1834
|
+
], Ht = (e, { xmlVersion: t = "1.0", asciiOnly: n = !1, maxCacheSize: r = 2048 } = {}) => {
|
|
1835
|
+
if (!Vt.includes(e)) throw TypeError(`Unknown production "${e}". Must be one of: ${Vt.join(", ")}`);
|
|
1836
|
+
let i = zt(t, n)[e], a = /* @__PURE__ */ new Map(), o = (e) => {
|
|
1848
1837
|
let t = a.get(e);
|
|
1849
1838
|
if (t !== void 0) return t;
|
|
1850
1839
|
let n = i.test(e);
|
|
@@ -1853,7 +1842,7 @@ var jt = function(e) {
|
|
|
1853
1842
|
return o.reset = () => {
|
|
1854
1843
|
a = /* @__PURE__ */ new Map();
|
|
1855
1844
|
}, o;
|
|
1856
|
-
},
|
|
1845
|
+
}, Ut = class {
|
|
1857
1846
|
constructor(e, t) {
|
|
1858
1847
|
this.suppressValidationErr = !e, this.options = e, this.xmlVersion = t || 1;
|
|
1859
1848
|
}
|
|
@@ -1865,39 +1854,31 @@ var jt = function(e) {
|
|
|
1865
1854
|
if (e[t + 3] === "O" && e[t + 4] === "C" && e[t + 5] === "T" && e[t + 6] === "Y" && e[t + 7] === "P" && e[t + 8] === "E") {
|
|
1866
1855
|
t += 9;
|
|
1867
1856
|
let i = 1, a = !1, o = !1, s = null, c = "";
|
|
1868
|
-
for (; t < e.length; t++)
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
t = n;
|
|
1894
|
-
} else if (Z(e, "!--", t)) o = !0;
|
|
1895
|
-
else throw Error("Invalid DOCTYPE");
|
|
1896
|
-
i++, c = "";
|
|
1897
|
-
} else if (e[t] === ">") {
|
|
1898
|
-
if (o ? e[t - 1] === "-" && e[t - 2] === "-" && (o = !1, i--) : i--, i === 0) break;
|
|
1899
|
-
} else e[t] === "[" ? a = !0 : c += e[t];
|
|
1900
|
-
}
|
|
1857
|
+
for (; t < e.length; t++) if (s !== null) e[t] === s && (s = null), c += e[t];
|
|
1858
|
+
else if (!a && !o && (e[t] === "\"" || e[t] === "'")) s = e[t], c += e[t];
|
|
1859
|
+
else if (e[t] === "<" && !o) {
|
|
1860
|
+
if (a && Z(e, "!ENTITY", t)) {
|
|
1861
|
+
t += 7;
|
|
1862
|
+
let i, a;
|
|
1863
|
+
if ([i, a, t] = this.readEntityExp(e, t + 1, this.suppressValidationErr), a.indexOf("&") === -1) {
|
|
1864
|
+
if (this.options.enabled !== !1 && this.options.maxEntityCount != null && r >= this.options.maxEntityCount) throw Error(`Entity count (${r + 1}) exceeds maximum allowed (${this.options.maxEntityCount})`);
|
|
1865
|
+
n[i] = a, r++;
|
|
1866
|
+
}
|
|
1867
|
+
} else if (a && Z(e, "!ELEMENT", t)) {
|
|
1868
|
+
t += 8;
|
|
1869
|
+
let { index: n } = this.readElementExp(e, t + 1);
|
|
1870
|
+
t = n;
|
|
1871
|
+
} else if (a && Z(e, "!ATTLIST", t)) t += 8;
|
|
1872
|
+
else if (a && Z(e, "!NOTATION", t)) {
|
|
1873
|
+
t += 9;
|
|
1874
|
+
let { index: n } = this.readNotationExp(e, t + 1, this.suppressValidationErr);
|
|
1875
|
+
t = n;
|
|
1876
|
+
} else if (Z(e, "!--", t)) o = !0;
|
|
1877
|
+
else throw Error("Invalid DOCTYPE");
|
|
1878
|
+
i++, c = "";
|
|
1879
|
+
} else if (e[t] === ">") {
|
|
1880
|
+
if (o ? e[t - 1] === "-" && e[t - 2] === "-" && (o = !1, i--) : i--, i === 0) break;
|
|
1881
|
+
} else e[t] === "[" ? a = !0 : c += e[t];
|
|
1901
1882
|
if (s !== null || i !== 0) throw Error("Unclosed DOCTYPE");
|
|
1902
1883
|
} else throw Error("Invalid Tag instead of DOCTYPE");
|
|
1903
1884
|
return {
|
|
@@ -1910,7 +1891,7 @@ var jt = function(e) {
|
|
|
1910
1891
|
let n = t;
|
|
1911
1892
|
for (; t < e.length && !/\s/.test(e[t]) && e[t] !== "\"" && e[t] !== "'";) t++;
|
|
1912
1893
|
let r = e.substring(n, t);
|
|
1913
|
-
if (
|
|
1894
|
+
if (Wt(r, { xmlVersion: this.xmlVersion }), t = X(e, t), !this.suppressValidationErr) {
|
|
1914
1895
|
if (e.substring(t, t + 6).toUpperCase() === "SYSTEM") throw Error("External entities are not supported");
|
|
1915
1896
|
if (e[t] === "%") throw Error("Parameter entities are not supported");
|
|
1916
1897
|
}
|
|
@@ -1927,7 +1908,7 @@ var jt = function(e) {
|
|
|
1927
1908
|
let n = t;
|
|
1928
1909
|
for (; t < e.length && !/\s/.test(e[t]);) t++;
|
|
1929
1910
|
let r = e.substring(n, t);
|
|
1930
|
-
!this.suppressValidationErr &&
|
|
1911
|
+
!this.suppressValidationErr && Wt(r, { xmlVersion: this.xmlVersion }), t = X(e, t);
|
|
1931
1912
|
let i = e.substring(t, t + 6).toUpperCase();
|
|
1932
1913
|
if (!this.suppressValidationErr && i !== "SYSTEM" && i !== "PUBLIC") throw Error(`Expected SYSTEM or PUBLIC, found "${i}"`);
|
|
1933
1914
|
t += i.length, t = X(e, t);
|
|
@@ -1955,7 +1936,7 @@ var jt = function(e) {
|
|
|
1955
1936
|
let n = t;
|
|
1956
1937
|
for (; t < e.length && !/\s/.test(e[t]);) t++;
|
|
1957
1938
|
let r = e.substring(n, t);
|
|
1958
|
-
if (!this.suppressValidationErr && !
|
|
1939
|
+
if (!this.suppressValidationErr && !Bt(r, { xmlVersion: this.xmlVersion })) throw Error(`Invalid element name: "${r}"`);
|
|
1959
1940
|
t = X(e, t);
|
|
1960
1941
|
let i = "";
|
|
1961
1942
|
if (e[t] === "E" && Z(e, "MPTY", t)) t += 4;
|
|
@@ -1977,9 +1958,9 @@ var jt = function(e) {
|
|
|
1977
1958
|
let n = t;
|
|
1978
1959
|
for (; t < e.length && !/\s/.test(e[t]);) t++;
|
|
1979
1960
|
let r = e.substring(n, t);
|
|
1980
|
-
for (
|
|
1961
|
+
for (Wt(r, { xmlVersion: this.xmlVersion }), t = X(e, t), n = t; t < e.length && !/\s/.test(e[t]);) t++;
|
|
1981
1962
|
let i = e.substring(n, t);
|
|
1982
|
-
if (!
|
|
1963
|
+
if (!Wt(i, { xmlVersion: this.xmlVersion })) throw Error(`Invalid attribute name: "${i}"`);
|
|
1983
1964
|
t = X(e, t);
|
|
1984
1965
|
let a = "";
|
|
1985
1966
|
if (e.substring(t, t + 8).toUpperCase() === "NOTATION") {
|
|
@@ -1990,7 +1971,7 @@ var jt = function(e) {
|
|
|
1990
1971
|
let r = t;
|
|
1991
1972
|
for (; t < e.length && e[t] !== "|" && e[t] !== ")";) t++;
|
|
1992
1973
|
let i = e.substring(r, t);
|
|
1993
|
-
if (i = i.trim(), !
|
|
1974
|
+
if (i = i.trim(), !Wt(i, { xmlVersion: this.xmlVersion })) throw Error(`Invalid notation name: "${i}"`);
|
|
1994
1975
|
n.push(i), e[t] === "|" && (t++, t = X(e, t));
|
|
1995
1976
|
}
|
|
1996
1977
|
if (e[t] !== ")") throw Error("Unterminated list of notations");
|
|
@@ -2027,13 +2008,13 @@ function Z(e, t, n) {
|
|
|
2027
2008
|
for (let r = 0; r < t.length; r++) if (t[r] !== e[n + r + 1]) return !1;
|
|
2028
2009
|
return !0;
|
|
2029
2010
|
}
|
|
2030
|
-
function
|
|
2031
|
-
if (
|
|
2011
|
+
function Wt(e, t) {
|
|
2012
|
+
if (Bt(e, { xmlVersion: t })) return e;
|
|
2032
2013
|
throw Error(`Invalid entity name ${e}`);
|
|
2033
2014
|
}
|
|
2034
2015
|
//#endregion
|
|
2035
2016
|
//#region ../../node_modules/.pnpm/anynum@1.0.1/node_modules/anynum/digitTable.js
|
|
2036
|
-
var
|
|
2017
|
+
var Gt = [
|
|
2037
2018
|
48,
|
|
2038
2019
|
1632,
|
|
2039
2020
|
1776,
|
|
@@ -2095,47 +2076,43 @@ var qt = [
|
|
|
2095
2076
|
124144,
|
|
2096
2077
|
125264,
|
|
2097
2078
|
130032
|
|
2098
|
-
],
|
|
2099
|
-
for (let e of
|
|
2079
|
+
], Kt = /* @__PURE__ */ new Map(), qt = 65535, Jt = 1632, Yt = (/* @__PURE__ */ new Uint8Array(63904)).fill(255);
|
|
2080
|
+
for (let e of Gt) for (let t = 0; t < 10; t++) {
|
|
2100
2081
|
let n = e + t;
|
|
2101
|
-
n <=
|
|
2082
|
+
n <= qt ? Yt[n - Jt] = t : Kt.set(n, t);
|
|
2102
2083
|
}
|
|
2103
2084
|
//#endregion
|
|
2104
2085
|
//#region ../../node_modules/.pnpm/anynum@1.0.1/node_modules/anynum/anynum.js
|
|
2105
|
-
var
|
|
2086
|
+
var Xt = 48, Zt = 57, Qt = 45, $t = /* @__PURE__ */ new Set([
|
|
2106
2087
|
8722,
|
|
2107
2088
|
65293,
|
|
2108
2089
|
65123
|
|
2109
2090
|
]);
|
|
2110
|
-
function
|
|
2091
|
+
function en(e) {
|
|
2111
2092
|
if (typeof e != "string") return e;
|
|
2112
2093
|
let t = e.length;
|
|
2113
2094
|
if (t === 0) return e;
|
|
2114
2095
|
let n = -1;
|
|
2115
2096
|
for (let r = 0; r < t; r++) {
|
|
2116
2097
|
let i = e.charCodeAt(r);
|
|
2117
|
-
if (!(i >=
|
|
2098
|
+
if (!(i >= Xt && i <= Zt || i === Qt)) {
|
|
2118
2099
|
if (i < 1632) {
|
|
2119
|
-
if (
|
|
2100
|
+
if ($t.has(i)) {
|
|
2120
2101
|
n = r;
|
|
2121
2102
|
break;
|
|
2122
2103
|
}
|
|
2123
|
-
|
|
2124
|
-
}
|
|
2125
|
-
if (i >= 55296 && i <= 56319) {
|
|
2104
|
+
} else if (i >= 55296 && i <= 56319) {
|
|
2126
2105
|
if (r + 1 < t) {
|
|
2127
2106
|
let t = e.charCodeAt(r + 1);
|
|
2128
2107
|
if (t >= 56320 && t <= 57343) {
|
|
2129
2108
|
let e = 65536 + (i - 55296 << 10) + (t - 56320);
|
|
2130
|
-
if (
|
|
2109
|
+
if (Kt.has(e)) {
|
|
2131
2110
|
n = r;
|
|
2132
2111
|
break;
|
|
2133
2112
|
}
|
|
2134
2113
|
}
|
|
2135
2114
|
}
|
|
2136
|
-
|
|
2137
|
-
}
|
|
2138
|
-
if (Zt[i - 1632] !== 255 || tn.has(i)) {
|
|
2115
|
+
} else if (Yt[i - 1632] !== 255 || $t.has(i)) {
|
|
2139
2116
|
n = r;
|
|
2140
2117
|
break;
|
|
2141
2118
|
}
|
|
@@ -2146,19 +2123,19 @@ function nn(e) {
|
|
|
2146
2123
|
n > 0 && r.push(e.slice(0, n));
|
|
2147
2124
|
for (let i = n; i < t; i++) {
|
|
2148
2125
|
let n = e.charCodeAt(i);
|
|
2149
|
-
if (n >=
|
|
2126
|
+
if (n >= Xt && n <= Zt || n === Qt) {
|
|
2150
2127
|
r.push(e[i]);
|
|
2151
2128
|
continue;
|
|
2152
2129
|
}
|
|
2153
2130
|
if (n < 1632) {
|
|
2154
|
-
r.push(
|
|
2131
|
+
r.push($t.has(n) ? "-" : e[i]);
|
|
2155
2132
|
continue;
|
|
2156
2133
|
}
|
|
2157
2134
|
if (n >= 55296 && n <= 56319) {
|
|
2158
2135
|
if (i + 1 < t) {
|
|
2159
2136
|
let t = e.charCodeAt(i + 1);
|
|
2160
2137
|
if (t >= 56320 && t <= 57343) {
|
|
2161
|
-
let e = 65536 + (n - 55296 << 10) + (t - 56320), a =
|
|
2138
|
+
let e = 65536 + (n - 55296 << 10) + (t - 56320), a = Kt.get(e);
|
|
2162
2139
|
if (a !== void 0) {
|
|
2163
2140
|
r.push(String.fromCharCode(a + 48)), i++;
|
|
2164
2141
|
continue;
|
|
@@ -2168,18 +2145,18 @@ function nn(e) {
|
|
|
2168
2145
|
r.push(e[i]);
|
|
2169
2146
|
continue;
|
|
2170
2147
|
}
|
|
2171
|
-
if (
|
|
2148
|
+
if ($t.has(n)) {
|
|
2172
2149
|
r.push("-");
|
|
2173
2150
|
continue;
|
|
2174
2151
|
}
|
|
2175
|
-
let a =
|
|
2152
|
+
let a = Yt[n - Jt];
|
|
2176
2153
|
r.push(a === 255 ? e[i] : String.fromCharCode(a + 48));
|
|
2177
2154
|
}
|
|
2178
2155
|
return r.join("");
|
|
2179
2156
|
}
|
|
2180
2157
|
//#endregion
|
|
2181
2158
|
//#region ../../node_modules/.pnpm/strnum@2.4.2/node_modules/strnum/strnum.js
|
|
2182
|
-
var
|
|
2159
|
+
var tn = /^[-+]?0x[a-fA-F0-9]+$/, nn = /^0b[01]+$/, rn = /^0o[0-7]+$/, an = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, on = {
|
|
2183
2160
|
hex: !0,
|
|
2184
2161
|
binary: !1,
|
|
2185
2162
|
octal: !1,
|
|
@@ -2189,20 +2166,20 @@ var rn = /^[-+]?0x[a-fA-F0-9]+$/, an = /^0b[01]+$/, on = /^0o[0-7]+$/, sn = /^([
|
|
|
2189
2166
|
infinity: "original",
|
|
2190
2167
|
unicode: !1
|
|
2191
2168
|
};
|
|
2192
|
-
function
|
|
2193
|
-
if (t = Object.assign({},
|
|
2169
|
+
function sn(e, t = {}) {
|
|
2170
|
+
if (t = Object.assign({}, on, t), !e || typeof e != "string") return e;
|
|
2194
2171
|
let n = e.trim();
|
|
2195
2172
|
if (n.length === 0 || t.skipLike !== void 0 && t.skipLike.test(n)) return e;
|
|
2196
|
-
if (n === "0" || t.unicode && (n =
|
|
2197
|
-
if (t.hex &&
|
|
2198
|
-
if (t.binary &&
|
|
2199
|
-
if (t.octal &&
|
|
2200
|
-
if (!isFinite(n)) return
|
|
2201
|
-
if (n.includes("e") || n.includes("E")) return
|
|
2202
|
-
{
|
|
2203
|
-
let r =
|
|
2173
|
+
if (n === "0" || t.unicode && (n = en(n), n === "0")) return 0;
|
|
2174
|
+
if (t.hex && tn.test(n)) return dn(n, 16);
|
|
2175
|
+
if (t.binary && nn.test(n)) return dn(n, 2);
|
|
2176
|
+
if (t.octal && rn.test(n)) return dn(n, 8);
|
|
2177
|
+
if (!isFinite(n)) return fn(e, Number(n), t);
|
|
2178
|
+
if (n.includes("e") || n.includes("E")) return ln(e, n, t);
|
|
2179
|
+
{
|
|
2180
|
+
let r = an.exec(n);
|
|
2204
2181
|
if (r) {
|
|
2205
|
-
let i = r[1] || "", a = r[2], o =
|
|
2182
|
+
let i = r[1] || "", a = r[2], o = un(r[3]), s = i ? e[a.length + 1] === "." : e[a.length] === ".";
|
|
2206
2183
|
if (!t.leadingZeros && (a.length > 1 || a.length === 1 && !s)) return e;
|
|
2207
2184
|
{
|
|
2208
2185
|
let r = Number(n), s = String(r);
|
|
@@ -2216,17 +2193,17 @@ function ln(e, t = {}) {
|
|
|
2216
2193
|
return e;
|
|
2217
2194
|
}
|
|
2218
2195
|
}
|
|
2219
|
-
var
|
|
2220
|
-
function
|
|
2196
|
+
var cn = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
|
|
2197
|
+
function ln(e, t, n) {
|
|
2221
2198
|
if (!n.eNotation) return e;
|
|
2222
|
-
let r = t.match(
|
|
2199
|
+
let r = t.match(cn);
|
|
2223
2200
|
if (r) {
|
|
2224
2201
|
let i = r[1] || "", a = r[3].indexOf("e") === -1 ? "E" : "e", o = r[2], s = i ? e[o.length + 1] === a : e[o.length] === a;
|
|
2225
2202
|
return o.length > 1 && s ? e : o.length === 1 && (r[3].startsWith(`.${a}`) || r[3][0] === a) ? Number(t) : o.length > 0 ? n.leadingZeros && !s ? (t = (r[1] || "") + r[3], Number(t)) : e : Number(t);
|
|
2226
2203
|
}
|
|
2227
2204
|
return e;
|
|
2228
2205
|
}
|
|
2229
|
-
function
|
|
2206
|
+
function un(e) {
|
|
2230
2207
|
if (e && e.indexOf(".") !== -1) {
|
|
2231
2208
|
let t = e.length;
|
|
2232
2209
|
for (; t > 0 && e.charCodeAt(t - 1) === 48;) t--;
|
|
@@ -2234,14 +2211,14 @@ function fn(e) {
|
|
|
2234
2211
|
}
|
|
2235
2212
|
return e;
|
|
2236
2213
|
}
|
|
2237
|
-
function
|
|
2214
|
+
function dn(e, t) {
|
|
2238
2215
|
let n = e.trim();
|
|
2239
2216
|
if ((t === 2 || t === 8) && (e = n.substring(2)), parseInt) return parseInt(e, t);
|
|
2240
2217
|
if (Number.parseInt) return Number.parseInt(e, t);
|
|
2241
2218
|
if (window && window.parseInt) return window.parseInt(e, t);
|
|
2242
2219
|
throw Error("parseInt, Number.parseInt, window.parseInt are not supported");
|
|
2243
2220
|
}
|
|
2244
|
-
function
|
|
2221
|
+
function fn(e, t, n) {
|
|
2245
2222
|
let r = t === Infinity;
|
|
2246
2223
|
switch (n.infinity.toLowerCase()) {
|
|
2247
2224
|
case "null": return null;
|
|
@@ -2252,14 +2229,14 @@ function mn(e, t, n) {
|
|
|
2252
2229
|
}
|
|
2253
2230
|
//#endregion
|
|
2254
2231
|
//#region ../../node_modules/.pnpm/fast-xml-parser@5.11.2/node_modules/fast-xml-parser/src/ignoreAttributes.js
|
|
2255
|
-
function
|
|
2232
|
+
function pn(e) {
|
|
2256
2233
|
return typeof e == "function" ? e : Array.isArray(e) ? (t) => {
|
|
2257
2234
|
for (let n of e) if (typeof n == "string" && t === n || n instanceof RegExp && n.test(t)) return !0;
|
|
2258
2235
|
} : () => !1;
|
|
2259
2236
|
}
|
|
2260
2237
|
//#endregion
|
|
2261
2238
|
//#region ../../node_modules/.pnpm/path-expression-matcher@1.6.2/node_modules/path-expression-matcher/src/Expression.js
|
|
2262
|
-
var
|
|
2239
|
+
var mn = class {
|
|
2263
2240
|
constructor(e, t = {}, n) {
|
|
2264
2241
|
this.pattern = e, this.separator = t.separator || ".", this.segments = this._parse(e), this.data = n, this._hasDeepWildcard = this.segments.some((e) => e.type === "deep-wildcard"), this._hasAttributeCondition = this.segments.some((e) => e.attrName !== void 0), this._hasPositionSelector = this.segments.some((e) => e.position !== void 0);
|
|
2265
2242
|
}
|
|
@@ -2317,7 +2294,7 @@ var gn = class {
|
|
|
2317
2294
|
toString() {
|
|
2318
2295
|
return this.pattern;
|
|
2319
2296
|
}
|
|
2320
|
-
},
|
|
2297
|
+
}, hn = class {
|
|
2321
2298
|
constructor() {
|
|
2322
2299
|
this._byDepthAndTag = /* @__PURE__ */ new Map(), this._wildcardByDepth = /* @__PURE__ */ new Map(), this._deepWildcards = [], this._deepByTerminalTag = /* @__PURE__ */ new Map(), this._patterns = /* @__PURE__ */ new Set(), this._sealed = !1;
|
|
2323
2300
|
}
|
|
@@ -2375,7 +2352,7 @@ var gn = class {
|
|
|
2375
2352
|
for (let t = 0; t < this._deepWildcards.length; t++) if (e.matches(this._deepWildcards[t])) return this._deepWildcards[t];
|
|
2376
2353
|
return null;
|
|
2377
2354
|
}
|
|
2378
|
-
},
|
|
2355
|
+
}, gn = class {
|
|
2379
2356
|
constructor(e) {
|
|
2380
2357
|
this._matcher = e;
|
|
2381
2358
|
}
|
|
@@ -2432,9 +2409,9 @@ var gn = class {
|
|
|
2432
2409
|
matchesAny(e) {
|
|
2433
2410
|
return e.matchesAny(this._matcher);
|
|
2434
2411
|
}
|
|
2435
|
-
},
|
|
2412
|
+
}, _n = class {
|
|
2436
2413
|
constructor(e = {}) {
|
|
2437
|
-
this.separator = e.separator || ".", this.path = [], this.siblingStacks = [], this._pathStringCache = null, this._view = new
|
|
2414
|
+
this.separator = e.separator || ".", this.path = [], this.siblingStacks = [], this._pathStringCache = null, this._view = new gn(this), this._keptAttrs = [];
|
|
2438
2415
|
}
|
|
2439
2416
|
push(e, t = null, n = null, r = null) {
|
|
2440
2417
|
this._pathStringCache = null, this.path.length > 0 && (this.path[this.path.length - 1].values = void 0);
|
|
@@ -2585,7 +2562,7 @@ var gn = class {
|
|
|
2585
2562
|
readOnly() {
|
|
2586
2563
|
return this._view;
|
|
2587
2564
|
}
|
|
2588
|
-
},
|
|
2565
|
+
}, vn = [
|
|
2589
2566
|
{
|
|
2590
2567
|
id: "html-script-open",
|
|
2591
2568
|
description: "<script opening tag",
|
|
@@ -2671,7 +2648,7 @@ var gn = class {
|
|
|
2671
2648
|
description: "<form tag — can be used for phishing / credential harvesting injection",
|
|
2672
2649
|
pattern: /<form[\s>/]/i
|
|
2673
2650
|
}
|
|
2674
|
-
],
|
|
2651
|
+
], yn = [
|
|
2675
2652
|
{
|
|
2676
2653
|
id: "xml-cdata-injection",
|
|
2677
2654
|
description: "CDATA section injection: <![CDATA[ breaks out of text node context",
|
|
@@ -2732,7 +2709,7 @@ var gn = class {
|
|
|
2732
2709
|
description: "?> closes an enclosing processing instruction",
|
|
2733
2710
|
pattern: /\?>/
|
|
2734
2711
|
}
|
|
2735
|
-
],
|
|
2712
|
+
], bn = [
|
|
2736
2713
|
{
|
|
2737
2714
|
id: "svg-script-element",
|
|
2738
2715
|
description: "<script element inside SVG executes JavaScript",
|
|
@@ -2798,7 +2775,7 @@ var gn = class {
|
|
|
2798
2775
|
description: "style= attribute containing javascript: (e.g. background:url(javascript:...))",
|
|
2799
2776
|
pattern: /style\s*=[\s\S]{0,60}javascript\s*:/i
|
|
2800
2777
|
}
|
|
2801
|
-
],
|
|
2778
|
+
], xn = [
|
|
2802
2779
|
{
|
|
2803
2780
|
id: "sql-block-comment-open",
|
|
2804
2781
|
description: "SQL block comment open: /* ... */ — unusual in legitimate user text",
|
|
@@ -2874,7 +2851,7 @@ var gn = class {
|
|
|
2874
2851
|
description: "INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",
|
|
2875
2852
|
pattern: /\bINFORMATION_SCHEMA\b/i
|
|
2876
2853
|
}
|
|
2877
|
-
],
|
|
2854
|
+
], Sn = [
|
|
2878
2855
|
{
|
|
2879
2856
|
id: "shell-path-traversal-unix",
|
|
2880
2857
|
description: "Unix path traversal: ../ — climbing the directory tree",
|
|
@@ -2965,7 +2942,7 @@ var gn = class {
|
|
|
2965
2942
|
description: "curl/wget with URL or flags — can exfiltrate data or download payloads",
|
|
2966
2943
|
pattern: /\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i
|
|
2967
2944
|
}
|
|
2968
|
-
],
|
|
2945
|
+
], Cn = [
|
|
2969
2946
|
{
|
|
2970
2947
|
id: "redos-nested-quantifier-plus",
|
|
2971
2948
|
description: "Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",
|
|
@@ -3006,7 +2983,7 @@ var gn = class {
|
|
|
3006
2983
|
description: "Long alternation with many similar branches — polynomial backtracking risk",
|
|
3007
2984
|
pattern: /\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/
|
|
3008
2985
|
}
|
|
3009
|
-
], Q = "[\"'\\s]*:",
|
|
2986
|
+
], Q = "[\"'\\s]*:", wn = [
|
|
3010
2987
|
{
|
|
3011
2988
|
id: "nosql-where-operator",
|
|
3012
2989
|
description: "$where — executes arbitrary JavaScript server-side in MongoDB",
|
|
@@ -3087,7 +3064,7 @@ var gn = class {
|
|
|
3087
3064
|
description: "[\"__proto__\"] — bracket-notation prototype pollution",
|
|
3088
3065
|
pattern: /\[["']__proto__["']\]/
|
|
3089
3066
|
}
|
|
3090
|
-
],
|
|
3067
|
+
], Tn = [
|
|
3091
3068
|
{
|
|
3092
3069
|
id: "log-crlf-injection",
|
|
3093
3070
|
description: "CRLF injection: literal \\r or \\n embeds fake log lines",
|
|
@@ -3148,7 +3125,7 @@ var gn = class {
|
|
|
3148
3125
|
description: "ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",
|
|
3149
3126
|
pattern: /\x1b\[/
|
|
3150
3127
|
}
|
|
3151
|
-
],
|
|
3128
|
+
], En = [
|
|
3152
3129
|
{
|
|
3153
3130
|
id: "sql-line-comment",
|
|
3154
3131
|
description: "SQL line comment: -- followed by whitespace or end of string",
|
|
@@ -3164,34 +3141,32 @@ var gn = class {
|
|
|
3164
3141
|
description: "Hex-encoded string injection: 0x41414141 style (MySQL)",
|
|
3165
3142
|
pattern: /\b0x[0-9a-f]{4,}/i
|
|
3166
3143
|
}
|
|
3167
|
-
],
|
|
3168
|
-
|
|
3169
|
-
HTML:
|
|
3170
|
-
XML:
|
|
3171
|
-
SVG:
|
|
3172
|
-
SQL:
|
|
3173
|
-
"SQL-STRICT":
|
|
3174
|
-
SHELL:
|
|
3175
|
-
REDOS:
|
|
3176
|
-
NOSQL:
|
|
3177
|
-
LOG:
|
|
3144
|
+
], Dn = [...xn, ...En];
|
|
3145
|
+
vn.label = "HTML", yn.label = "XML", bn.label = "SVG", xn.label = "SQL", Dn.label = "SQL-STRICT", Sn.label = "SHELL", Cn.label = "REDOS", wn.label = "NOSQL", Tn.label = "LOG", Object.freeze({
|
|
3146
|
+
HTML: vn,
|
|
3147
|
+
XML: yn,
|
|
3148
|
+
SVG: bn,
|
|
3149
|
+
SQL: xn,
|
|
3150
|
+
"SQL-STRICT": Dn,
|
|
3151
|
+
SHELL: Sn,
|
|
3152
|
+
REDOS: Cn,
|
|
3153
|
+
NOSQL: wn,
|
|
3154
|
+
LOG: Tn
|
|
3178
3155
|
});
|
|
3179
|
-
function
|
|
3156
|
+
function On(e) {
|
|
3180
3157
|
if (typeof e != "string") throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);
|
|
3181
3158
|
}
|
|
3182
|
-
function
|
|
3159
|
+
function kn(e) {
|
|
3183
3160
|
if (!(e instanceof RegExp)) {
|
|
3184
3161
|
if (Array.isArray(e)) {
|
|
3185
3162
|
if (e.length === 0) throw TypeError("is-unsafe: context must not be an empty array");
|
|
3186
3163
|
if (Array.isArray(e[0])) {
|
|
3187
3164
|
for (let t of e) if (!Array.isArray(t) || t.length === 0) throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)");
|
|
3188
3165
|
}
|
|
3189
|
-
|
|
3190
|
-
}
|
|
3191
|
-
throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`);
|
|
3166
|
+
} else throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`);
|
|
3192
3167
|
}
|
|
3193
3168
|
}
|
|
3194
|
-
function
|
|
3169
|
+
function An(e) {
|
|
3195
3170
|
return e instanceof RegExp ? {
|
|
3196
3171
|
lists: null,
|
|
3197
3172
|
regex: e
|
|
@@ -3203,7 +3178,7 @@ function Mn(e) {
|
|
|
3203
3178
|
regex: null
|
|
3204
3179
|
};
|
|
3205
3180
|
}
|
|
3206
|
-
function
|
|
3181
|
+
function jn(e, t) {
|
|
3207
3182
|
let n = t.label ?? "CUSTOM";
|
|
3208
3183
|
for (let r of t) if (r.pattern.test(e)) return {
|
|
3209
3184
|
context: n,
|
|
@@ -3213,16 +3188,16 @@ function Nn(e, t) {
|
|
|
3213
3188
|
};
|
|
3214
3189
|
return null;
|
|
3215
3190
|
}
|
|
3216
|
-
function
|
|
3217
|
-
|
|
3218
|
-
let { lists: n, regex: r } =
|
|
3191
|
+
function Mn(e, t) {
|
|
3192
|
+
On(e), kn(t);
|
|
3193
|
+
let { lists: n, regex: r } = An(t);
|
|
3219
3194
|
if (r) return r.test(e);
|
|
3220
|
-
for (let t of n) if (
|
|
3195
|
+
for (let t of n) if (jn(e, t) !== null) return !0;
|
|
3221
3196
|
return !1;
|
|
3222
3197
|
}
|
|
3223
3198
|
//#endregion
|
|
3224
3199
|
//#region ../../node_modules/.pnpm/fast-xml-parser@5.11.2/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js
|
|
3225
|
-
function
|
|
3200
|
+
function Nn(e, t) {
|
|
3226
3201
|
if (!e) return {};
|
|
3227
3202
|
let n = t.attributesGroupName ? e[t.attributesGroupName] : e;
|
|
3228
3203
|
if (!n) return {};
|
|
@@ -3233,7 +3208,7 @@ function Fn(e, t) {
|
|
|
3233
3208
|
} else r[e] = n[e];
|
|
3234
3209
|
return r;
|
|
3235
3210
|
}
|
|
3236
|
-
function
|
|
3211
|
+
function Pn(e) {
|
|
3237
3212
|
if (!e || typeof e != "string") return;
|
|
3238
3213
|
let t = e.indexOf(":");
|
|
3239
3214
|
if (t !== -1 && t > 0) {
|
|
@@ -3241,14 +3216,14 @@ function In(e) {
|
|
|
3241
3216
|
if (n !== "xmlns") return n;
|
|
3242
3217
|
}
|
|
3243
3218
|
}
|
|
3244
|
-
var
|
|
3219
|
+
var Fn = class {
|
|
3245
3220
|
constructor(e, t) {
|
|
3246
|
-
this.options = e, this.currentNode = null, this.tagsNodeStack = [], this.parseXml =
|
|
3247
|
-
let n = { ...
|
|
3221
|
+
this.options = e, this.currentNode = null, this.tagsNodeStack = [], this.parseXml = Bn, this.parseTextData = In, this.resolveNameSpace = Ln, this.buildAttributesMap = zn, this.isItStopNode = Wn, this.replaceEntitiesValue = Hn, this.readStopNodeData = Jn, this.saveTextToParentTag = Un, this.addChild = Vn, this.ignoreAttributesFn = pn(this.options.ignoreAttributes), this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.doctypefound = !1;
|
|
3222
|
+
let n = { ...pt };
|
|
3248
3223
|
this.options.entityDecoder ? this.entityDecoder = this.options.entityDecoder : (typeof this.options.htmlEntities == "object" ? n = this.options.htmlEntities : this.options.htmlEntities === !0 && (n = {
|
|
3249
|
-
...
|
|
3250
|
-
...
|
|
3251
|
-
}), this.entityDecoder = new
|
|
3224
|
+
...mt,
|
|
3225
|
+
...ft
|
|
3226
|
+
}), this.entityDecoder = new wt({
|
|
3252
3227
|
namedEntities: {
|
|
3253
3228
|
...n,
|
|
3254
3229
|
...t
|
|
@@ -3259,27 +3234,27 @@ var Ln = class {
|
|
|
3259
3234
|
maxExpandedLength: this.options.processEntities.maxExpandedLength,
|
|
3260
3235
|
applyLimitsTo: this.options.processEntities.appliesTo
|
|
3261
3236
|
},
|
|
3262
|
-
onInputEntity: (e, t) =>
|
|
3263
|
-
})), this.matcher = new
|
|
3237
|
+
onInputEntity: (e, t) => Mn(t, [vn, yn]) ? ht.BLOCK : ht.ALLOW
|
|
3238
|
+
})), this.matcher = new _n(), this.readonlyMatcher = this.matcher.readOnly(), this.isCurrentNodeStopNode = !1, this.stopNodeExpressionsSet = new hn();
|
|
3264
3239
|
let r = this.options.stopNodes;
|
|
3265
3240
|
if (r && r.length > 0) {
|
|
3266
3241
|
for (let e = 0; e < r.length; e++) {
|
|
3267
3242
|
let t = r[e];
|
|
3268
|
-
typeof t == "string" ? this.stopNodeExpressionsSet.add(new
|
|
3243
|
+
typeof t == "string" ? this.stopNodeExpressionsSet.add(new mn(t)) : t instanceof mn && this.stopNodeExpressionsSet.add(t);
|
|
3269
3244
|
}
|
|
3270
3245
|
this.stopNodeExpressionsSet.seal();
|
|
3271
3246
|
}
|
|
3272
3247
|
}
|
|
3273
3248
|
};
|
|
3274
|
-
function
|
|
3249
|
+
function In(e, t, n, r, i, a, o) {
|
|
3275
3250
|
let s = this.options;
|
|
3276
3251
|
if (e !== void 0 && (s.trimValues && !r && (e = e.trim()), e.length > 0)) {
|
|
3277
3252
|
o || (e = this.replaceEntitiesValue(e, t, n));
|
|
3278
3253
|
let r = s.jPath ? n.toString() : n, c = s.tagValueProcessor(t, e, r, i, a);
|
|
3279
|
-
return c == null ? e : typeof c != typeof e || c !== e ? c : s.trimValues || e.trim() === e ?
|
|
3254
|
+
return c == null ? e : typeof c != typeof e || c !== e ? c : s.trimValues || e.trim() === e ? Yn(e, s.parseTagValue, s.numberParseOptions) : e;
|
|
3280
3255
|
}
|
|
3281
3256
|
}
|
|
3282
|
-
function
|
|
3257
|
+
function Ln(e) {
|
|
3283
3258
|
if (this.options.removeNSPrefix) {
|
|
3284
3259
|
let t = e.split(":"), n = e.charAt(0) === "/" ? "/" : "";
|
|
3285
3260
|
if (t[0] === "xmlns") return "";
|
|
@@ -3287,11 +3262,11 @@ function zn(e) {
|
|
|
3287
3262
|
}
|
|
3288
3263
|
return e;
|
|
3289
3264
|
}
|
|
3290
|
-
var
|
|
3291
|
-
function
|
|
3265
|
+
var Rn = /* @__PURE__ */ RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?", "gm");
|
|
3266
|
+
function zn(e, t, n, r = !1) {
|
|
3292
3267
|
let i = this.options;
|
|
3293
3268
|
if (r === !0 || i.ignoreAttributes !== !0 && typeof e == "string") {
|
|
3294
|
-
let r =
|
|
3269
|
+
let r = qe(e, Rn), a = r.length, o = {}, s = Array(a), c = !1, l = {};
|
|
3295
3270
|
for (let e = 0; e < a; e++) {
|
|
3296
3271
|
let t = this.resolveNameSpace(r[e][1]), a = r[e][4];
|
|
3297
3272
|
if (t.length && a !== void 0) {
|
|
@@ -3306,9 +3281,9 @@ function Vn(e, t, n, r = !1) {
|
|
|
3306
3281
|
if (this.ignoreAttributesFn(t, u)) continue;
|
|
3307
3282
|
let n = i.attributeNamePrefix + t;
|
|
3308
3283
|
if (t.length) {
|
|
3309
|
-
if (i.transformAttributeName && (n = i.transformAttributeName(n)), n =
|
|
3284
|
+
if (i.transformAttributeName && (n = i.transformAttributeName(n)), n = Zn(n, i), r[e][4] !== void 0) {
|
|
3310
3285
|
let r = s[e], a = i.attributeValueProcessor(t, r, u);
|
|
3311
|
-
a == null ? o[n] = r : typeof a != typeof r || a !== r ? o[n] = a : o[n] =
|
|
3286
|
+
a == null ? o[n] = r : typeof a != typeof r || a !== r ? o[n] = a : o[n] = Yn(r, i.parseAttributeValue, i.numberParseOptions), d = !0;
|
|
3312
3287
|
} else i.allowBooleanAttributes && (o[n] = !0, d = !0);
|
|
3313
3288
|
}
|
|
3314
3289
|
}
|
|
@@ -3320,11 +3295,11 @@ function Vn(e, t, n, r = !1) {
|
|
|
3320
3295
|
return o;
|
|
3321
3296
|
}
|
|
3322
3297
|
}
|
|
3323
|
-
var
|
|
3298
|
+
var Bn = function(e) {
|
|
3324
3299
|
e = e.replace(/\r\n?/g, "\n");
|
|
3325
3300
|
let t = new Y("!xml"), n = t, r = "";
|
|
3326
3301
|
this.matcher.reset(), this.entityDecoder.reset(), this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.doctypefound = !1;
|
|
3327
|
-
let i = this.options, a = new
|
|
3302
|
+
let i = this.options, a = new Ut(i.processEntities), o = e.length;
|
|
3328
3303
|
for (let s = 0; s < o; s++) if (e[s] === "<") {
|
|
3329
3304
|
let c = e.charCodeAt(s + 1);
|
|
3330
3305
|
if (c === 47) {
|
|
@@ -3333,12 +3308,12 @@ var Hn = function(e) {
|
|
|
3333
3308
|
let e = o.indexOf(":");
|
|
3334
3309
|
e !== -1 && (o = o.substr(e + 1));
|
|
3335
3310
|
}
|
|
3336
|
-
o =
|
|
3311
|
+
o = Xn(i.transformTagName, o, "", i).tagName, n && (r = this.saveTextToParentTag(r, n, this.readonlyMatcher));
|
|
3337
3312
|
let c = this.matcher.getCurrentTag();
|
|
3338
3313
|
if (o && i.unpairedTagsSet.has(o)) throw Error(`Unpaired tag can not be used as closing tag: </${o}>`);
|
|
3339
3314
|
c && i.unpairedTagsSet.has(c) && (this.matcher.pop(), this.tagsNodeStack.pop()), this.matcher.pop(), this.isCurrentNodeStopNode = !1, n = this.tagsNodeStack.pop() || t, i.captureMetaData && n && n.addEndIndex(a + 1), r = "", s = a;
|
|
3340
3315
|
} else if (c === 63) {
|
|
3341
|
-
let t =
|
|
3316
|
+
let t = qn(e, s, !1, "?>");
|
|
3342
3317
|
if (!t) throw Error("Pi Tag is not closed.");
|
|
3343
3318
|
r = this.saveTextToParentTag(r, n, this.readonlyMatcher);
|
|
3344
3319
|
let o = this.buildAttributesMap(t.tagExp, this.matcher, t.tagName, !0);
|
|
@@ -3369,20 +3344,20 @@ var Hn = function(e) {
|
|
|
3369
3344
|
let o = this.parseTextData(a, n.tagname, this.readonlyMatcher, !0, !1, !0, !0);
|
|
3370
3345
|
o ??= "", i.cdataPropName ? n.add(i.cdataPropName, [{ [i.textNodeName]: a }]) : n.add(i.textNodeName, o), s = t + 2;
|
|
3371
3346
|
} else {
|
|
3372
|
-
let a =
|
|
3347
|
+
let a = qn(e, s, i.removeNSPrefix);
|
|
3373
3348
|
if (!a) {
|
|
3374
3349
|
let t = e.substring(Math.max(0, s - 50), Math.min(o, s + 50));
|
|
3375
3350
|
throw Error(`readTagExp returned undefined at position ${s}. Context: "${t}"`);
|
|
3376
3351
|
}
|
|
3377
3352
|
let c = a.tagName, l = a.rawTagName, u = a.tagExp, d = a.attrExpPresent, f = a.closeIndex;
|
|
3378
|
-
if ({tagName: c, tagExp: u} =
|
|
3353
|
+
if ({tagName: c, tagExp: u} = Xn(i.transformTagName, c, u, i), i.strictReservedNames && (c === i.commentPropName || c === i.cdataPropName || c === i.textNodeName || c === i.attributesGroupName)) throw Error(`Invalid tag name: ${c}`);
|
|
3379
3354
|
n && r && n.tagname !== "!xml" && (r = this.saveTextToParentTag(r, n, this.readonlyMatcher, !1));
|
|
3380
3355
|
let p = n;
|
|
3381
3356
|
p && i.unpairedTagsSet.has(p.tagname) && (n = this.tagsNodeStack.pop(), this.matcher.pop());
|
|
3382
3357
|
let m = !1;
|
|
3383
3358
|
u.length > 0 && u.lastIndexOf("/") === u.length - 1 && (m = !0, c[c.length - 1] === "/" ? (c = c.substr(0, c.length - 1), u = c) : u = u.substr(0, u.length - 1), d = c !== u);
|
|
3384
3359
|
let h = null, g;
|
|
3385
|
-
g =
|
|
3360
|
+
g = Pn(l), c !== t.tagname && this.matcher.push(c, {}, g), c !== u && d && (h = this.buildAttributesMap(u, this.matcher, c), h && Nn(h, i)), c !== t.tagname && (this.isCurrentNodeStopNode = this.isItStopNode());
|
|
3386
3361
|
let _ = s;
|
|
3387
3362
|
if (this.isCurrentNodeStopNode) {
|
|
3388
3363
|
let t = "";
|
|
@@ -3397,7 +3372,7 @@ var Hn = function(e) {
|
|
|
3397
3372
|
h && (r[":@"] = h), r.add(i.textNodeName, t), this.matcher.pop(), this.isCurrentNodeStopNode = !1, this.addChild(n, r, this.readonlyMatcher, _), i.captureMetaData && n.addEndIndex(s + 1);
|
|
3398
3373
|
} else {
|
|
3399
3374
|
if (m) {
|
|
3400
|
-
({tagName: c, tagExp: u} =
|
|
3375
|
+
({tagName: c, tagExp: u} = Xn(i.transformTagName, c, u, i));
|
|
3401
3376
|
let e = new Y(c);
|
|
3402
3377
|
h && (e[":@"] = h), this.addChild(n, e, this.readonlyMatcher, _), i.captureMetaData && n.addEndIndex(f + 1), this.matcher.pop(), this.isCurrentNodeStopNode = !1;
|
|
3403
3378
|
} else if (i.unpairedTagsSet.has(c)) {
|
|
@@ -3415,12 +3390,12 @@ var Hn = function(e) {
|
|
|
3415
3390
|
} else r += e[s];
|
|
3416
3391
|
return t.child;
|
|
3417
3392
|
};
|
|
3418
|
-
function
|
|
3393
|
+
function Vn(e, t, n, r) {
|
|
3419
3394
|
this.options.captureMetaData || (r = void 0);
|
|
3420
3395
|
let i = this.options.jPath ? n.toString() : n, a = this.options.updateTag(t.tagname, i, t[":@"]);
|
|
3421
3396
|
a === !1 || (typeof a == "string" && (t.tagname = a), e.addChild(t, r));
|
|
3422
3397
|
}
|
|
3423
|
-
function
|
|
3398
|
+
function Hn(e, t, n) {
|
|
3424
3399
|
let r = this.options.processEntities;
|
|
3425
3400
|
if (!r || !r.enabled) return e;
|
|
3426
3401
|
if (r.allowedTags) {
|
|
@@ -3433,13 +3408,13 @@ function Wn(e, t, n) {
|
|
|
3433
3408
|
}
|
|
3434
3409
|
return this.entityDecoder.decode(e);
|
|
3435
3410
|
}
|
|
3436
|
-
function
|
|
3411
|
+
function Un(e, t, n, r) {
|
|
3437
3412
|
return e &&= (r === void 0 && (r = t.child.length === 0), e = this.parseTextData(e, t.tagname, n, !1, t[":@"] ? Object.keys(t[":@"]).length !== 0 : !1, r), e !== void 0 && e !== "" && t.add(this.options.textNodeName, e), ""), e;
|
|
3438
3413
|
}
|
|
3439
|
-
function
|
|
3414
|
+
function Wn() {
|
|
3440
3415
|
return this.stopNodeExpressionsSet.size !== 0 && this.matcher.matchesAny(this.stopNodeExpressionsSet);
|
|
3441
3416
|
}
|
|
3442
|
-
function
|
|
3417
|
+
function Gn(e, t, n = ">") {
|
|
3443
3418
|
let r = 0, i = e.length, a = n.charCodeAt(0), o = n.length > 1 ? n.charCodeAt(1) : -1, s = "", c = t;
|
|
3444
3419
|
for (let n = t; n < i; n++) {
|
|
3445
3420
|
let t = e.charCodeAt(n);
|
|
@@ -3463,13 +3438,13 @@ function $(e, t, n, r) {
|
|
|
3463
3438
|
if (i === -1) throw Error(r);
|
|
3464
3439
|
return i + t.length - 1;
|
|
3465
3440
|
}
|
|
3466
|
-
function
|
|
3441
|
+
function Kn(e, t, n, r) {
|
|
3467
3442
|
let i = e.indexOf(t, n);
|
|
3468
3443
|
if (i === -1) throw Error(r);
|
|
3469
3444
|
return i;
|
|
3470
3445
|
}
|
|
3471
|
-
function
|
|
3472
|
-
let i =
|
|
3446
|
+
function qn(e, t, n, r = ">") {
|
|
3447
|
+
let i = Gn(e, t + 1, r);
|
|
3473
3448
|
if (!i) return;
|
|
3474
3449
|
let a = i.data, o = i.index, s = a.search(/\s/), c = a, l = !0;
|
|
3475
3450
|
s !== -1 && (c = a.substring(0, s), a = a.substring(s + 1).trimStart());
|
|
@@ -3486,12 +3461,12 @@ function Yn(e, t, n, r = ">") {
|
|
|
3486
3461
|
rawTagName: u
|
|
3487
3462
|
};
|
|
3488
3463
|
}
|
|
3489
|
-
function
|
|
3464
|
+
function Jn(e, t, n) {
|
|
3490
3465
|
let r = n, i = 1, a = e.length;
|
|
3491
3466
|
for (; n < a; n++) if (e[n] === "<") {
|
|
3492
3467
|
let a = e.charCodeAt(n + 1);
|
|
3493
3468
|
if (a === 47) {
|
|
3494
|
-
let a =
|
|
3469
|
+
let a = Kn(e, ">", n, `${t} is not closed`);
|
|
3495
3470
|
if (e.substring(n + 2, a).trim() === t && (i--, i === 0)) return {
|
|
3496
3471
|
tagContent: e.substring(r, n),
|
|
3497
3472
|
i: a
|
|
@@ -3501,36 +3476,36 @@ function Xn(e, t, n) {
|
|
|
3501
3476
|
else if (a === 33 && e.charCodeAt(n + 2) === 45 && e.charCodeAt(n + 3) === 45) n = $(e, "-->", n + 3, "StopNode is not closed.");
|
|
3502
3477
|
else if (a === 33 && e.charCodeAt(n + 2) === 91) n = $(e, "]]>", n, "StopNode is not closed.") - 2;
|
|
3503
3478
|
else {
|
|
3504
|
-
let r =
|
|
3479
|
+
let r = qn(e, n, !1);
|
|
3505
3480
|
r && ((r && r.tagName) === t && r.tagExp[r.tagExp.length - 1] !== "/" && i++, n = r.closeIndex);
|
|
3506
3481
|
}
|
|
3507
3482
|
}
|
|
3508
3483
|
}
|
|
3509
|
-
function
|
|
3484
|
+
function Yn(e, t, n) {
|
|
3510
3485
|
if (t && typeof e == "string") {
|
|
3511
3486
|
let t = e.trim();
|
|
3512
|
-
return t === "true" || t !== "false" &&
|
|
3487
|
+
return t === "true" || t !== "false" && sn(e, n);
|
|
3513
3488
|
}
|
|
3514
|
-
return
|
|
3489
|
+
return Ye(e) ? e : "";
|
|
3515
3490
|
}
|
|
3516
|
-
function
|
|
3491
|
+
function Xn(e, t, n, r) {
|
|
3517
3492
|
if (e) {
|
|
3518
3493
|
let r = e(t);
|
|
3519
3494
|
n === t && (n = r), t = r;
|
|
3520
3495
|
}
|
|
3521
|
-
return t =
|
|
3496
|
+
return t = Zn(t, r), {
|
|
3522
3497
|
tagName: t,
|
|
3523
3498
|
tagExp: n
|
|
3524
3499
|
};
|
|
3525
3500
|
}
|
|
3526
|
-
function
|
|
3527
|
-
if (
|
|
3528
|
-
return
|
|
3501
|
+
function Zn(e, t) {
|
|
3502
|
+
if (Ze.includes(e)) throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);
|
|
3503
|
+
return Xe.includes(e) ? t.onDangerousProperty(e) : e;
|
|
3529
3504
|
}
|
|
3530
3505
|
//#endregion
|
|
3531
3506
|
//#region ../../node_modules/.pnpm/fast-xml-parser@5.11.2/node_modules/fast-xml-parser/src/xmlparser/node2json.js
|
|
3532
|
-
var
|
|
3533
|
-
function
|
|
3507
|
+
var Qn = Y.getMetaDataSymbol();
|
|
3508
|
+
function $n(e, t) {
|
|
3534
3509
|
if (!e || typeof e != "object") return {};
|
|
3535
3510
|
if (!t) return e;
|
|
3536
3511
|
let n = {};
|
|
@@ -3540,22 +3515,22 @@ function tr(e, t) {
|
|
|
3540
3515
|
} else n[r] = e[r];
|
|
3541
3516
|
return n;
|
|
3542
3517
|
}
|
|
3543
|
-
function
|
|
3544
|
-
return
|
|
3518
|
+
function er(e, t, n, r) {
|
|
3519
|
+
return tr(e, t, n, r);
|
|
3545
3520
|
}
|
|
3546
|
-
function
|
|
3521
|
+
function tr(e, t, n, r) {
|
|
3547
3522
|
let i, a = {};
|
|
3548
3523
|
for (let o = 0; o < e.length; o++) {
|
|
3549
|
-
let s = e[o], c =
|
|
3524
|
+
let s = e[o], c = nr(s);
|
|
3550
3525
|
if (c !== void 0 && c !== t.textNodeName) {
|
|
3551
|
-
let e =
|
|
3526
|
+
let e = $n(s[":@"] || {}, t.attributeNamePrefix);
|
|
3552
3527
|
n.push(c, e);
|
|
3553
3528
|
}
|
|
3554
3529
|
if (c === t.textNodeName) i === void 0 ? i = s[c] : i += "" + s[c];
|
|
3555
3530
|
else if (c === void 0) continue;
|
|
3556
3531
|
else if (s[c]) {
|
|
3557
|
-
let e =
|
|
3558
|
-
if (Object.keys(e).length === 0 && t.alwaysCreateTextNode && (e[t.textNodeName] = ""), s[":@"] ?
|
|
3532
|
+
let e = tr(s[c], t, n, r), i = ir(e, t);
|
|
3533
|
+
if (Object.keys(e).length === 0 && t.alwaysCreateTextNode && (e[t.textNodeName] = ""), s[":@"] ? rr(e, s[":@"], r, t) : Object.keys(e).length === 1 && e[t.textNodeName] !== void 0 && !t.alwaysCreateTextNode ? e = e[t.textNodeName] : Object.keys(e).length === 0 && (t.alwaysCreateTextNode ? e[t.textNodeName] = "" : e = ""), s[Qn] !== void 0 && typeof e == "object" && e && (e[Qn] = s[Qn]), a[c] !== void 0 && Object.prototype.hasOwnProperty.call(a, c)) Array.isArray(a[c]) || (a[c] = [a[c]]), a[c].push(e);
|
|
3559
3534
|
else {
|
|
3560
3535
|
let n = t.jPath ? r.toString() : r;
|
|
3561
3536
|
a[c] = t.isArray(c, n, i) ? [e] : e;
|
|
@@ -3565,14 +3540,14 @@ function rr(e, t, n, r) {
|
|
|
3565
3540
|
}
|
|
3566
3541
|
return typeof i == "string" ? i.length > 0 && (a[t.textNodeName] = i) : i !== void 0 && (a[t.textNodeName] = i), a;
|
|
3567
3542
|
}
|
|
3568
|
-
function
|
|
3543
|
+
function nr(e) {
|
|
3569
3544
|
let t = Object.keys(e);
|
|
3570
3545
|
for (let e = 0; e < t.length; e++) {
|
|
3571
3546
|
let n = t[e];
|
|
3572
3547
|
if (n !== ":@") return n;
|
|
3573
3548
|
}
|
|
3574
3549
|
}
|
|
3575
|
-
function
|
|
3550
|
+
function rr(e, t, n, r) {
|
|
3576
3551
|
if (t) {
|
|
3577
3552
|
let i = Object.keys(t), a = i.length;
|
|
3578
3553
|
for (let o = 0; o < a; o++) {
|
|
@@ -3581,26 +3556,26 @@ function ar(e, t, n, r) {
|
|
|
3581
3556
|
}
|
|
3582
3557
|
}
|
|
3583
3558
|
}
|
|
3584
|
-
function
|
|
3559
|
+
function ir(e, t) {
|
|
3585
3560
|
let { textNodeName: n } = t, r = Object.keys(e).length;
|
|
3586
3561
|
return !!(r === 0 || r === 1 && (e[n] || typeof e[n] == "boolean" || e[n] === 0));
|
|
3587
3562
|
}
|
|
3588
3563
|
//#endregion
|
|
3589
3564
|
//#region ../../node_modules/.pnpm/fast-xml-parser@5.11.2/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
|
|
3590
|
-
var
|
|
3565
|
+
var ar = class {
|
|
3591
3566
|
constructor(e) {
|
|
3592
|
-
this.externalEntities = {}, this.options =
|
|
3567
|
+
this.externalEntities = {}, this.options = kt(e);
|
|
3593
3568
|
}
|
|
3594
3569
|
parse(e, t) {
|
|
3595
3570
|
if (typeof e != "string" && e.toString) e = e instanceof Uint8Array && !(de !== void 0 && de.isBuffer(e)) ? new TextDecoder("utf-8", { ignoreBOM: !0 }).decode(e) : e.toString();
|
|
3596
3571
|
else if (typeof e != "string") throw Error("XML data is accepted in String or Bytes[] form.");
|
|
3597
3572
|
if (t) {
|
|
3598
3573
|
t === !0 && (t = {});
|
|
3599
|
-
let n =
|
|
3574
|
+
let n = $e(e, t);
|
|
3600
3575
|
if (n !== !0) throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`);
|
|
3601
3576
|
}
|
|
3602
|
-
let n = new
|
|
3603
|
-
return this.options.preserveOrder || r === void 0 ? r :
|
|
3577
|
+
let n = new Fn(this.options, this.externalEntities), r = n.parseXml(e);
|
|
3578
|
+
return this.options.preserveOrder || r === void 0 ? r : er(r, this.options, n.matcher, n.readonlyMatcher);
|
|
3604
3579
|
}
|
|
3605
3580
|
addEntity(e, t) {
|
|
3606
3581
|
if (t.indexOf("&") !== -1) throw Error("Entity value can't have '&'");
|
|
@@ -3611,7 +3586,7 @@ var sr = class {
|
|
|
3611
3586
|
static getMetaDataSymbol() {
|
|
3612
3587
|
return Y.getMetaDataSymbol();
|
|
3613
3588
|
}
|
|
3614
|
-
},
|
|
3589
|
+
}, or = class {
|
|
3615
3590
|
axiosClient;
|
|
3616
3591
|
baseURI;
|
|
3617
3592
|
xmlParser;
|
|
@@ -3621,7 +3596,7 @@ var sr = class {
|
|
|
3621
3596
|
HASH_LENGTH = 32;
|
|
3622
3597
|
ITERATION_COUNT = 1e4;
|
|
3623
3598
|
constructor({ axiosClient: e, baseURI: t }) {
|
|
3624
|
-
this.axiosClient = e, this.baseURI = t, this.xmlParser = new
|
|
3599
|
+
this.axiosClient = e, this.baseURI = t, this.xmlParser = new ar();
|
|
3625
3600
|
}
|
|
3626
3601
|
async signUrl(e, t) {
|
|
3627
3602
|
let n = new URL(e);
|
|
@@ -3637,14 +3612,14 @@ var sr = class {
|
|
|
3637
3612
|
async createHashedKey(e) {
|
|
3638
3613
|
return Ge(e, await this.getSignKey(), this.ITERATION_COUNT, this.HASH_LENGTH, this.ALGORITHM).toString("hex");
|
|
3639
3614
|
}
|
|
3640
|
-
},
|
|
3615
|
+
}, sr = (e, t) => {
|
|
3641
3616
|
let n = new URL(e);
|
|
3642
3617
|
n.pathname = [
|
|
3643
3618
|
...n.pathname.split("/"),
|
|
3644
3619
|
"ocs",
|
|
3645
3620
|
"v1.php"
|
|
3646
3621
|
].filter(Boolean).join("/");
|
|
3647
|
-
let r = n.href, i = v(r, t), a = new
|
|
3622
|
+
let r = n.href, i = v(r, t), a = new or({
|
|
3648
3623
|
baseURI: e,
|
|
3649
3624
|
axiosClient: t
|
|
3650
3625
|
});
|
|
@@ -3654,4 +3629,4 @@ var sr = class {
|
|
|
3654
3629
|
};
|
|
3655
3630
|
};
|
|
3656
3631
|
//#endregion
|
|
3657
|
-
export {
|
|
3632
|
+
export { Ht as a, mn as i, ar as n, v as o, _n as r, sr as t };
|