parse-tmx 2.13.0 → 2.14.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/index.js +711 -814
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -13,11 +13,13 @@ var __esm = (fn, res) => function() {
|
|
|
13
13
|
var __commonJS$1 = (cb, mod) => function() {
|
|
14
14
|
return mod || (0, cb[__getOwnPropNames$1(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
15
|
};
|
|
16
|
-
var __export = (
|
|
16
|
+
var __export = (all) => {
|
|
17
|
+
let target = {};
|
|
17
18
|
for (var name in all) __defProp$1(target, name, {
|
|
18
19
|
get: all[name],
|
|
19
20
|
enumerable: true
|
|
20
21
|
});
|
|
22
|
+
return target;
|
|
21
23
|
};
|
|
22
24
|
var __copyProps$1 = (to, from, except, desc) => {
|
|
23
25
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames$1(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -335,8 +337,7 @@ const parseTileset = (node) => {
|
|
|
335
337
|
if (isExternalTileset(node.$)) return structuredClone(node.$);
|
|
336
338
|
const { $, $$, tile } = node;
|
|
337
339
|
for (const childNode of $$) {
|
|
338
|
-
|
|
339
|
-
if (tmxNodeType !== TMXNodeType.Image) continue;
|
|
340
|
+
if (childNode["#name"] !== TMXNodeType.Image) continue;
|
|
340
341
|
const image = structuredClone(childNode.$);
|
|
341
342
|
const tiles = tile?.map((t) => parseTile(t)) ?? [];
|
|
342
343
|
return {
|
|
@@ -409,7 +410,7 @@ const DefaultBuilderOptions = {
|
|
|
409
410
|
version: "1.0"
|
|
410
411
|
}
|
|
411
412
|
};
|
|
412
|
-
var
|
|
413
|
+
var import_xmlbuilder2_min = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xmlbuilder2@3.1.1/node_modules/xmlbuilder2/lib/xmlbuilder2.min.js": ((exports$1, module$1) => {
|
|
413
414
|
(function(e, t) {
|
|
414
415
|
"object" == typeof exports$1 && "object" == typeof module$1 ? module$1.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports$1 ? exports$1.xmlbuilder2 = t() : e.xmlbuilder2 = t();
|
|
415
416
|
})(exports$1, (function() {
|
|
@@ -489,14 +490,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
489
490
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
490
491
|
};
|
|
491
492
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
492
|
-
|
|
493
|
-
t.
|
|
494
|
-
|
|
495
|
-
t.
|
|
496
|
-
var a = r(214);
|
|
497
|
-
t.CompareCache = a.CompareCache;
|
|
498
|
-
var s = r(215);
|
|
499
|
-
t.Lazy = s.Lazy;
|
|
493
|
+
t.FixedSizeSet = r(212).FixedSizeSet;
|
|
494
|
+
t.ObjectCache = r(213).ObjectCache;
|
|
495
|
+
t.CompareCache = r(214).CompareCache;
|
|
496
|
+
t.Lazy = r(215).Lazy;
|
|
500
497
|
var u = r(216);
|
|
501
498
|
function l(e$1, t$1, r$1) {
|
|
502
499
|
if (m(e$1)) e$1.forEach((function(e$2, n$2) {
|
|
@@ -508,30 +505,30 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
508
505
|
var t$1, r$1;
|
|
509
506
|
if (h(e$1)) return e$1;
|
|
510
507
|
if (f(e$1)) {
|
|
511
|
-
var i$
|
|
508
|
+
var i$1 = [];
|
|
512
509
|
try {
|
|
513
|
-
for (var o
|
|
514
|
-
var s
|
|
515
|
-
i$
|
|
510
|
+
for (var o = n(e$1), a = o.next(); !a.done; a = o.next()) {
|
|
511
|
+
var s = a.value;
|
|
512
|
+
i$1.push(c(s));
|
|
516
513
|
}
|
|
517
514
|
} catch (e$2) {
|
|
518
515
|
t$1 = { error: e$2 };
|
|
519
516
|
} finally {
|
|
520
517
|
try {
|
|
521
|
-
a
|
|
518
|
+
a && !a.done && (r$1 = o.return) && r$1.call(o);
|
|
522
519
|
} finally {
|
|
523
520
|
if (t$1) throw t$1.error;
|
|
524
521
|
}
|
|
525
522
|
}
|
|
526
|
-
return i$
|
|
523
|
+
return i$1;
|
|
527
524
|
}
|
|
528
525
|
if (p$3(e$1)) {
|
|
529
|
-
i$
|
|
526
|
+
i$1 = {};
|
|
530
527
|
for (var u$1 in e$1) if (e$1.hasOwnProperty(u$1)) {
|
|
531
528
|
var l$1 = e$1[u$1];
|
|
532
|
-
i$
|
|
529
|
+
i$1[u$1] = c(l$1);
|
|
533
530
|
}
|
|
534
|
-
return i$
|
|
531
|
+
return i$1;
|
|
535
532
|
}
|
|
536
533
|
return e$1;
|
|
537
534
|
}
|
|
@@ -563,19 +560,19 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
563
560
|
Object.getOwnPropertyNames(t$1.prototype).forEach((function(n$2) {
|
|
564
561
|
if ("constructor" !== n$2) {
|
|
565
562
|
if (-1 !== r$1.indexOf(n$2)) {
|
|
566
|
-
var i$
|
|
567
|
-
i$
|
|
563
|
+
var i$1 = Object.getOwnPropertyDescriptor(e$1.prototype, n$2);
|
|
564
|
+
i$1 && Object.defineProperty(e$1.prototype, "_" + n$2, i$1);
|
|
568
565
|
}
|
|
569
|
-
var o
|
|
570
|
-
o
|
|
566
|
+
var o = Object.getOwnPropertyDescriptor(t$1.prototype, n$2);
|
|
567
|
+
o && Object.defineProperty(e$1.prototype, n$2, o);
|
|
571
568
|
}
|
|
572
569
|
}));
|
|
573
570
|
}, t.applyDefaults = function e$1(t$1, r$1, n$1) {
|
|
574
571
|
void 0 === n$1 && (n$1 = !1);
|
|
575
|
-
var i$
|
|
572
|
+
var i$1 = c(t$1 || {});
|
|
576
573
|
return l(r$1, (function(t$2, r$2) {
|
|
577
|
-
y(r$2) ? i$
|
|
578
|
-
})), i$
|
|
574
|
+
y(r$2) ? i$1[t$2] = e$1(i$1[t$2], r$2, n$1) : (n$1 || void 0 === i$1[t$2]) && (i$1[t$2] = r$2);
|
|
575
|
+
})), i$1;
|
|
579
576
|
}, t.forEachArray = function(e$1, t$1, r$1) {
|
|
580
577
|
e$1.forEach(t$1, r$1);
|
|
581
578
|
}, t.forEachObject = l, t.arrayLength = function(e$1) {
|
|
@@ -607,20 +604,20 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
607
604
|
return h(e$1.valueOf) ? e$1.valueOf() : e$1;
|
|
608
605
|
}, t.utf8Encode = function(e$1) {
|
|
609
606
|
for (var t$1 = new Uint8Array(4 * e$1.length), r$1 = 0, n$1 = 0; n$1 < e$1.length; n$1++) {
|
|
610
|
-
var i$
|
|
611
|
-
if (i$
|
|
607
|
+
var i$1 = e$1.charCodeAt(n$1);
|
|
608
|
+
if (i$1 < 128) t$1[r$1++] = i$1;
|
|
612
609
|
else {
|
|
613
|
-
if (i$
|
|
610
|
+
if (i$1 < 2048) t$1[r$1++] = i$1 >> 6 | 192;
|
|
614
611
|
else {
|
|
615
|
-
if (i$
|
|
612
|
+
if (i$1 > 55295 && i$1 < 56320) {
|
|
616
613
|
if (++n$1 >= e$1.length) throw new Error("Incomplete surrogate pair.");
|
|
617
|
-
var o
|
|
618
|
-
if (o
|
|
619
|
-
i$
|
|
620
|
-
} else t$1[r$1++] = i$
|
|
621
|
-
t$1[r$1++] = i$
|
|
614
|
+
var o = e$1.charCodeAt(n$1);
|
|
615
|
+
if (o < 56320 || o > 57343) throw new Error("Invalid surrogate character.");
|
|
616
|
+
i$1 = 65536 + ((1023 & i$1) << 10) + (1023 & o), t$1[r$1++] = i$1 >> 18 | 240, t$1[r$1++] = i$1 >> 12 & 63 | 128;
|
|
617
|
+
} else t$1[r$1++] = i$1 >> 12 | 224;
|
|
618
|
+
t$1[r$1++] = i$1 >> 6 & 63 | 128;
|
|
622
619
|
}
|
|
623
|
-
t$1[r$1++] = 63 & i$
|
|
620
|
+
t$1[r$1++] = 63 & i$1 | 128;
|
|
624
621
|
}
|
|
625
622
|
}
|
|
626
623
|
return t$1.subarray(0, r$1);
|
|
@@ -649,12 +646,9 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
649
646
|
},
|
|
650
647
|
function(e, t, r) {
|
|
651
648
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
652
|
-
|
|
653
|
-
t.
|
|
654
|
-
|
|
655
|
-
t.Guard = i$1.Guard;
|
|
656
|
-
var o = r(242);
|
|
657
|
-
t.EmptySet = o.EmptySet;
|
|
649
|
+
t.Cast = r(241).Cast;
|
|
650
|
+
t.Guard = r(150).Guard;
|
|
651
|
+
t.EmptySet = r(242).EmptySet;
|
|
658
652
|
},
|
|
659
653
|
function(e, t, r) {
|
|
660
654
|
var n = r(11), i$1 = r(55).f, o = r(21), a = r(25), s = r(80), u = r(119), l = r(123);
|
|
@@ -677,7 +671,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
677
671
|
},
|
|
678
672
|
function(e, t, r) {
|
|
679
673
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
680
|
-
var n = r(2), i$1 = r(29)
|
|
674
|
+
var n = r(2), i$1 = r(29);
|
|
675
|
+
t.dom = function() {
|
|
681
676
|
function e$1() {
|
|
682
677
|
this._features = {
|
|
683
678
|
mutationObservers: !0,
|
|
@@ -720,8 +715,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
720
715
|
enumerable: !0,
|
|
721
716
|
configurable: !0
|
|
722
717
|
}), e$1;
|
|
723
|
-
}();
|
|
724
|
-
t.dom = o.instance;
|
|
718
|
+
}().instance;
|
|
725
719
|
},
|
|
726
720
|
function(e, t, r) {
|
|
727
721
|
var n = this && this.__importStar || function(e$1) {
|
|
@@ -731,30 +725,18 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
731
725
|
return t$1.default = e$1, t$1;
|
|
732
726
|
};
|
|
733
727
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
734
|
-
|
|
735
|
-
t.
|
|
736
|
-
|
|
737
|
-
t.
|
|
738
|
-
|
|
739
|
-
t.
|
|
740
|
-
|
|
741
|
-
t.
|
|
742
|
-
|
|
743
|
-
t.
|
|
744
|
-
|
|
745
|
-
t.
|
|
746
|
-
var c = n(r(234));
|
|
747
|
-
t.map = c;
|
|
748
|
-
var h = n(r(235));
|
|
749
|
-
t.namespace = h;
|
|
750
|
-
var p$3 = n(r(236));
|
|
751
|
-
t.queue = p$3;
|
|
752
|
-
var f = n(r(237));
|
|
753
|
-
t.set = f;
|
|
754
|
-
var d = n(r(238));
|
|
755
|
-
t.stack = d;
|
|
756
|
-
var m = n(r(239));
|
|
757
|
-
t.string = m;
|
|
728
|
+
t.base64 = n(r(228));
|
|
729
|
+
t.byte = n(r(146));
|
|
730
|
+
t.byteSequence = n(r(147));
|
|
731
|
+
t.codePoint = n(r(96));
|
|
732
|
+
t.json = n(r(232));
|
|
733
|
+
t.list = n(r(233));
|
|
734
|
+
t.map = n(r(234));
|
|
735
|
+
t.namespace = n(r(235));
|
|
736
|
+
t.queue = n(r(236));
|
|
737
|
+
t.set = n(r(237));
|
|
738
|
+
t.stack = n(r(238));
|
|
739
|
+
t.string = n(r(239));
|
|
758
740
|
},
|
|
759
741
|
function(e, t) {
|
|
760
742
|
e.exports = function(e$1) {
|
|
@@ -788,188 +770,162 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
788
770
|
return i$1(t$1, e$1), t$1;
|
|
789
771
|
}(Error);
|
|
790
772
|
t.DOMException = o;
|
|
791
|
-
|
|
773
|
+
t.DOMStringSizeError = function(e$1) {
|
|
792
774
|
function t$1(t$2) {
|
|
793
775
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "DOMStringSizeError", t$2) || this;
|
|
794
776
|
}
|
|
795
777
|
return i$1(t$1, e$1), t$1;
|
|
796
778
|
}(o);
|
|
797
|
-
t.
|
|
798
|
-
var s = function(e$1) {
|
|
779
|
+
t.WrongDocumentError = function(e$1) {
|
|
799
780
|
function t$1(t$2) {
|
|
800
781
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "WrongDocumentError", "The object is in the wrong document. " + t$2) || this;
|
|
801
782
|
}
|
|
802
783
|
return i$1(t$1, e$1), t$1;
|
|
803
784
|
}(o);
|
|
804
|
-
t.
|
|
805
|
-
var u = function(e$1) {
|
|
785
|
+
t.NoDataAllowedError = function(e$1) {
|
|
806
786
|
function t$1(t$2) {
|
|
807
787
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "NoDataAllowedError", t$2) || this;
|
|
808
788
|
}
|
|
809
789
|
return i$1(t$1, e$1), t$1;
|
|
810
790
|
}(o);
|
|
811
|
-
t.
|
|
812
|
-
var l = function(e$1) {
|
|
791
|
+
t.NoModificationAllowedError = function(e$1) {
|
|
813
792
|
function t$1(t$2) {
|
|
814
793
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "NoModificationAllowedError", "The object can not be modified. " + t$2) || this;
|
|
815
794
|
}
|
|
816
795
|
return i$1(t$1, e$1), t$1;
|
|
817
796
|
}(o);
|
|
818
|
-
t.
|
|
819
|
-
var c = function(e$1) {
|
|
797
|
+
t.NotSupportedError = function(e$1) {
|
|
820
798
|
function t$1(t$2) {
|
|
821
799
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "NotSupportedError", "The operation is not supported. " + t$2) || this;
|
|
822
800
|
}
|
|
823
801
|
return i$1(t$1, e$1), t$1;
|
|
824
802
|
}(o);
|
|
825
|
-
t.
|
|
826
|
-
var h = function(e$1) {
|
|
803
|
+
t.InUseAttributeError = function(e$1) {
|
|
827
804
|
function t$1(t$2) {
|
|
828
805
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "InUseAttributeError", t$2) || this;
|
|
829
806
|
}
|
|
830
807
|
return i$1(t$1, e$1), t$1;
|
|
831
808
|
}(o);
|
|
832
|
-
t.
|
|
833
|
-
var p$3 = function(e$1) {
|
|
809
|
+
t.InvalidStateError = function(e$1) {
|
|
834
810
|
function t$1(t$2) {
|
|
835
811
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "InvalidStateError", "The object is in an invalid state. " + t$2) || this;
|
|
836
812
|
}
|
|
837
813
|
return i$1(t$1, e$1), t$1;
|
|
838
814
|
}(o);
|
|
839
|
-
t.
|
|
840
|
-
var f = function(e$1) {
|
|
815
|
+
t.InvalidModificationError = function(e$1) {
|
|
841
816
|
function t$1(t$2) {
|
|
842
817
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "InvalidModificationError", "The object can not be modified in this way. " + t$2) || this;
|
|
843
818
|
}
|
|
844
819
|
return i$1(t$1, e$1), t$1;
|
|
845
820
|
}(o);
|
|
846
|
-
t.
|
|
847
|
-
var d = function(e$1) {
|
|
821
|
+
t.NamespaceError = function(e$1) {
|
|
848
822
|
function t$1(t$2) {
|
|
849
823
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "NamespaceError", "The operation is not allowed by Namespaces in XML. [XMLNS] " + t$2) || this;
|
|
850
824
|
}
|
|
851
825
|
return i$1(t$1, e$1), t$1;
|
|
852
826
|
}(o);
|
|
853
|
-
t.
|
|
854
|
-
var m = function(e$1) {
|
|
827
|
+
t.InvalidAccessError = function(e$1) {
|
|
855
828
|
function t$1(t$2) {
|
|
856
829
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "InvalidAccessError", "The object does not support the operation or argument. " + t$2) || this;
|
|
857
830
|
}
|
|
858
831
|
return i$1(t$1, e$1), t$1;
|
|
859
832
|
}(o);
|
|
860
|
-
t.
|
|
861
|
-
var y = function(e$1) {
|
|
833
|
+
t.ValidationError = function(e$1) {
|
|
862
834
|
function t$1(t$2) {
|
|
863
835
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "ValidationError", t$2) || this;
|
|
864
836
|
}
|
|
865
837
|
return i$1(t$1, e$1), t$1;
|
|
866
838
|
}(o);
|
|
867
|
-
t.
|
|
868
|
-
var v = function(e$1) {
|
|
839
|
+
t.TypeMismatchError = function(e$1) {
|
|
869
840
|
function t$1(t$2) {
|
|
870
841
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "TypeMismatchError", t$2) || this;
|
|
871
842
|
}
|
|
872
843
|
return i$1(t$1, e$1), t$1;
|
|
873
844
|
}(o);
|
|
874
|
-
t.
|
|
875
|
-
var _ = function(e$1) {
|
|
845
|
+
t.SecurityError = function(e$1) {
|
|
876
846
|
function t$1(t$2) {
|
|
877
847
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "SecurityError", "The operation is insecure. " + t$2) || this;
|
|
878
848
|
}
|
|
879
849
|
return i$1(t$1, e$1), t$1;
|
|
880
850
|
}(o);
|
|
881
|
-
t.
|
|
882
|
-
var g = function(e$1) {
|
|
851
|
+
t.NetworkError = function(e$1) {
|
|
883
852
|
function t$1(t$2) {
|
|
884
853
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "NetworkError", "A network error occurred. " + t$2) || this;
|
|
885
854
|
}
|
|
886
855
|
return i$1(t$1, e$1), t$1;
|
|
887
856
|
}(o);
|
|
888
|
-
t.
|
|
889
|
-
var b = function(e$1) {
|
|
857
|
+
t.AbortError = function(e$1) {
|
|
890
858
|
function t$1(t$2) {
|
|
891
859
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "AbortError", "The operation was aborted. " + t$2) || this;
|
|
892
860
|
}
|
|
893
861
|
return i$1(t$1, e$1), t$1;
|
|
894
862
|
}(o);
|
|
895
|
-
t.
|
|
896
|
-
var x = function(e$1) {
|
|
863
|
+
t.URLMismatchError = function(e$1) {
|
|
897
864
|
function t$1(t$2) {
|
|
898
865
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "URLMismatchError", "The given URL does not match another URL. " + t$2) || this;
|
|
899
866
|
}
|
|
900
867
|
return i$1(t$1, e$1), t$1;
|
|
901
868
|
}(o);
|
|
902
|
-
t.
|
|
903
|
-
var w = function(e$1) {
|
|
869
|
+
t.QuotaExceededError = function(e$1) {
|
|
904
870
|
function t$1(t$2) {
|
|
905
871
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "QuotaExceededError", "The quota has been exceeded. " + t$2) || this;
|
|
906
872
|
}
|
|
907
873
|
return i$1(t$1, e$1), t$1;
|
|
908
874
|
}(o);
|
|
909
|
-
t.
|
|
910
|
-
var E = function(e$1) {
|
|
875
|
+
t.TimeoutError = function(e$1) {
|
|
911
876
|
function t$1(t$2) {
|
|
912
877
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "TimeoutError", "The operation timed out. " + t$2) || this;
|
|
913
878
|
}
|
|
914
879
|
return i$1(t$1, e$1), t$1;
|
|
915
880
|
}(o);
|
|
916
|
-
t.
|
|
917
|
-
var D = function(e$1) {
|
|
881
|
+
t.InvalidNodeTypeError = function(e$1) {
|
|
918
882
|
function t$1(t$2) {
|
|
919
883
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "InvalidNodeTypeError", "The supplied node is incorrect or has an incorrect ancestor for this operation. " + t$2) || this;
|
|
920
884
|
}
|
|
921
885
|
return i$1(t$1, e$1), t$1;
|
|
922
886
|
}(o);
|
|
923
|
-
t.
|
|
924
|
-
var S = function(e$1) {
|
|
887
|
+
t.DataCloneError = function(e$1) {
|
|
925
888
|
function t$1(t$2) {
|
|
926
889
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "DataCloneError", "The object can not be cloned. " + t$2) || this;
|
|
927
890
|
}
|
|
928
891
|
return i$1(t$1, e$1), t$1;
|
|
929
892
|
}(o);
|
|
930
|
-
t.
|
|
931
|
-
var C = function(e$1) {
|
|
893
|
+
t.NotImplementedError = function(e$1) {
|
|
932
894
|
function t$1(t$2) {
|
|
933
895
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "NotImplementedError", "The DOM method is not implemented by this module. " + t$2) || this;
|
|
934
896
|
}
|
|
935
897
|
return i$1(t$1, e$1), t$1;
|
|
936
898
|
}(o);
|
|
937
|
-
t.
|
|
938
|
-
var A = function(e$1) {
|
|
899
|
+
t.HierarchyRequestError = function(e$1) {
|
|
939
900
|
function t$1(t$2) {
|
|
940
901
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "HierarchyRequestError", "The operation would yield an incorrect node tree. " + t$2) || this;
|
|
941
902
|
}
|
|
942
903
|
return i$1(t$1, e$1), t$1;
|
|
943
904
|
}(o);
|
|
944
|
-
t.
|
|
945
|
-
var N = function(e$1) {
|
|
905
|
+
t.NotFoundError = function(e$1) {
|
|
946
906
|
function t$1(t$2) {
|
|
947
907
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "NotFoundError", "The object can not be found here. " + t$2) || this;
|
|
948
908
|
}
|
|
949
909
|
return i$1(t$1, e$1), t$1;
|
|
950
910
|
}(o);
|
|
951
|
-
t.
|
|
952
|
-
var T = function(e$1) {
|
|
911
|
+
t.IndexSizeError = function(e$1) {
|
|
953
912
|
function t$1(t$2) {
|
|
954
913
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "IndexSizeError", "The index is not in the allowed range. " + t$2) || this;
|
|
955
914
|
}
|
|
956
915
|
return i$1(t$1, e$1), t$1;
|
|
957
916
|
}(o);
|
|
958
|
-
t.
|
|
959
|
-
var O = function(e$1) {
|
|
917
|
+
t.SyntaxError = function(e$1) {
|
|
960
918
|
function t$1(t$2) {
|
|
961
919
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "SyntaxError", "The string did not match the expected pattern. " + t$2) || this;
|
|
962
920
|
}
|
|
963
921
|
return i$1(t$1, e$1), t$1;
|
|
964
922
|
}(o);
|
|
965
|
-
t.
|
|
966
|
-
var F = function(e$1) {
|
|
923
|
+
t.InvalidCharacterError = function(e$1) {
|
|
967
924
|
function t$1(t$2) {
|
|
968
925
|
return void 0 === t$2 && (t$2 = ""), e$1.call(this, "InvalidCharacterError", "The string contains invalid characters. " + t$2) || this;
|
|
969
926
|
}
|
|
970
927
|
return i$1(t$1, e$1), t$1;
|
|
971
928
|
}(o);
|
|
972
|
-
t.InvalidCharacterError = F;
|
|
973
929
|
},
|
|
974
930
|
function(e, t, r) {
|
|
975
931
|
var n = r(53), i$1 = [
|
|
@@ -1041,8 +997,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
1041
997
|
};
|
|
1042
998
|
},
|
|
1043
999
|
function(e, t, r) {
|
|
1044
|
-
|
|
1045
|
-
e.exports = !n((function() {
|
|
1000
|
+
e.exports = !r(8)((function() {
|
|
1046
1001
|
return 7 != Object.defineProperty({}, 1, { get: function() {
|
|
1047
1002
|
return 7;
|
|
1048
1003
|
} })[1];
|
|
@@ -2592,7 +2547,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
2592
2547
|
return e$1;
|
|
2593
2548
|
};
|
|
2594
2549
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
2595
|
-
var a = r(1), s = r(69), u = r(95), l = r(7), c = r(0), h = r(258)
|
|
2550
|
+
var a = r(1), s = r(69), u = r(95), l = r(7), c = r(0), h = r(258);
|
|
2551
|
+
t.BaseWriter = function() {
|
|
2596
2552
|
function e$1(e$2) {
|
|
2597
2553
|
this.level = 0, this._builderOptions = e$2;
|
|
2598
2554
|
}
|
|
@@ -2676,7 +2632,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
2676
2632
|
default: throw new Error("Unknown node type: " + e$2.nodeType);
|
|
2677
2633
|
}
|
|
2678
2634
|
}, e$1.prototype._serializeElementNS = function(t$1, r$1, i$2, a$1, s$1) {
|
|
2679
|
-
var u$1, h$1, p$
|
|
2635
|
+
var u$1, h$1, p$3 = [];
|
|
2680
2636
|
if (s$1 && (-1 !== t$1.localName.indexOf(":") || !c.xml_isName(t$1.localName))) throw new Error("Node local name contains invalid characters (well-formed required).");
|
|
2681
2637
|
var f = "", d = !1, m = !1, y = i$2.copy(), v = {}, _ = this._recordNamespaceInformation(t$1, y, v), g = r$1, b = t$1.namespaceURI;
|
|
2682
2638
|
if (g === b) null !== _ && (m = !0), f = b === l.namespace.XML ? "xml:" + t$1.localName : t$1.localName, this.beginElement(f), this.openTagBegin(f);
|
|
@@ -2686,19 +2642,19 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
2686
2642
|
if (s$1) throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");
|
|
2687
2643
|
w = x;
|
|
2688
2644
|
}
|
|
2689
|
-
null !== w ? (f = w + ":" + t$1.localName, null !== _ && _ !== l.namespace.XML && (g = _ || null), this.beginElement(f), this.openTagBegin(f)) : null !== x ? (x in v && (x = this._generatePrefix(b, y, a$1)), y.set(x, b), f += x + ":" + t$1.localName, this.beginElement(f), this.openTagBegin(f), p$
|
|
2645
|
+
null !== w ? (f = w + ":" + t$1.localName, null !== _ && _ !== l.namespace.XML && (g = _ || null), this.beginElement(f), this.openTagBegin(f)) : null !== x ? (x in v && (x = this._generatePrefix(b, y, a$1)), y.set(x, b), f += x + ":" + t$1.localName, this.beginElement(f), this.openTagBegin(f), p$3.push([
|
|
2690
2646
|
null,
|
|
2691
2647
|
"xmlns",
|
|
2692
2648
|
x,
|
|
2693
2649
|
this._serializeAttributeValue(b, s$1)
|
|
2694
|
-
]), null !== _ && (g = _ || null)) : null === _ || null !== _ && _ !== b ? (m = !0, f += t$1.localName, g = b, this.beginElement(f), this.openTagBegin(f), p$
|
|
2650
|
+
]), null !== _ && (g = _ || null)) : null === _ || null !== _ && _ !== b ? (m = !0, f += t$1.localName, g = b, this.beginElement(f), this.openTagBegin(f), p$3.push([
|
|
2695
2651
|
null,
|
|
2696
2652
|
null,
|
|
2697
2653
|
"xmlns",
|
|
2698
2654
|
this._serializeAttributeValue(b, s$1)
|
|
2699
2655
|
])) : (f += t$1.localName, g = b, this.beginElement(f), this.openTagBegin(f));
|
|
2700
2656
|
}
|
|
2701
|
-
p$
|
|
2657
|
+
p$3.push.apply(p$3, o(this._serializeAttributesNS(t$1, y, a$1, v, m, s$1))), this.attributes(p$3);
|
|
2702
2658
|
var E = b === l.namespace.HTML;
|
|
2703
2659
|
if (E && 0 === t$1.childNodes.length && e$1._VoidElementNames.has(t$1.localName) ? (this.openTagEnd(f, !0, !0), this.endElement(f), d = !0) : E || 0 !== t$1.childNodes.length ? this.openTagEnd(f, !1, !1) : (this.openTagEnd(f, !0, !1), this.endElement(f), d = !0), !d) {
|
|
2704
2660
|
if (E && "template" === t$1.localName);
|
|
@@ -2826,7 +2782,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
2826
2782
|
if (t$1 && -1 !== e$2.data.indexOf("]]>")) throw new Error("CDATA contains invalid characters (well-formed required).");
|
|
2827
2783
|
this.cdata(e$2.data);
|
|
2828
2784
|
}, e$1.prototype._serializeAttributesNS = function(e$2, t$1, r$1, i$2, o$1, a$1) {
|
|
2829
|
-
var u$1, h$1, p$
|
|
2785
|
+
var u$1, h$1, p$3 = [], f = a$1 ? new s.LocalNameSet() : void 0;
|
|
2830
2786
|
try {
|
|
2831
2787
|
for (var d = n(e$2.attributes), m = d.next(); !m.done; m = d.next()) {
|
|
2832
2788
|
var y = m.value;
|
|
@@ -2839,20 +2795,20 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
2839
2795
|
if (a$1 && y.value === l.namespace.XMLNS) throw new Error("XMLNS namespace is reserved (well-formed required).");
|
|
2840
2796
|
if (a$1 && "" === y.value) throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");
|
|
2841
2797
|
"xmlns" === y.prefix && (_ = "xmlns");
|
|
2842
|
-
} else null === _ && (_ = null === y.prefix || t$1.hasPrefix(y.prefix) && !t$1.has(y.prefix, v) ? this._generatePrefix(v, t$1, r$1) : y.prefix, p$
|
|
2798
|
+
} else null === _ && (_ = null === y.prefix || t$1.hasPrefix(y.prefix) && !t$1.has(y.prefix, v) ? this._generatePrefix(v, t$1, r$1) : y.prefix, p$3.push([
|
|
2843
2799
|
null,
|
|
2844
2800
|
"xmlns",
|
|
2845
2801
|
_,
|
|
2846
2802
|
this._serializeAttributeValue(v, a$1)
|
|
2847
2803
|
]));
|
|
2848
2804
|
if (a$1 && (-1 !== y.localName.indexOf(":") || !c.xml_isName(y.localName) || "xmlns" === y.localName && null === v)) throw new Error("Attribute local name contains invalid characters (well-formed required).");
|
|
2849
|
-
p$
|
|
2805
|
+
p$3.push([
|
|
2850
2806
|
v,
|
|
2851
2807
|
_,
|
|
2852
2808
|
y.localName,
|
|
2853
2809
|
this._serializeAttributeValue(y.value, a$1)
|
|
2854
2810
|
]);
|
|
2855
|
-
} else p$
|
|
2811
|
+
} else p$3.push([
|
|
2856
2812
|
null,
|
|
2857
2813
|
null,
|
|
2858
2814
|
y.localName,
|
|
@@ -2868,7 +2824,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
2868
2824
|
if (u$1) throw u$1.error;
|
|
2869
2825
|
}
|
|
2870
2826
|
}
|
|
2871
|
-
return p$
|
|
2827
|
+
return p$3;
|
|
2872
2828
|
}, e$1.prototype._serializeAttributes = function(e$2, t$1) {
|
|
2873
2829
|
var r$1, i$2, o$1 = [], a$1 = t$1 ? {} : void 0;
|
|
2874
2830
|
try {
|
|
@@ -2904,9 +2860,9 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
2904
2860
|
var i$2, o$1, a$1 = null;
|
|
2905
2861
|
try {
|
|
2906
2862
|
for (var s$1 = n(e$2.attributes), u$1 = s$1.next(); !u$1.done; u$1 = s$1.next()) {
|
|
2907
|
-
var c$1 = u$1.value, h$1 = c$1.namespaceURI, p$
|
|
2863
|
+
var c$1 = u$1.value, h$1 = c$1.namespaceURI, p$3 = c$1.prefix;
|
|
2908
2864
|
if (h$1 === l.namespace.XMLNS) {
|
|
2909
|
-
if (null === p$
|
|
2865
|
+
if (null === p$3) {
|
|
2910
2866
|
a$1 = c$1.value;
|
|
2911
2867
|
continue;
|
|
2912
2868
|
}
|
|
@@ -2954,7 +2910,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
2954
2910
|
"wbr"
|
|
2955
2911
|
]), e$1;
|
|
2956
2912
|
}();
|
|
2957
|
-
t.BaseWriter = p$3;
|
|
2958
2913
|
},
|
|
2959
2914
|
function(e, t, r) {
|
|
2960
2915
|
var n = this && this.__values || function(e$1) {
|
|
@@ -3134,7 +3089,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3134
3089
|
var o$1 = _(i$2 || "", t$1, e$1);
|
|
3135
3090
|
if (null === o$1) {
|
|
3136
3091
|
var a$1 = s.create_attr(e$1._nodeDocument, t$1);
|
|
3137
|
-
|
|
3092
|
+
a$1._namespace = i$2, a$1._namespacePrefix = n$1, a$1._value = r$1, d(a$1, e$1);
|
|
3093
|
+
return;
|
|
3138
3094
|
}
|
|
3139
3095
|
f(o$1, e$1, r$1);
|
|
3140
3096
|
}, t.element_removeAnAttributeByName = function(e$1, t$1) {
|
|
@@ -3184,8 +3140,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3184
3140
|
}, e.exports = n;
|
|
3185
3141
|
},
|
|
3186
3142
|
function(e, t, r) {
|
|
3187
|
-
|
|
3188
|
-
e.exports = new n({
|
|
3143
|
+
e.exports = new (r(39))({
|
|
3189
3144
|
include: [r(181)],
|
|
3190
3145
|
implicit: [r(294), r(295)],
|
|
3191
3146
|
explicit: [
|
|
@@ -3344,7 +3299,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3344
3299
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
3345
3300
|
};
|
|
3346
3301
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
3347
|
-
var a = r(2), s = r(1)
|
|
3302
|
+
var a = r(2), s = r(1);
|
|
3303
|
+
t.ObjectWriter = function(e$1) {
|
|
3348
3304
|
function t$1(t$2, r$1) {
|
|
3349
3305
|
var n$1 = e$1.call(this, t$2) || this;
|
|
3350
3306
|
return n$1._writerOptions = a.applyDefaults(r$1, {
|
|
@@ -3357,7 +3313,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3357
3313
|
return i$1(t$1, e$1), t$1.prototype.serialize = function(e$2) {
|
|
3358
3314
|
return this._currentList = [], this._currentIndex = 0, this._listRegister = [this._currentList], this.serializeNode(e$2, this._writerOptions.wellFormed), this._process(this._currentList, this._writerOptions);
|
|
3359
3315
|
}, t$1.prototype._process = function(e$2, t$2) {
|
|
3360
|
-
var r$1, n$1, i$2, o$1, u
|
|
3316
|
+
var r$1, n$1, i$2, o$1, u, l, c;
|
|
3361
3317
|
if (0 === e$2.length) return {};
|
|
3362
3318
|
for (var h = {}, p$3 = !1, f = 0, d = 0, m = 0, y = 0, v = 0; v < e$2.length; v++) {
|
|
3363
3319
|
var _ = e$2[v];
|
|
@@ -3408,7 +3364,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3408
3364
|
break;
|
|
3409
3365
|
default: if (0 !== (B = _)[I].length && a.isArray(B[I][0])) {
|
|
3410
3366
|
for (var A = [], N = B[I], T = 0; T < N.length; T++) A.push(this._process(N[T], t$2));
|
|
3411
|
-
C.push(((u
|
|
3367
|
+
C.push(((u = {})[I] = A, u));
|
|
3412
3368
|
} else t$2.verbose ? C.push(((l = {})[I] = [this._process(B[I], t$2)], l)) : C.push(((c = {})[I] = this._process(B[I], t$2), c));
|
|
3413
3369
|
}
|
|
3414
3370
|
}
|
|
@@ -3448,19 +3404,19 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3448
3404
|
}
|
|
3449
3405
|
return D;
|
|
3450
3406
|
}, t$1.prototype._processSpecItem = function(e$2, t$2, r$1, n$1, i$2, s$1) {
|
|
3451
|
-
var u
|
|
3407
|
+
var u, l;
|
|
3452
3408
|
if (!r$1 && a.isArray(e$2) && i$2 + e$2.length > 2) try {
|
|
3453
3409
|
for (var c = o(e$2), h = c.next(); !h.done; h = c.next()) {
|
|
3454
3410
|
var p$3 = h.value;
|
|
3455
3411
|
t$2[n$1 + (s$1++).toString()] = p$3;
|
|
3456
3412
|
}
|
|
3457
3413
|
} catch (e$3) {
|
|
3458
|
-
u
|
|
3414
|
+
u = { error: e$3 };
|
|
3459
3415
|
} finally {
|
|
3460
3416
|
try {
|
|
3461
3417
|
h && !h.done && (l = c.return) && l.call(c);
|
|
3462
3418
|
} finally {
|
|
3463
|
-
if (u
|
|
3419
|
+
if (u) throw u.error;
|
|
3464
3420
|
}
|
|
3465
3421
|
}
|
|
3466
3422
|
else t$2[i$2 > 1 ? n$1 + (s$1++).toString() : n$1] = e$2;
|
|
@@ -3533,7 +3489,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3533
3489
|
}
|
|
3534
3490
|
}, t$1;
|
|
3535
3491
|
}(r(50).BaseWriter);
|
|
3536
|
-
t.ObjectWriter = u;
|
|
3537
3492
|
},
|
|
3538
3493
|
function(e, t, r) {
|
|
3539
3494
|
var n = r(4), i$1 = r(93);
|
|
@@ -3545,7 +3500,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3545
3500
|
},
|
|
3546
3501
|
function(e, t, r) {
|
|
3547
3502
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
3548
|
-
|
|
3503
|
+
t.LocalNameSet = function() {
|
|
3549
3504
|
function e$1() {
|
|
3550
3505
|
this._items = {}, this._nullItems = {};
|
|
3551
3506
|
}
|
|
@@ -3555,7 +3510,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3555
3510
|
return null === e$2 ? !0 === this._nullItems[t$1] : !!this._items[e$2] && !0 === this._items[e$2][t$1];
|
|
3556
3511
|
}, e$1;
|
|
3557
3512
|
}();
|
|
3558
|
-
t.LocalNameSet = n;
|
|
3559
3513
|
},
|
|
3560
3514
|
function(e, t, r) {
|
|
3561
3515
|
var n = this && this.__read || function(e$1, t$1) {
|
|
@@ -3576,7 +3530,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3576
3530
|
return a$1;
|
|
3577
3531
|
};
|
|
3578
3532
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
3579
|
-
var i$1 = r(9), o = r(3), a = r(0)
|
|
3533
|
+
var i$1 = r(9), o = r(3), a = r(0);
|
|
3534
|
+
t.EventTargetImpl = function() {
|
|
3580
3535
|
function e$1() {}
|
|
3581
3536
|
return Object.defineProperty(e$1.prototype, "_eventListenerList", {
|
|
3582
3537
|
get: function() {
|
|
@@ -3596,7 +3551,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3596
3551
|
once: !1,
|
|
3597
3552
|
capture: !1
|
|
3598
3553
|
});
|
|
3599
|
-
var i$2, s
|
|
3554
|
+
var i$2, s = n(a.eventTarget_flattenMore(r$1), 3), u = s[0], l = s[1], c = s[2];
|
|
3600
3555
|
t$1 && (i$2 = o.Guard.isEventListener(t$1) ? t$1 : { handleEvent: t$1 }, a.eventTarget_addEventListener(this, {
|
|
3601
3556
|
type: e$2,
|
|
3602
3557
|
callback: i$2,
|
|
@@ -3609,14 +3564,14 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3609
3564
|
void 0 === r$1 && (r$1 = { capture: !1 });
|
|
3610
3565
|
var n$1 = a.eventTarget_flatten(r$1);
|
|
3611
3566
|
if (t$1) for (var i$2 = 0; i$2 < this._eventListenerList.length; i$2++) {
|
|
3612
|
-
var s
|
|
3613
|
-
if (s
|
|
3614
|
-
if (o.Guard.isEventListener(t$1) && s
|
|
3615
|
-
a.eventTarget_removeEventListener(this, s
|
|
3567
|
+
var s = this._eventListenerList[i$2];
|
|
3568
|
+
if (s.type === e$2 && s.capture === n$1) {
|
|
3569
|
+
if (o.Guard.isEventListener(t$1) && s.callback === t$1) {
|
|
3570
|
+
a.eventTarget_removeEventListener(this, s, i$2);
|
|
3616
3571
|
break;
|
|
3617
3572
|
}
|
|
3618
|
-
if (t$1 && s
|
|
3619
|
-
a.eventTarget_removeEventListener(this, s
|
|
3573
|
+
if (t$1 && s.callback.handleEvent === t$1) {
|
|
3574
|
+
a.eventTarget_removeEventListener(this, s, i$2);
|
|
3620
3575
|
break;
|
|
3621
3576
|
}
|
|
3622
3577
|
}
|
|
@@ -3628,7 +3583,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3628
3583
|
return null;
|
|
3629
3584
|
}, e$1;
|
|
3630
3585
|
}();
|
|
3631
|
-
t.EventTargetImpl = s;
|
|
3632
3586
|
},
|
|
3633
3587
|
function(e, t, r) {
|
|
3634
3588
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -3644,7 +3598,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3644
3598
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
3645
3599
|
});
|
|
3646
3600
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
3647
|
-
var o = r(34), a = r(0)
|
|
3601
|
+
var o = r(34), a = r(0);
|
|
3602
|
+
t.CharacterDataImpl = function(e$1) {
|
|
3648
3603
|
function t$1(t$2) {
|
|
3649
3604
|
var r$1 = e$1.call(this) || this;
|
|
3650
3605
|
return r$1._data = t$2, r$1;
|
|
@@ -3699,7 +3654,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3699
3654
|
throw new Error("Mixin: ChildNode not implemented.");
|
|
3700
3655
|
}, t$1;
|
|
3701
3656
|
}(o.NodeImpl);
|
|
3702
|
-
t.CharacterDataImpl = s;
|
|
3703
3657
|
},
|
|
3704
3658
|
function(e, t, r) {
|
|
3705
3659
|
var n = this && this.__values || function(e$1) {
|
|
@@ -3937,7 +3891,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3937
3891
|
},
|
|
3938
3892
|
function(e, t, r) {
|
|
3939
3893
|
r(279), r(68), r(179), r(94), Object.defineProperty(t, "__esModule", { value: !0 });
|
|
3940
|
-
var n = r(109)
|
|
3894
|
+
var n = r(109);
|
|
3895
|
+
t.BaseReader = function() {
|
|
3941
3896
|
function e$1(e$2) {
|
|
3942
3897
|
this._builderOptions = e$2, e$2.parser && Object.assign(this, e$2.parser);
|
|
3943
3898
|
}
|
|
@@ -3995,7 +3950,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
3995
3950
|
apos: "'"
|
|
3996
3951
|
}, e$1;
|
|
3997
3952
|
}();
|
|
3998
|
-
t.BaseReader = i$1;
|
|
3999
3953
|
},
|
|
4000
3954
|
function(e, t, r) {
|
|
4001
3955
|
var n = r(39);
|
|
@@ -4010,18 +3964,15 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
4010
3964
|
},
|
|
4011
3965
|
function(e, t, r) {
|
|
4012
3966
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
4013
|
-
|
|
4014
|
-
t.
|
|
4015
|
-
var i$1 = r(305);
|
|
4016
|
-
t.XMLBuilderCBImpl = i$1.XMLBuilderCBImpl;
|
|
3967
|
+
t.XMLBuilderImpl = r(185).XMLBuilderImpl;
|
|
3968
|
+
t.XMLBuilderCBImpl = r(305).XMLBuilderCBImpl;
|
|
4017
3969
|
var o = r(183);
|
|
4018
3970
|
t.builder = o.builder, t.create = o.create, t.fragment = o.fragment, t.convert = o.convert;
|
|
4019
3971
|
var a = r(310);
|
|
4020
3972
|
t.createCB = a.createCB, t.fragmentCB = a.fragmentCB;
|
|
4021
3973
|
},
|
|
4022
3974
|
function(e, t) {
|
|
4023
|
-
var r
|
|
4024
|
-
r = function() {
|
|
3975
|
+
var r = function() {
|
|
4025
3976
|
return this;
|
|
4026
3977
|
}();
|
|
4027
3978
|
try {
|
|
@@ -4032,8 +3983,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
4032
3983
|
e.exports = r;
|
|
4033
3984
|
},
|
|
4034
3985
|
function(e, t, r) {
|
|
4035
|
-
var n = {}.propertyIsEnumerable, i$1 = Object.getOwnPropertyDescriptor
|
|
4036
|
-
t.f =
|
|
3986
|
+
var n = {}.propertyIsEnumerable, i$1 = Object.getOwnPropertyDescriptor;
|
|
3987
|
+
t.f = i$1 && !n.call({ 1: 2 }, 1) ? function(e$1) {
|
|
4037
3988
|
var t$1 = i$1(this, e$1);
|
|
4038
3989
|
return !!t$1 && t$1.enumerable;
|
|
4039
3990
|
} : n;
|
|
@@ -4318,7 +4269,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
4318
4269
|
},
|
|
4319
4270
|
function(e, t, r) {
|
|
4320
4271
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
4321
|
-
|
|
4272
|
+
t.NamespacePrefixMap = function() {
|
|
4322
4273
|
function e$1() {
|
|
4323
4274
|
this._items = {}, this._nullItems = [];
|
|
4324
4275
|
}
|
|
@@ -4329,8 +4280,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
4329
4280
|
}, e$1.prototype.get = function(e$2, t$1) {
|
|
4330
4281
|
var r$1 = null === t$1 ? this._nullItems : this._items[t$1] || null;
|
|
4331
4282
|
if (null === r$1) return null;
|
|
4332
|
-
for (var n
|
|
4333
|
-
return n
|
|
4283
|
+
for (var n = null, i$1 = 0; i$1 < r$1.length; i$1++) if ((n = r$1[i$1]) === e$2) return n;
|
|
4284
|
+
return n;
|
|
4334
4285
|
}, e$1.prototype.has = function(e$2, t$1) {
|
|
4335
4286
|
var r$1 = null === t$1 ? this._nullItems : this._items[t$1] || null;
|
|
4336
4287
|
return null !== r$1 && -1 !== r$1.indexOf(e$2);
|
|
@@ -4343,7 +4294,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
4343
4294
|
null !== t$1 && null === r$1 ? this._items[t$1] = [e$2] : r$1.push(e$2);
|
|
4344
4295
|
}, e$1;
|
|
4345
4296
|
}();
|
|
4346
|
-
t.NamespacePrefixMap = n;
|
|
4347
4297
|
},
|
|
4348
4298
|
function(e, t, r) {
|
|
4349
4299
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Surrogate = /[\uD800-\uDFFF]/, t.ScalarValue = /[\uD800-\uDFFF]/, t.NonCharacter = /[\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]/, t.ASCIICodePoint = /[\u0000-\u007F]/, t.ASCIITabOrNewLine = /[\t\n\r]/, t.ASCIIWhiteSpace = /[\t\n\f\r ]/, t.C0Control = /[\u0000-\u001F]/, t.C0ControlOrSpace = /[\u0000-\u001F ]/, t.Control = /[\u0000-\u001F\u007F-\u009F]/, t.ASCIIDigit = /[0-9]/, t.ASCIIUpperHexDigit = /[0-9A-F]/, t.ASCIILowerHexDigit = /[0-9a-f]/, t.ASCIIHexDigit = /[0-9A-Fa-f]/, t.ASCIIUpperAlpha = /[A-Z]/, t.ASCIILowerAlpha = /[a-z]/, t.ASCIIAlpha = /[A-Za-z]/, t.ASCIIAlphanumeric = /[0-9A-Za-z]/;
|
|
@@ -5255,7 +5205,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5255
5205
|
},
|
|
5256
5206
|
function(e, t, r) {
|
|
5257
5207
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
5258
|
-
|
|
5208
|
+
t.AbstractRangeImpl = function() {
|
|
5259
5209
|
function e$1() {}
|
|
5260
5210
|
return Object.defineProperty(e$1.prototype, "_startNode", {
|
|
5261
5211
|
get: function() {
|
|
@@ -5319,11 +5269,11 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5319
5269
|
configurable: !0
|
|
5320
5270
|
}), e$1;
|
|
5321
5271
|
}();
|
|
5322
|
-
t.AbstractRangeImpl = n;
|
|
5323
5272
|
},
|
|
5324
5273
|
function(e, t, r) {
|
|
5325
5274
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
5326
|
-
var n = r(1)
|
|
5275
|
+
var n = r(1);
|
|
5276
|
+
t.TraverserImpl = function() {
|
|
5327
5277
|
function e$1(e$2) {
|
|
5328
5278
|
this._activeFlag = !1, this._root = e$2, this._whatToShow = n.WhatToShow.All, this._filter = null;
|
|
5329
5279
|
}
|
|
@@ -5347,7 +5297,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5347
5297
|
configurable: !0
|
|
5348
5298
|
}), e$1;
|
|
5349
5299
|
}();
|
|
5350
|
-
t.TraverserImpl = i$1;
|
|
5351
5300
|
},
|
|
5352
5301
|
function(e, t, r) {
|
|
5353
5302
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
@@ -5560,8 +5509,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5560
5509
|
var h, p$3, f = s.tree_nodeLength(e$1);
|
|
5561
5510
|
if (t$1 > f) throw new a.IndexSizeError("Offset exceeds character data length. Offset: " + t$1 + ", Length: " + f + ", Node is " + e$1.nodeName + ".");
|
|
5562
5511
|
t$1 + r$1 > f && (r$1 = f - t$1), i$1.dom.features.mutationObservers && u.observer_queueMutationRecord("characterData", e$1, null, null, e$1._data, [], [], null, null);
|
|
5563
|
-
|
|
5564
|
-
e$1._data = d;
|
|
5512
|
+
e$1._data = e$1._data.substring(0, t$1) + c + e$1._data.substring(t$1 + r$1);
|
|
5565
5513
|
try {
|
|
5566
5514
|
for (var m = n(i$1.dom.rangeList), y = m.next(); !y.done; y = m.next()) {
|
|
5567
5515
|
var v = y.value;
|
|
@@ -5690,76 +5638,52 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5690
5638
|
},
|
|
5691
5639
|
function(e, t, r) {
|
|
5692
5640
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
5693
|
-
var n = r(2)
|
|
5694
|
-
t.AbortController =
|
|
5695
|
-
|
|
5696
|
-
t.
|
|
5697
|
-
|
|
5698
|
-
t.
|
|
5699
|
-
var s = r(157);
|
|
5700
|
-
t.Attr = s.AttrImpl;
|
|
5701
|
-
var u = r(158);
|
|
5702
|
-
t.CDATASection = u.CDATASectionImpl;
|
|
5641
|
+
var n = r(2);
|
|
5642
|
+
t.AbortController = r(153).AbortControllerImpl;
|
|
5643
|
+
t.AbortSignal = r(154).AbortSignalImpl;
|
|
5644
|
+
t.AbstractRange = r(102).AbstractRangeImpl;
|
|
5645
|
+
t.Attr = r(157).AttrImpl;
|
|
5646
|
+
t.CDATASection = r(158).CDATASectionImpl;
|
|
5703
5647
|
var l = r(71);
|
|
5704
5648
|
t.CharacterData = l.CharacterDataImpl;
|
|
5705
|
-
var c = r(264)
|
|
5706
|
-
t.Comment =
|
|
5707
|
-
|
|
5708
|
-
t.CustomEvent = p$3.CustomEventImpl;
|
|
5649
|
+
var c = r(264);
|
|
5650
|
+
t.Comment = r(159).CommentImpl;
|
|
5651
|
+
t.CustomEvent = r(171).CustomEventImpl;
|
|
5709
5652
|
var f = r(100);
|
|
5710
5653
|
t.DocumentFragment = f.DocumentFragmentImpl;
|
|
5711
5654
|
var d = r(98);
|
|
5712
5655
|
t.Document = d.DocumentImpl;
|
|
5713
5656
|
var m = r(265), y = r(155);
|
|
5714
5657
|
t.DocumentType = y.DocumentTypeImpl;
|
|
5715
|
-
|
|
5716
|
-
t.
|
|
5717
|
-
|
|
5718
|
-
t.DOMImplementation = _.DOMImplementationImpl;
|
|
5719
|
-
var g = r(170);
|
|
5720
|
-
t.DOMTokenList = g.DOMTokenListImpl;
|
|
5658
|
+
t.dom = r(6).dom;
|
|
5659
|
+
t.DOMImplementation = r(148).DOMImplementationImpl;
|
|
5660
|
+
t.DOMTokenList = r(170).DOMTokenListImpl;
|
|
5721
5661
|
var b = r(99);
|
|
5722
5662
|
t.Element = b.ElementImpl;
|
|
5723
|
-
|
|
5724
|
-
t.
|
|
5725
|
-
|
|
5726
|
-
t.
|
|
5727
|
-
|
|
5728
|
-
t.
|
|
5729
|
-
|
|
5730
|
-
t.
|
|
5731
|
-
|
|
5732
|
-
t.
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
t.
|
|
5737
|
-
var N = r(34);
|
|
5738
|
-
t.Node = N.NodeImpl;
|
|
5739
|
-
var T = r(166);
|
|
5740
|
-
t.NodeIterator = T.NodeIteratorImpl;
|
|
5741
|
-
var O = r(162);
|
|
5742
|
-
t.NodeList = O.NodeListImpl;
|
|
5743
|
-
var F = r(163);
|
|
5744
|
-
t.NodeListStatic = F.NodeListStaticImpl;
|
|
5745
|
-
var k = r(267), P = r(268), I = r(269), L = r(160);
|
|
5746
|
-
t.ProcessingInstruction = L.ProcessingInstructionImpl;
|
|
5747
|
-
var M = r(165);
|
|
5748
|
-
t.Range = M.RangeImpl;
|
|
5663
|
+
t.Event = r(104).EventImpl;
|
|
5664
|
+
t.EventTarget = r(70).EventTargetImpl;
|
|
5665
|
+
t.HTMLCollection = r(161).HTMLCollectionImpl;
|
|
5666
|
+
t.MutationObserver = r(266).MutationObserverImpl;
|
|
5667
|
+
t.MutationRecord = r(169).MutationRecordImpl;
|
|
5668
|
+
t.NamedNodeMap = r(164).NamedNodeMapImpl;
|
|
5669
|
+
t.NodeFilter = r(168).NodeFilterImpl;
|
|
5670
|
+
t.Node = r(34).NodeImpl;
|
|
5671
|
+
t.NodeIterator = r(166).NodeIteratorImpl;
|
|
5672
|
+
t.NodeList = r(162).NodeListImpl;
|
|
5673
|
+
t.NodeListStatic = r(163).NodeListStaticImpl;
|
|
5674
|
+
var k = r(267), P = r(268), I = r(269);
|
|
5675
|
+
t.ProcessingInstruction = r(160).ProcessingInstructionImpl;
|
|
5676
|
+
t.Range = r(165).RangeImpl;
|
|
5749
5677
|
var B = r(156);
|
|
5750
5678
|
t.ShadowRoot = B.ShadowRootImpl;
|
|
5751
|
-
var j = r(270)
|
|
5752
|
-
t.StaticRange =
|
|
5679
|
+
var j = r(270);
|
|
5680
|
+
t.StaticRange = r(271).StaticRangeImpl;
|
|
5753
5681
|
var z = r(101);
|
|
5754
5682
|
t.Text = z.TextImpl;
|
|
5755
|
-
|
|
5756
|
-
t.
|
|
5757
|
-
|
|
5758
|
-
t.
|
|
5759
|
-
var X = r(149);
|
|
5760
|
-
t.Window = X.WindowImpl;
|
|
5761
|
-
var q = r(151);
|
|
5762
|
-
t.XMLDocument = q.XMLDocumentImpl, n.applyMixin(b.ElementImpl, c.ChildNodeImpl), n.applyMixin(l.CharacterDataImpl, c.ChildNodeImpl), n.applyMixin(y.DocumentTypeImpl, c.ChildNodeImpl), n.applyMixin(d.DocumentImpl, m.DocumentOrShadowRootImpl), n.applyMixin(B.ShadowRootImpl, m.DocumentOrShadowRootImpl), n.applyMixin(b.ElementImpl, k.NonDocumentTypeChildNodeImpl), n.applyMixin(l.CharacterDataImpl, k.NonDocumentTypeChildNodeImpl), n.applyMixin(d.DocumentImpl, P.NonElementParentNodeImpl), n.applyMixin(f.DocumentFragmentImpl, P.NonElementParentNodeImpl), n.applyMixin(d.DocumentImpl, I.ParentNodeImpl), n.applyMixin(f.DocumentFragmentImpl, I.ParentNodeImpl), n.applyMixin(b.ElementImpl, I.ParentNodeImpl), n.applyMixin(z.TextImpl, j.SlotableImpl), n.applyMixin(b.ElementImpl, j.SlotableImpl);
|
|
5683
|
+
t.Traverser = r(103).TraverserImpl;
|
|
5684
|
+
t.TreeWalker = r(167).TreeWalkerImpl;
|
|
5685
|
+
t.Window = r(149).WindowImpl;
|
|
5686
|
+
t.XMLDocument = r(151).XMLDocumentImpl, n.applyMixin(b.ElementImpl, c.ChildNodeImpl), n.applyMixin(l.CharacterDataImpl, c.ChildNodeImpl), n.applyMixin(y.DocumentTypeImpl, c.ChildNodeImpl), n.applyMixin(d.DocumentImpl, m.DocumentOrShadowRootImpl), n.applyMixin(B.ShadowRootImpl, m.DocumentOrShadowRootImpl), n.applyMixin(b.ElementImpl, k.NonDocumentTypeChildNodeImpl), n.applyMixin(l.CharacterDataImpl, k.NonDocumentTypeChildNodeImpl), n.applyMixin(d.DocumentImpl, P.NonElementParentNodeImpl), n.applyMixin(f.DocumentFragmentImpl, P.NonElementParentNodeImpl), n.applyMixin(d.DocumentImpl, I.ParentNodeImpl), n.applyMixin(f.DocumentFragmentImpl, I.ParentNodeImpl), n.applyMixin(b.ElementImpl, I.ParentNodeImpl), n.applyMixin(z.TextImpl, j.SlotableImpl), n.applyMixin(b.ElementImpl, j.SlotableImpl);
|
|
5763
5687
|
},
|
|
5764
5688
|
function(e, t, r) {
|
|
5765
5689
|
Object.defineProperty(t, "__esModule", { value: !0 }), function(e$1) {
|
|
@@ -5781,7 +5705,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5781
5705
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
5782
5706
|
});
|
|
5783
5707
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
5784
|
-
var o = r(2)
|
|
5708
|
+
var o = r(2);
|
|
5709
|
+
t.ObjectReader = function(e$1) {
|
|
5785
5710
|
function t$1() {
|
|
5786
5711
|
return null !== e$1 && e$1.apply(this, arguments) || this;
|
|
5787
5712
|
}
|
|
@@ -5789,49 +5714,47 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5789
5714
|
var r$1 = this, n$1 = this._builderOptions, i$2 = null;
|
|
5790
5715
|
return o.isFunction(t$2) ? i$2 = this.parse(e$2, t$2.apply(this)) : o.isArray(t$2) || o.isSet(t$2) ? o.forEachArray(t$2, (function(t$3) {
|
|
5791
5716
|
return i$2 = r$1.parse(e$2, t$3);
|
|
5792
|
-
}), this) : o.isMap(t$2) || o.isObject(t$2) ? o.forEachObject(t$2, (function(t$3, a
|
|
5793
|
-
if (o.isFunction(a
|
|
5794
|
-
if ((o.isArray(a
|
|
5795
|
-
else if ((o.isMap(a
|
|
5796
|
-
else if (n$1.keepNullNodes || null != a
|
|
5717
|
+
}), this) : o.isMap(t$2) || o.isObject(t$2) ? o.forEachObject(t$2, (function(t$3, a) {
|
|
5718
|
+
if (o.isFunction(a) && (a = a.apply(r$1)), n$1.ignoreConverters || 0 !== t$3.indexOf(n$1.convert.att)) if (n$1.ignoreConverters || 0 !== t$3.indexOf(n$1.convert.text)) if (n$1.ignoreConverters || 0 !== t$3.indexOf(n$1.convert.cdata)) if (n$1.ignoreConverters || 0 !== t$3.indexOf(n$1.convert.comment)) if (n$1.ignoreConverters || 0 !== t$3.indexOf(n$1.convert.ins)) {
|
|
5719
|
+
if ((o.isArray(a) || o.isSet(a)) && o.isEmpty(a));
|
|
5720
|
+
else if ((o.isMap(a) || o.isObject(a)) && o.isEmpty(a)) i$2 = r$1.element(e$2, void 0, r$1.sanitize(t$3)) || i$2;
|
|
5721
|
+
else if (n$1.keepNullNodes || null != a) if (o.isArray(a) || o.isSet(a)) o.forEachArray(a, (function(n$2) {
|
|
5797
5722
|
var o$1 = {};
|
|
5798
5723
|
o$1[t$3] = n$2, i$2 = r$1.parse(e$2, o$1);
|
|
5799
5724
|
}), r$1);
|
|
5800
|
-
else if (o.isMap(a
|
|
5801
|
-
else if (null != a
|
|
5725
|
+
else if (o.isMap(a) || o.isObject(a)) (s = r$1.element(e$2, void 0, r$1.sanitize(t$3))) && (i$2 = s, r$1.parse(s, a));
|
|
5726
|
+
else if (null != a && "" !== a) {
|
|
5802
5727
|
var s;
|
|
5803
|
-
(s = r$1.element(e$2, void 0, r$1.sanitize(t$3))) && (i$2 = s, r$1.text(s, r$1._decodeText(r$1.sanitize(a
|
|
5728
|
+
(s = r$1.element(e$2, void 0, r$1.sanitize(t$3))) && (i$2 = s, r$1.text(s, r$1._decodeText(r$1.sanitize(a))));
|
|
5804
5729
|
} else i$2 = r$1.element(e$2, void 0, r$1.sanitize(t$3)) || i$2;
|
|
5805
|
-
} else if (o.isString(a
|
|
5806
|
-
var u = a
|
|
5730
|
+
} else if (o.isString(a)) {
|
|
5731
|
+
var u = a.indexOf(" "), l = -1 === u ? a : a.substr(0, u), c = -1 === u ? "" : a.substr(u + 1);
|
|
5807
5732
|
i$2 = r$1.instruction(e$2, r$1.sanitize(l), r$1.sanitize(c)) || i$2;
|
|
5808
|
-
} else o.isArray(a
|
|
5809
|
-
var n$2 = t$4.indexOf(" "), o$1 = -1 === n$2 ? t$4 : t$4.substr(0, n$2), a$
|
|
5810
|
-
i$2 = r$1.instruction(e$2, r$1.sanitize(o$1), r$1.sanitize(a$
|
|
5811
|
-
}), r$1) : o.forEachObject(a
|
|
5733
|
+
} else o.isArray(a) || o.isSet(a) ? o.forEachArray(a, (function(t$4) {
|
|
5734
|
+
var n$2 = t$4.indexOf(" "), o$1 = -1 === n$2 ? t$4 : t$4.substr(0, n$2), a$1 = -1 === n$2 ? "" : t$4.substr(n$2 + 1);
|
|
5735
|
+
i$2 = r$1.instruction(e$2, r$1.sanitize(o$1), r$1.sanitize(a$1)) || i$2;
|
|
5736
|
+
}), r$1) : o.forEachObject(a, (function(t$4, n$2) {
|
|
5812
5737
|
return i$2 = r$1.instruction(e$2, r$1.sanitize(t$4), r$1.sanitize(n$2)) || i$2;
|
|
5813
5738
|
}), r$1);
|
|
5814
|
-
else o.isArray(a
|
|
5739
|
+
else o.isArray(a) || o.isSet(a) ? o.forEachArray(a, (function(t$4) {
|
|
5815
5740
|
return i$2 = r$1.comment(e$2, r$1.sanitize(t$4)) || i$2;
|
|
5816
|
-
}), r$1) : i$2 = r$1.comment(e$2, r$1.sanitize(a
|
|
5817
|
-
else o.isArray(a
|
|
5741
|
+
}), r$1) : i$2 = r$1.comment(e$2, r$1.sanitize(a)) || i$2;
|
|
5742
|
+
else o.isArray(a) || o.isSet(a) ? o.forEachArray(a, (function(t$4) {
|
|
5818
5743
|
return i$2 = r$1.cdata(e$2, r$1.sanitize(t$4)) || i$2;
|
|
5819
|
-
}), r$1) : i$2 = r$1.cdata(e$2, r$1.sanitize(a
|
|
5820
|
-
else i$2 = o.isMap(a
|
|
5744
|
+
}), r$1) : i$2 = r$1.cdata(e$2, r$1.sanitize(a)) || i$2;
|
|
5745
|
+
else i$2 = o.isMap(a) || o.isObject(a) ? r$1.parse(e$2, a) : r$1.text(e$2, r$1._decodeText(r$1.sanitize(a))) || i$2;
|
|
5821
5746
|
else if (t$3 === n$1.convert.att) {
|
|
5822
|
-
if (o.isArray(a
|
|
5823
|
-
o.forEachObject(a
|
|
5747
|
+
if (o.isArray(a) || o.isSet(a)) throw new Error("Invalid attribute: " + a.toString() + ". " + e$2._debugInfo());
|
|
5748
|
+
o.forEachObject(a, (function(t$4, n$2) {
|
|
5824
5749
|
i$2 = r$1.attribute(e$2, void 0, r$1.sanitize(t$4), r$1._decodeAttributeValue(r$1.sanitize(n$2))) || i$2;
|
|
5825
5750
|
}));
|
|
5826
|
-
} else i$2 = r$1.attribute(e$2, void 0, r$1.sanitize(t$3.substr(n$1.convert.att.length)), r$1._decodeAttributeValue(r$1.sanitize(a
|
|
5751
|
+
} else i$2 = r$1.attribute(e$2, void 0, r$1.sanitize(t$3.substr(n$1.convert.att.length)), r$1._decodeAttributeValue(r$1.sanitize(a))) || i$2;
|
|
5827
5752
|
}), this) : (n$1.keepNullNodes || null != t$2) && (i$2 = this.text(e$2, this._decodeText(this.sanitize(t$2))) || i$2), i$2 || e$2;
|
|
5828
5753
|
}, t$1;
|
|
5829
5754
|
}(r(75).BaseReader);
|
|
5830
|
-
t.ObjectReader = a;
|
|
5831
5755
|
},
|
|
5832
5756
|
function(e, t, r) {
|
|
5833
|
-
|
|
5834
|
-
e.exports = new n({ explicit: [
|
|
5757
|
+
e.exports = new (r(39))({ explicit: [
|
|
5835
5758
|
r(287),
|
|
5836
5759
|
r(288),
|
|
5837
5760
|
r(289)
|
|
@@ -5865,8 +5788,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5865
5788
|
}), e.exports = n.inspectSource;
|
|
5866
5789
|
},
|
|
5867
5790
|
function(e, t, r) {
|
|
5868
|
-
var n = r(11), i$1 = r(80)
|
|
5869
|
-
e.exports =
|
|
5791
|
+
var n = r(11), i$1 = r(80);
|
|
5792
|
+
e.exports = n["__core-js_shared__"] || i$1("__core-js_shared__", {});
|
|
5870
5793
|
},
|
|
5871
5794
|
function(e, t, r) {
|
|
5872
5795
|
var n = r(14), i$1 = r(187), o = r(55), a = r(15);
|
|
@@ -5878,8 +5801,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5878
5801
|
};
|
|
5879
5802
|
},
|
|
5880
5803
|
function(e, t, r) {
|
|
5881
|
-
|
|
5882
|
-
e.exports = n;
|
|
5804
|
+
e.exports = r(11);
|
|
5883
5805
|
},
|
|
5884
5806
|
function(e, t, r) {
|
|
5885
5807
|
var n = r(14), i$1 = r(24), o = r(122).indexOf, a = r(45);
|
|
@@ -5915,12 +5837,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5915
5837
|
e.exports = o;
|
|
5916
5838
|
},
|
|
5917
5839
|
function(e, t, r) {
|
|
5918
|
-
|
|
5919
|
-
e.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator;
|
|
5840
|
+
e.exports = r(86) && !Symbol.sham && "symbol" == typeof Symbol.iterator;
|
|
5920
5841
|
},
|
|
5921
5842
|
function(e, t, r) {
|
|
5922
|
-
|
|
5923
|
-
t.f = n;
|
|
5843
|
+
t.f = r(5);
|
|
5924
5844
|
},
|
|
5925
5845
|
function(e, t, r) {
|
|
5926
5846
|
var n = r(120), i$1 = r(14), o = r(125), a = r(15).f;
|
|
@@ -6959,7 +6879,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
6959
6879
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
6960
6880
|
});
|
|
6961
6881
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
6962
|
-
var o = r(70), a = r(2), s = r(0)
|
|
6882
|
+
var o = r(70), a = r(2), s = r(0);
|
|
6883
|
+
t.WindowImpl = function(e$1) {
|
|
6963
6884
|
function t$1() {
|
|
6964
6885
|
var t$2 = e$1.call(this) || this;
|
|
6965
6886
|
return t$2._signalSlots = /* @__PURE__ */ new Set(), t$2._mutationObserverMicrotaskQueued = !1, t$2._mutationObservers = /* @__PURE__ */ new Set(), t$2._iteratorList = new a.FixedSizeSet(), t$2._associatedDocument = s.create_document(), t$2;
|
|
@@ -6980,11 +6901,11 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
6980
6901
|
return new t$1();
|
|
6981
6902
|
}, t$1;
|
|
6982
6903
|
}(o.EventTargetImpl);
|
|
6983
|
-
t.WindowImpl = u;
|
|
6984
6904
|
},
|
|
6985
6905
|
function(e, t, r) {
|
|
6986
6906
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
6987
|
-
var n = r(1)
|
|
6907
|
+
var n = r(1);
|
|
6908
|
+
t.Guard = function() {
|
|
6988
6909
|
function e$1() {}
|
|
6989
6910
|
return e$1.isNode = function(e$2) {
|
|
6990
6911
|
return !!e$2 && void 0 !== e$2._nodeType;
|
|
@@ -7032,7 +6953,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
7032
6953
|
return !!t$1 && void 0 !== t$1.source && e$1.isRegisteredObserver(t$1);
|
|
7033
6954
|
}, e$1;
|
|
7034
6955
|
}();
|
|
7035
|
-
t.Guard = i$1;
|
|
7036
6956
|
},
|
|
7037
6957
|
function(e, t, r) {
|
|
7038
6958
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -7048,13 +6968,12 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
7048
6968
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
7049
6969
|
});
|
|
7050
6970
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
7051
|
-
|
|
6971
|
+
t.XMLDocumentImpl = function(e$1) {
|
|
7052
6972
|
function t$1() {
|
|
7053
6973
|
return e$1.call(this) || this;
|
|
7054
6974
|
}
|
|
7055
6975
|
return i$1(t$1, e$1), t$1;
|
|
7056
6976
|
}(r(98).DocumentImpl);
|
|
7057
|
-
t.XMLDocumentImpl = o;
|
|
7058
6977
|
},
|
|
7059
6978
|
function(e, t, r) {
|
|
7060
6979
|
var n = this && this.__values || function(e$1) {
|
|
@@ -7554,10 +7473,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
7554
7473
|
var o$1 = e$1[i$2];
|
|
7555
7474
|
if (37 !== o$1) r$1[n$1] = o$1, n$1++;
|
|
7556
7475
|
else if (37 === o$1 && i$2 >= e$1.length - 2) r$1[n$1] = o$1, n$1++;
|
|
7557
|
-
else if (37 !== o$1 || t$1(e$1[i$2 + 1]) && t$1(e$1[i$2 + 2]))
|
|
7558
|
-
|
|
7559
|
-
r$1[n$1] = s$1, n$1++, i$2 += 2;
|
|
7560
|
-
} else r$1[n$1] = o$1, n$1++;
|
|
7476
|
+
else if (37 !== o$1 || t$1(e$1[i$2 + 1]) && t$1(e$1[i$2 + 2])) r$1[n$1] = parseInt(a.utf8Decode(Uint8Array.of(e$1[i$2 + 1], e$1[i$2 + 2])), 16), n$1++, i$2 += 2;
|
|
7477
|
+
else r$1[n$1] = o$1, n$1++;
|
|
7561
7478
|
}
|
|
7562
7479
|
return r$1.subarray(0, n$1);
|
|
7563
7480
|
}
|
|
@@ -7734,7 +7651,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
7734
7651
|
},
|
|
7735
7652
|
function(e, t, r) {
|
|
7736
7653
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
7737
|
-
var n = r(0)
|
|
7654
|
+
var n = r(0);
|
|
7655
|
+
t.AbortControllerImpl = function() {
|
|
7738
7656
|
function e$1() {
|
|
7739
7657
|
this._signal = n.create_abortSignal();
|
|
7740
7658
|
}
|
|
@@ -7748,7 +7666,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
7748
7666
|
n.abort_signalAbort(this._signal);
|
|
7749
7667
|
}, e$1;
|
|
7750
7668
|
}();
|
|
7751
|
-
t.AbortControllerImpl = i$1;
|
|
7752
7669
|
},
|
|
7753
7670
|
function(e, t, r) {
|
|
7754
7671
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -7764,7 +7681,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
7764
7681
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
7765
7682
|
});
|
|
7766
7683
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
7767
|
-
var o = r(70), a = r(0)
|
|
7684
|
+
var o = r(70), a = r(0);
|
|
7685
|
+
t.AbortSignalImpl = function(e$1) {
|
|
7768
7686
|
function t$1() {
|
|
7769
7687
|
var t$2 = e$1.call(this) || this;
|
|
7770
7688
|
return t$2._abortedFlag = !1, t$2._abortAlgorithms = /* @__PURE__ */ new Set(), t$2;
|
|
@@ -7788,7 +7706,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
7788
7706
|
return new t$1();
|
|
7789
7707
|
}, t$1;
|
|
7790
7708
|
}(o.EventTargetImpl);
|
|
7791
|
-
t.AbortSignalImpl = s;
|
|
7792
7709
|
},
|
|
7793
7710
|
function(e, t, r) {
|
|
7794
7711
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -7860,7 +7777,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
7860
7777
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
7861
7778
|
});
|
|
7862
7779
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
7863
|
-
var o = r(100), a = r(2), s = r(0)
|
|
7780
|
+
var o = r(100), a = r(2), s = r(0);
|
|
7781
|
+
t.ShadowRootImpl = function(e$1) {
|
|
7864
7782
|
function t$1(t$2, r$1) {
|
|
7865
7783
|
var n$1 = e$1.call(this) || this;
|
|
7866
7784
|
return n$1._host = t$2, n$1._mode = r$1, n$1;
|
|
@@ -7883,7 +7801,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
7883
7801
|
return new t$1(r$1, "closed");
|
|
7884
7802
|
}, t$1;
|
|
7885
7803
|
}(o.DocumentFragmentImpl);
|
|
7886
|
-
t.ShadowRootImpl = u;
|
|
7887
7804
|
},
|
|
7888
7805
|
function(e, t, r) {
|
|
7889
7806
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -8042,7 +7959,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8042
7959
|
},
|
|
8043
7960
|
function(e, t, r) {
|
|
8044
7961
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
8045
|
-
var n = r(7), i$1 = r(0), o = r(3), a = r(2)
|
|
7962
|
+
var n = r(7), i$1 = r(0), o = r(3), a = r(2);
|
|
7963
|
+
t.HTMLCollectionImpl = function() {
|
|
8046
7964
|
function e$1(e$2, t$1) {
|
|
8047
7965
|
return this._live = !0, this._root = e$2, this._filter = t$1, new Proxy(this, this);
|
|
8048
7966
|
}
|
|
@@ -8075,8 +7993,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8075
7993
|
})); null != r$1;) {
|
|
8076
7994
|
if (r$1._uniqueIdentifier === e$2) return r$1;
|
|
8077
7995
|
if (r$1._namespace === n.namespace.HTML) for (var a$1 = 0; a$1 < r$1._attributeList.length; a$1++) {
|
|
8078
|
-
var s
|
|
8079
|
-
if ("name" === s
|
|
7996
|
+
var s = r$1._attributeList[a$1];
|
|
7997
|
+
if ("name" === s._localName && null === s._namespace && null === s._namespacePrefix && s._value === e$2) return r$1;
|
|
8080
7998
|
}
|
|
8081
7999
|
r$1 = i$1.tree_getNextDescendantNode(this._root, r$1, !1, !1, (function(e$3) {
|
|
8082
8000
|
return o.Guard.isElementNode(e$3) && t$1._filter(e$3);
|
|
@@ -8106,7 +8024,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8106
8024
|
return isNaN(i$2) ? t$1.namedItem(r$1) || void 0 : t$1.item(i$2) || void 0;
|
|
8107
8025
|
}, e$1.prototype.set = function(t$1, r$1, n$1, o$1) {
|
|
8108
8026
|
if (!a.isString(r$1) || -1 !== e$1.reservedNames.indexOf(r$1)) return Reflect.set(t$1, r$1, n$1, o$1);
|
|
8109
|
-
var s
|
|
8027
|
+
var s = Number(r$1), u = isNaN(s) ? t$1.namedItem(r$1) || void 0 : t$1.item(s) || void 0;
|
|
8110
8028
|
return !(!u || !u._parent) && (i$1.mutation_replace(u, n$1, u._parent), !0);
|
|
8111
8029
|
}, e$1._create = function(t$1, r$1) {
|
|
8112
8030
|
return void 0 === r$1 && (r$1 = function() {
|
|
@@ -8123,7 +8041,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8123
8041
|
"set"
|
|
8124
8042
|
], e$1;
|
|
8125
8043
|
}();
|
|
8126
|
-
t.HTMLCollectionImpl = s;
|
|
8127
8044
|
},
|
|
8128
8045
|
function(e, t, r) {
|
|
8129
8046
|
var n = this && this.__values || function(e$1) {
|
|
@@ -8138,7 +8055,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8138
8055
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
8139
8056
|
};
|
|
8140
8057
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
8141
|
-
var i$1 = r(6), o = r(2), a = r(0)
|
|
8058
|
+
var i$1 = r(6), o = r(2), a = r(0);
|
|
8059
|
+
t.NodeListImpl = function() {
|
|
8142
8060
|
function e$1(e$2) {
|
|
8143
8061
|
return this._live = !0, this._filter = null, this._length = 0, this._root = e$2, new Proxy(this, this);
|
|
8144
8062
|
}
|
|
@@ -8200,7 +8118,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8200
8118
|
void 0 === t$1 && (t$1 = i$1.dom.window);
|
|
8201
8119
|
var a$1 = 0;
|
|
8202
8120
|
try {
|
|
8203
|
-
for (var s
|
|
8121
|
+
for (var s = n(this._root._children), u = s.next(); !u.done; u = s.next()) {
|
|
8204
8122
|
var l = u.value;
|
|
8205
8123
|
e$2.call(t$1, l, a$1++, this);
|
|
8206
8124
|
}
|
|
@@ -8208,7 +8126,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8208
8126
|
r$1 = { error: e$3 };
|
|
8209
8127
|
} finally {
|
|
8210
8128
|
try {
|
|
8211
|
-
u && !u.done && (o$1 = s
|
|
8129
|
+
u && !u.done && (o$1 = s.return) && o$1.call(s);
|
|
8212
8130
|
} finally {
|
|
8213
8131
|
if (r$1) throw r$1.error;
|
|
8214
8132
|
}
|
|
@@ -8221,13 +8139,12 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8221
8139
|
if (!o.isString(t$1)) return Reflect.set(e$2, t$1, r$1, n$1);
|
|
8222
8140
|
var i$2 = Number(t$1);
|
|
8223
8141
|
if (isNaN(i$2)) return Reflect.set(e$2, t$1, r$1, n$1);
|
|
8224
|
-
var s
|
|
8225
|
-
return !!s
|
|
8142
|
+
var s = e$2.item(i$2) || void 0;
|
|
8143
|
+
return !!s && !!s._parent && (a.mutation_replace(s, r$1, s._parent), !0);
|
|
8226
8144
|
}, e$1._create = function(t$1) {
|
|
8227
8145
|
return new e$1(t$1);
|
|
8228
8146
|
}, e$1;
|
|
8229
8147
|
}();
|
|
8230
|
-
t.NodeListImpl = s;
|
|
8231
8148
|
},
|
|
8232
8149
|
function(e, t, r) {
|
|
8233
8150
|
var n = this && this.__values || function(e$1) {
|
|
@@ -8242,7 +8159,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8242
8159
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
8243
8160
|
};
|
|
8244
8161
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
8245
|
-
var i$1 = r(6), o = r(2)
|
|
8162
|
+
var i$1 = r(6), o = r(2);
|
|
8163
|
+
t.NodeListStaticImpl = function() {
|
|
8246
8164
|
function e$1(e$2) {
|
|
8247
8165
|
return this._live = !1, this._items = [], this._length = 0, this._root = e$2, this._items = [], this._filter = function(e$3) {
|
|
8248
8166
|
return !0;
|
|
@@ -8301,11 +8219,11 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8301
8219
|
}, e$1.prototype.forEach = function(e$2, t$1) {
|
|
8302
8220
|
var r$1, o$1;
|
|
8303
8221
|
void 0 === t$1 && (t$1 = i$1.dom.window);
|
|
8304
|
-
var a
|
|
8222
|
+
var a = 0;
|
|
8305
8223
|
try {
|
|
8306
8224
|
for (var s = n(this._items), u = s.next(); !u.done; u = s.next()) {
|
|
8307
8225
|
var l = u.value;
|
|
8308
|
-
e$2.call(t$1, l, a
|
|
8226
|
+
e$2.call(t$1, l, a++, this);
|
|
8309
8227
|
}
|
|
8310
8228
|
} catch (e$3) {
|
|
8311
8229
|
r$1 = { error: e$3 };
|
|
@@ -8329,7 +8247,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8329
8247
|
return n$1._items = r$1, n$1;
|
|
8330
8248
|
}, e$1;
|
|
8331
8249
|
}();
|
|
8332
|
-
t.NodeListStaticImpl = a;
|
|
8333
8250
|
},
|
|
8334
8251
|
function(e, t, r) {
|
|
8335
8252
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -8345,7 +8262,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8345
8262
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
8346
8263
|
});
|
|
8347
8264
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
8348
|
-
var o = r(9), a = r(0)
|
|
8265
|
+
var o = r(9), a = r(0);
|
|
8266
|
+
t.NamedNodeMapImpl = function(e$1) {
|
|
8349
8267
|
function t$1(r$1) {
|
|
8350
8268
|
var n$1 = e$1.call(this) || this;
|
|
8351
8269
|
return n$1._element = r$1, Object.setPrototypeOf(n$1, t$1.prototype), n$1;
|
|
@@ -8374,7 +8292,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8374
8292
|
return new t$1(e$2);
|
|
8375
8293
|
}, t$1;
|
|
8376
8294
|
}(Array);
|
|
8377
|
-
t.NamedNodeMapImpl = s;
|
|
8378
8295
|
},
|
|
8379
8296
|
function(e, t, r) {
|
|
8380
8297
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -8596,7 +8513,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8596
8513
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
8597
8514
|
});
|
|
8598
8515
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
8599
|
-
var o = r(103), a = r(0)
|
|
8516
|
+
var o = r(103), a = r(0);
|
|
8517
|
+
t.NodeIteratorImpl = function(e$1) {
|
|
8600
8518
|
function t$1(t$2, r$1, n$1) {
|
|
8601
8519
|
var i$2 = e$1.call(this, t$2) || this;
|
|
8602
8520
|
return i$2._iteratorCollection = void 0, i$2._reference = r$1, i$2._pointerBeforeReference = n$1, a.nodeIterator_iteratorList().add(i$2), i$2;
|
|
@@ -8623,7 +8541,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8623
8541
|
return new t$1(e$2, r$1, n$1);
|
|
8624
8542
|
}, t$1;
|
|
8625
8543
|
}(o.TraverserImpl);
|
|
8626
|
-
t.NodeIteratorImpl = s;
|
|
8627
8544
|
},
|
|
8628
8545
|
function(e, t, r) {
|
|
8629
8546
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -8639,7 +8556,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8639
8556
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
8640
8557
|
});
|
|
8641
8558
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
8642
|
-
var o = r(1), a = r(103), s = r(0)
|
|
8559
|
+
var o = r(1), a = r(103), s = r(0);
|
|
8560
|
+
t.TreeWalkerImpl = function(e$1) {
|
|
8643
8561
|
function t$1(t$2, r$1) {
|
|
8644
8562
|
var n$1 = e$1.call(this, t$2) || this;
|
|
8645
8563
|
return n$1._current = r$1, n$1;
|
|
@@ -8693,7 +8611,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8693
8611
|
return new t$1(e$2, r$1);
|
|
8694
8612
|
}, t$1;
|
|
8695
8613
|
}(a.TraverserImpl);
|
|
8696
|
-
t.TreeWalkerImpl = u;
|
|
8697
8614
|
},
|
|
8698
8615
|
function(e, t, r) {
|
|
8699
8616
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
@@ -8709,9 +8626,9 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8709
8626
|
},
|
|
8710
8627
|
function(e, t, r) {
|
|
8711
8628
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
8712
|
-
|
|
8713
|
-
function e$1(e$2, t$1, r$1, n
|
|
8714
|
-
this._type = e$2, this._target = t$1, this._addedNodes = r$1, this._removedNodes = n
|
|
8629
|
+
t.MutationRecordImpl = function() {
|
|
8630
|
+
function e$1(e$2, t$1, r$1, n, i$1, o, a, s, u) {
|
|
8631
|
+
this._type = e$2, this._target = t$1, this._addedNodes = r$1, this._removedNodes = n, this._previousSibling = i$1, this._nextSibling = o, this._attributeName = a, this._attributeNamespace = s, this._oldValue = u;
|
|
8715
8632
|
}
|
|
8716
8633
|
return Object.defineProperty(e$1.prototype, "type", {
|
|
8717
8634
|
get: function() {
|
|
@@ -8767,11 +8684,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8767
8684
|
},
|
|
8768
8685
|
enumerable: !0,
|
|
8769
8686
|
configurable: !0
|
|
8770
|
-
}), e$1._create = function(t$1, r$1, n
|
|
8771
|
-
return new e$1(t$1, r$1, n
|
|
8687
|
+
}), e$1._create = function(t$1, r$1, n, i$1, o, a, s, u, l) {
|
|
8688
|
+
return new e$1(t$1, r$1, n, i$1, o, a, s, u, l);
|
|
8772
8689
|
}, e$1;
|
|
8773
8690
|
}();
|
|
8774
|
-
t.MutationRecordImpl = n;
|
|
8775
8691
|
},
|
|
8776
8692
|
function(e, t, r) {
|
|
8777
8693
|
var n = this && this.__values || function(e$1) {
|
|
@@ -8786,7 +8702,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8786
8702
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
8787
8703
|
};
|
|
8788
8704
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
8789
|
-
var i$1 = r(6), o = r(9), a = r(7), s = r(0)
|
|
8705
|
+
var i$1 = r(6), o = r(9), a = r(7), s = r(0);
|
|
8706
|
+
t.DOMTokenListImpl = function() {
|
|
8790
8707
|
function e$1(e$2, t$1) {
|
|
8791
8708
|
this._element = e$2, this._attribute = t$1, this._tokenSet = /* @__PURE__ */ new Set();
|
|
8792
8709
|
var r$1 = t$1._localName, n$1 = s.element_getAnAttributeValue(e$2, r$1), o$1 = this;
|
|
@@ -8823,7 +8740,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8823
8740
|
}, e$1.prototype.add = function() {
|
|
8824
8741
|
for (var e$2, t$1, r$1 = [], i$2 = 0; i$2 < arguments.length; i$2++) r$1[i$2] = arguments[i$2];
|
|
8825
8742
|
try {
|
|
8826
|
-
for (var u
|
|
8743
|
+
for (var u = n(r$1), l = u.next(); !l.done; l = u.next()) {
|
|
8827
8744
|
var c = l.value;
|
|
8828
8745
|
if ("" === c) throw new o.SyntaxError("Cannot add an empty token.");
|
|
8829
8746
|
if (a.codePoint.ASCIIWhiteSpace.test(c)) throw new o.InvalidCharacterError("Token cannot contain whitespace.");
|
|
@@ -8833,7 +8750,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8833
8750
|
e$2 = { error: t$2 };
|
|
8834
8751
|
} finally {
|
|
8835
8752
|
try {
|
|
8836
|
-
l && !l.done && (t$1 = u
|
|
8753
|
+
l && !l.done && (t$1 = u.return) && t$1.call(u);
|
|
8837
8754
|
} finally {
|
|
8838
8755
|
if (e$2) throw e$2.error;
|
|
8839
8756
|
}
|
|
@@ -8842,7 +8759,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8842
8759
|
}, e$1.prototype.remove = function() {
|
|
8843
8760
|
for (var e$2, t$1, r$1 = [], i$2 = 0; i$2 < arguments.length; i$2++) r$1[i$2] = arguments[i$2];
|
|
8844
8761
|
try {
|
|
8845
|
-
for (var u
|
|
8762
|
+
for (var u = n(r$1), l = u.next(); !l.done; l = u.next()) {
|
|
8846
8763
|
var c = l.value;
|
|
8847
8764
|
if ("" === c) throw new o.SyntaxError("Cannot remove an empty token.");
|
|
8848
8765
|
if (a.codePoint.ASCIIWhiteSpace.test(c)) throw new o.InvalidCharacterError("Token cannot contain whitespace.");
|
|
@@ -8852,7 +8769,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8852
8769
|
e$2 = { error: t$2 };
|
|
8853
8770
|
} finally {
|
|
8854
8771
|
try {
|
|
8855
|
-
l && !l.done && (t$1 = u
|
|
8772
|
+
l && !l.done && (t$1 = u.return) && t$1.call(u);
|
|
8856
8773
|
} finally {
|
|
8857
8774
|
if (e$2) throw e$2.error;
|
|
8858
8775
|
}
|
|
@@ -8886,7 +8803,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8886
8803
|
return new e$1(t$1, r$1);
|
|
8887
8804
|
}, e$1;
|
|
8888
8805
|
}();
|
|
8889
|
-
t.DOMTokenListImpl = u;
|
|
8890
8806
|
},
|
|
8891
8807
|
function(e, t, r) {
|
|
8892
8808
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -8902,7 +8818,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8902
8818
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
8903
8819
|
});
|
|
8904
8820
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
8905
|
-
var o = r(104), a = r(0)
|
|
8821
|
+
var o = r(104), a = r(0);
|
|
8822
|
+
t.CustomEventImpl = function(e$1) {
|
|
8906
8823
|
function t$1(t$2, r$1) {
|
|
8907
8824
|
var n$1 = e$1.call(this, t$2, r$1) || this;
|
|
8908
8825
|
return n$1._detail = null, n$1._detail = r$1 && r$1.detail || null, n$1;
|
|
@@ -8917,7 +8834,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
8917
8834
|
void 0 === t$2 && (t$2 = !1), void 0 === r$1 && (r$1 = !1), void 0 === n$1 && (n$1 = null), this._dispatchFlag || (a.event_initialize(this, e$2, t$2, r$1), this._detail = n$1);
|
|
8918
8835
|
}, t$1;
|
|
8919
8836
|
}(o.EventImpl);
|
|
8920
|
-
t.CustomEventImpl = s;
|
|
8921
8837
|
},
|
|
8922
8838
|
function(e, t, r) {
|
|
8923
8839
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
@@ -9291,14 +9207,14 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9291
9207
|
var n = this && this.__read || function(e$1, t$1) {
|
|
9292
9208
|
var r$1 = "function" == typeof Symbol && e$1[Symbol.iterator];
|
|
9293
9209
|
if (!r$1) return e$1;
|
|
9294
|
-
var n$1, i$2, o
|
|
9210
|
+
var n$1, i$2, o = r$1.call(e$1), a = [];
|
|
9295
9211
|
try {
|
|
9296
|
-
for (; (void 0 === t$1 || t$1-- > 0) && !(n$1 = o
|
|
9212
|
+
for (; (void 0 === t$1 || t$1-- > 0) && !(n$1 = o.next()).done;) a.push(n$1.value);
|
|
9297
9213
|
} catch (e$2) {
|
|
9298
9214
|
i$2 = { error: e$2 };
|
|
9299
9215
|
} finally {
|
|
9300
9216
|
try {
|
|
9301
|
-
n$1 && !n$1.done && (r$1 = o
|
|
9217
|
+
n$1 && !n$1.done && (r$1 = o.return) && r$1.call(o);
|
|
9302
9218
|
} finally {
|
|
9303
9219
|
if (i$2) throw i$2.error;
|
|
9304
9220
|
}
|
|
@@ -9306,7 +9222,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9306
9222
|
return a;
|
|
9307
9223
|
};
|
|
9308
9224
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
9309
|
-
var i$1 = r(111)
|
|
9225
|
+
var i$1 = r(111);
|
|
9226
|
+
t.XMLStringLexer = function() {
|
|
9310
9227
|
function e$1(e$2, t$1) {
|
|
9311
9228
|
this._options = { skipWhitespaceOnlyText: !1 }, this.err = {
|
|
9312
9229
|
line: -1,
|
|
@@ -9329,7 +9246,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9329
9246
|
encoding: t$1,
|
|
9330
9247
|
standalone: r$1
|
|
9331
9248
|
};
|
|
9332
|
-
var o
|
|
9249
|
+
var o = n(this.attribute(), 2), a = o[0], s = o[1];
|
|
9333
9250
|
"version" === a ? e$2 = s : "encoding" === a ? t$1 = s : "standalone" === a ? r$1 = s : this.throwError("Invalid attribute name: " + a);
|
|
9334
9251
|
}
|
|
9335
9252
|
this.throwError("Missing declaration end symbol `?>`");
|
|
@@ -9449,23 +9366,23 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9449
9366
|
}, e$1.prototype.takeUntil2 = function(t$1, r$1, n$1) {
|
|
9450
9367
|
void 0 === n$1 && (n$1 = !1);
|
|
9451
9368
|
for (var i$2 = this._index; this._index < this._length;) {
|
|
9452
|
-
var o
|
|
9453
|
-
if (o
|
|
9369
|
+
var o = this._str[this._index];
|
|
9370
|
+
if (o === t$1 || o === r$1 || n$1 && e$1.isSpace(o)) break;
|
|
9454
9371
|
this._index++;
|
|
9455
9372
|
}
|
|
9456
9373
|
return this._str.slice(i$2, this._index);
|
|
9457
9374
|
}, e$1.prototype.takeUntilStartsWith = function(t$1, r$1) {
|
|
9458
9375
|
void 0 === r$1 && (r$1 = !1);
|
|
9459
9376
|
for (var n$1 = this._index, i$2 = t$1.length; this._index < this._length;) {
|
|
9460
|
-
for (var o
|
|
9377
|
+
for (var o = !0, a = 0; a < i$2; a++) {
|
|
9461
9378
|
var s = this._str[this._index + a], u = t$1[a];
|
|
9462
9379
|
if (r$1 && e$1.isSpace(s)) return this._str.slice(n$1, this._index);
|
|
9463
9380
|
if (s !== u) {
|
|
9464
|
-
this._index++, o
|
|
9381
|
+
this._index++, o = !1;
|
|
9465
9382
|
break;
|
|
9466
9383
|
}
|
|
9467
9384
|
}
|
|
9468
|
-
if (o
|
|
9385
|
+
if (o) return this._str.slice(n$1, this._index);
|
|
9469
9386
|
}
|
|
9470
9387
|
return this._index = this._length, this._str.slice(n$1);
|
|
9471
9388
|
}, e$1.prototype.skipUntil = function(e$2) {
|
|
@@ -9484,15 +9401,15 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9484
9401
|
}, e$1.isQuote = function(e$2) {
|
|
9485
9402
|
return "\"" === e$2 || "'" === e$2;
|
|
9486
9403
|
}, e$1.prototype.throwError = function(e$2) {
|
|
9487
|
-
for (var t$1 = /\r\n|\r|\n/g, r$1 = null, n$1 = 0, i$2 = 0, o
|
|
9488
|
-
o
|
|
9404
|
+
for (var t$1 = /\r\n|\r|\n/g, r$1 = null, n$1 = 0, i$2 = 0, o = this._str.length; null !== (r$1 = t$1.exec(this._str)) && null !== r$1;) if (n$1++, r$1.index < this._index && (i$2 = t$1.lastIndex), r$1.index > this._index) {
|
|
9405
|
+
o = r$1.index;
|
|
9489
9406
|
break;
|
|
9490
9407
|
}
|
|
9491
9408
|
throw this.err = {
|
|
9492
9409
|
line: n$1,
|
|
9493
9410
|
col: this._index - i$2,
|
|
9494
9411
|
index: this._index,
|
|
9495
|
-
str: this._str.substring(i$2, o
|
|
9412
|
+
str: this._str.substring(i$2, o)
|
|
9496
9413
|
}, /* @__PURE__ */ new Error(e$2 + "\nIndex: " + this.err.index + "\nLn: " + this.err.line + ", Col: " + this.err.col + "\nInput: " + this.err.str);
|
|
9497
9414
|
}, e$1.prototype[Symbol.iterator] = function() {
|
|
9498
9415
|
return this._index = 0, { next: function() {
|
|
@@ -9507,15 +9424,12 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9507
9424
|
}.bind(this) };
|
|
9508
9425
|
}, e$1;
|
|
9509
9426
|
}();
|
|
9510
|
-
t.XMLStringLexer = o;
|
|
9511
9427
|
},
|
|
9512
9428
|
function(e, t, r) {
|
|
9513
|
-
|
|
9514
|
-
e.exports = new n({ include: [r(182)] });
|
|
9429
|
+
e.exports = new (r(39))({ include: [r(182)] });
|
|
9515
9430
|
},
|
|
9516
9431
|
function(e, t, r) {
|
|
9517
|
-
|
|
9518
|
-
e.exports = new n({
|
|
9432
|
+
e.exports = new (r(39))({
|
|
9519
9433
|
include: [r(113)],
|
|
9520
9434
|
implicit: [
|
|
9521
9435
|
r(290),
|
|
@@ -9606,7 +9520,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9606
9520
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
9607
9521
|
};
|
|
9608
9522
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
9609
|
-
var o = r(91), a = r(2), s = r(217), u = r(1), l = r(3), c = r(0), h = r(109), p$3 = r(7), f = r(277)
|
|
9523
|
+
var o = r(91), a = r(2), s = r(217), u = r(1), l = r(3), c = r(0), h = r(109), p$3 = r(7), f = r(277);
|
|
9524
|
+
t.XMLBuilderImpl = function() {
|
|
9610
9525
|
function e$1(e$2) {
|
|
9611
9526
|
this._domNode = e$2;
|
|
9612
9527
|
}
|
|
@@ -9625,7 +9540,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9625
9540
|
}), e$1.prototype.set = function(e$2) {
|
|
9626
9541
|
return this._options = a.applyDefaults(a.applyDefaults(this._options, e$2, !0), o.DefaultBuilderOptions), this;
|
|
9627
9542
|
}, e$1.prototype.ele = function(t$1, r$1, i$2) {
|
|
9628
|
-
var o$1, s$1, u$1, l$1, p$1$1, d
|
|
9543
|
+
var o$1, s$1, u$1, l$1, p$1$1, d;
|
|
9629
9544
|
if (a.isObject(t$1)) return new f.ObjectReader(this._options).parse(this, t$1);
|
|
9630
9545
|
if (null !== t$1 && /^\s*</.test(t$1)) return new f.XMLReader(this._options).parse(this, t$1);
|
|
9631
9546
|
if (null !== t$1 && /^\s*[\{\[]/.test(t$1)) return new f.JSONReader(this._options).parse(this, t$1);
|
|
@@ -9634,16 +9549,16 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9634
9549
|
t$1,
|
|
9635
9550
|
r$1,
|
|
9636
9551
|
i$2
|
|
9637
|
-
], 3))[0], p$1$1 = o$1[1], d
|
|
9552
|
+
], 3))[0], p$1$1 = o$1[1], d = o$1[2];
|
|
9638
9553
|
else {
|
|
9639
9554
|
if (null === t$1) throw new Error("Element name cannot be null. " + this._debugInfo());
|
|
9640
9555
|
l$1 = (s$1 = n([
|
|
9641
9556
|
void 0,
|
|
9642
9557
|
t$1,
|
|
9643
9558
|
a.isObject(r$1) ? r$1 : void 0
|
|
9644
|
-
], 3))[0], p$1$1 = s$1[1], d
|
|
9559
|
+
], 3))[0], p$1$1 = s$1[1], d = s$1[2];
|
|
9645
9560
|
}
|
|
9646
|
-
if (d
|
|
9561
|
+
if (d && (d = a.getValue(d)), l$1 = (u$1 = n(this._extractNamespace(h.sanitizeInput(l$1, this._options.invalidCharReplacement), h.sanitizeInput(p$1$1, this._options.invalidCharReplacement), !0), 2))[0], p$1$1 = u$1[1], void 0 === l$1) {
|
|
9647
9562
|
var m = n(c.namespace_extractQName(p$1$1), 1)[0];
|
|
9648
9563
|
l$1 = this.node.lookupNamespaceURI(m);
|
|
9649
9564
|
}
|
|
@@ -9654,12 +9569,12 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9654
9569
|
var g = this._doc.implementation.createDocumentType(this._doc.documentElement.tagName, _.publicId, _.systemId);
|
|
9655
9570
|
this._doc.replaceChild(g, _);
|
|
9656
9571
|
}
|
|
9657
|
-
return d
|
|
9572
|
+
return d && !a.isEmpty(d) && v.att(d), v;
|
|
9658
9573
|
}, e$1.prototype.remove = function() {
|
|
9659
9574
|
var e$2 = this.up();
|
|
9660
9575
|
return e$2.node.removeChild(this.node), e$2;
|
|
9661
9576
|
}, e$1.prototype.att = function(e$2, t$1, r$1) {
|
|
9662
|
-
var i$2, o$1, s$1, u$1, f$1, d
|
|
9577
|
+
var i$2, o$1, s$1, u$1, f$1, d, m = this;
|
|
9663
9578
|
if (a.isMap(e$2) || a.isObject(e$2)) return a.forEachObject(e$2, (function(e$3, t$2) {
|
|
9664
9579
|
return m.att(e$3, t$2);
|
|
9665
9580
|
}), this), this;
|
|
@@ -9669,19 +9584,19 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9669
9584
|
void 0,
|
|
9670
9585
|
e$2,
|
|
9671
9586
|
t$1
|
|
9672
|
-
], 3))[0], f$1 = o$1[1], d
|
|
9587
|
+
], 3))[0], f$1 = o$1[1], d = o$1[2];
|
|
9673
9588
|
} else u$1 = (i$2 = n([
|
|
9674
9589
|
e$2,
|
|
9675
9590
|
t$1,
|
|
9676
9591
|
r$1
|
|
9677
|
-
], 3))[0], f$1 = i$2[1], d
|
|
9678
|
-
if (this._options.keepNullAttributes && null == d
|
|
9679
|
-
else if (null == d
|
|
9592
|
+
], 3))[0], f$1 = i$2[1], d = i$2[2];
|
|
9593
|
+
if (this._options.keepNullAttributes && null == d) d = "";
|
|
9594
|
+
else if (null == d) return this;
|
|
9680
9595
|
if (!l.Guard.isElementNode(this.node)) throw new Error("An attribute can only be assigned to an element node.");
|
|
9681
9596
|
var y = this.node;
|
|
9682
|
-
u$1 = (s$1 = n(this._extractNamespace(u$1, f$1, !1), 2))[0], f$1 = s$1[1], f$1 = h.sanitizeInput(f$1, this._options.invalidCharReplacement), u$1 = h.sanitizeInput(u$1, this._options.invalidCharReplacement), d
|
|
9597
|
+
u$1 = (s$1 = n(this._extractNamespace(u$1, f$1, !1), 2))[0], f$1 = s$1[1], f$1 = h.sanitizeInput(f$1, this._options.invalidCharReplacement), u$1 = h.sanitizeInput(u$1, this._options.invalidCharReplacement), d = h.sanitizeInput(d, this._options.invalidCharReplacement);
|
|
9683
9598
|
var v = n(c.namespace_extractQName(f$1), 2), _ = v[0], g = v[1], b = n(c.namespace_extractQName(y.prefix ? y.prefix + ":" + y.localName : y.localName), 1)[0], x = null;
|
|
9684
|
-
return "xmlns" === _ ? (u$1 = p$3.namespace.XMLNS, null === y.namespaceURI && b === g && (x = d
|
|
9599
|
+
return "xmlns" === _ ? (u$1 = p$3.namespace.XMLNS, null === y.namespaceURI && b === g && (x = d)) : null === _ && "xmlns" === g && null === b && (u$1 = p$3.namespace.XMLNS, x = d), null !== x && (this._updateNamespace(x), y = this.node), void 0 !== u$1 ? y.setAttributeNS(u$1, f$1, d) : y.setAttribute(f$1, d), this;
|
|
9685
9600
|
}, e$1.prototype.removeAtt = function(e$2, t$1) {
|
|
9686
9601
|
var r$1, n$1, i$2 = this;
|
|
9687
9602
|
if (!l.Guard.isElementNode(this.node)) throw new Error("An attribute can only be removed from an element node.");
|
|
@@ -9746,15 +9661,15 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9746
9661
|
if (null === h$1) throw new Error("Imported document has no document element node. " + this._debugInfo());
|
|
9747
9662
|
var p$1$1 = s$1.importNode(h$1, !0);
|
|
9748
9663
|
a$1.appendChild(p$1$1);
|
|
9749
|
-
var f$1 = n(c.namespace_extractQName(p$1$1.prefix ? p$1$1.prefix + ":" + p$1$1.localName : p$1$1.localName), 1)[0], d
|
|
9750
|
-
new e$1(p$1$1)._updateNamespace(d
|
|
9664
|
+
var f$1 = n(c.namespace_extractQName(p$1$1.prefix ? p$1$1.prefix + ":" + p$1$1.localName : p$1$1.localName), 1)[0], d = a$1.lookupNamespaceURI(f$1);
|
|
9665
|
+
new e$1(p$1$1)._updateNamespace(d);
|
|
9751
9666
|
} else if (l.Guard.isDocumentFragmentNode(u$1)) try {
|
|
9752
9667
|
for (var m = i$1(u$1.childNodes), y = m.next(); !y.done; y = m.next()) {
|
|
9753
9668
|
var v = y.value;
|
|
9754
9669
|
p$1$1 = s$1.importNode(v, !0);
|
|
9755
9670
|
if (a$1.appendChild(p$1$1), l.Guard.isElementNode(p$1$1)) {
|
|
9756
|
-
f$1 = n(c.namespace_extractQName(p$1$1.prefix ? p$1$1.prefix + ":" + p$1$1.localName : p$1$1.localName), 1)[0], d
|
|
9757
|
-
new e$1(p$1$1)._updateNamespace(d
|
|
9671
|
+
f$1 = n(c.namespace_extractQName(p$1$1.prefix ? p$1$1.prefix + ":" + p$1$1.localName : p$1$1.localName), 1)[0], d = a$1.lookupNamespaceURI(f$1);
|
|
9672
|
+
new e$1(p$1$1)._updateNamespace(d);
|
|
9758
9673
|
}
|
|
9759
9674
|
}
|
|
9760
9675
|
} catch (e$2) {
|
|
@@ -9769,8 +9684,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9769
9684
|
else {
|
|
9770
9685
|
p$1$1 = s$1.importNode(u$1, !0);
|
|
9771
9686
|
if (a$1.appendChild(p$1$1), l.Guard.isElementNode(p$1$1)) {
|
|
9772
|
-
f$1 = n(c.namespace_extractQName(p$1$1.prefix ? p$1$1.prefix + ":" + p$1$1.localName : p$1$1.localName), 1)[0], d
|
|
9773
|
-
new e$1(p$1$1)._updateNamespace(d
|
|
9687
|
+
f$1 = n(c.namespace_extractQName(p$1$1.prefix ? p$1$1.prefix + ":" + p$1$1.localName : p$1$1.localName), 1)[0], d = a$1.lookupNamespaceURI(f$1);
|
|
9688
|
+
new e$1(p$1$1)._updateNamespace(d);
|
|
9774
9689
|
}
|
|
9775
9690
|
}
|
|
9776
9691
|
return this;
|
|
@@ -9931,11 +9846,11 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9931
9846
|
}, e$1.prototype._updateNamespace = function(t$1) {
|
|
9932
9847
|
var r$1, o$1, a$1, s$1, u$1 = this._domNode;
|
|
9933
9848
|
if (l.Guard.isElementNode(u$1) && null !== t$1 && u$1.namespaceURI !== t$1) {
|
|
9934
|
-
var h$1 = n(c.namespace_extractQName(u$1.prefix ? u$1.prefix + ":" + u$1.localName : u$1.localName), 2), p$1$1 = h$1[0], f$1 = h$1[1], d
|
|
9849
|
+
var h$1 = n(c.namespace_extractQName(u$1.prefix ? u$1.prefix + ":" + u$1.localName : u$1.localName), 2), p$1$1 = h$1[0], f$1 = h$1[1], d = c.create_element(this._doc, f$1, t$1, p$1$1);
|
|
9935
9850
|
try {
|
|
9936
9851
|
for (var m = i$1(u$1.attributes), y = m.next(); !y.done; y = m.next()) {
|
|
9937
9852
|
var v = y.value, _ = v.prefix ? v.prefix + ":" + v.localName : v.localName, g = n(c.namespace_extractQName(_), 1)[0], b = v.namespaceURI;
|
|
9938
|
-
null === b && null !== g && (b = u$1.lookupNamespaceURI(g)), null === b ? d
|
|
9853
|
+
null === b && null !== g && (b = u$1.lookupNamespaceURI(g)), null === b ? d.setAttribute(_, v.value) : d.setAttributeNS(b, _, v.value);
|
|
9939
9854
|
}
|
|
9940
9855
|
} catch (e$2) {
|
|
9941
9856
|
r$1 = { error: e$2 };
|
|
@@ -9948,12 +9863,12 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9948
9863
|
}
|
|
9949
9864
|
var x = u$1.parentNode;
|
|
9950
9865
|
if (null === x) throw new Error("Parent node is null." + this._debugInfo());
|
|
9951
|
-
x.replaceChild(d
|
|
9866
|
+
x.replaceChild(d, u$1), this._domNode = d;
|
|
9952
9867
|
try {
|
|
9953
9868
|
for (var w = i$1(u$1.childNodes), E = w.next(); !E.done; E = w.next()) {
|
|
9954
9869
|
var D = E.value.cloneNode(!0);
|
|
9955
|
-
if (d
|
|
9956
|
-
var S = n(c.namespace_extractQName(D.prefix ? D.prefix + ":" + D.localName : D.localName), 1)[0], C = d
|
|
9870
|
+
if (d.appendChild(D), l.Guard.isElementNode(D)) {
|
|
9871
|
+
var S = n(c.namespace_extractQName(D.prefix ? D.prefix + ":" + D.localName : D.localName), 1)[0], C = d.lookupNamespaceURI(S);
|
|
9957
9872
|
new e$1(D)._updateNamespace(C);
|
|
9958
9873
|
}
|
|
9959
9874
|
}
|
|
@@ -9995,7 +9910,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
9995
9910
|
configurable: !0
|
|
9996
9911
|
}), e$1;
|
|
9997
9912
|
}();
|
|
9998
|
-
t.XMLBuilderImpl = d;
|
|
9999
9913
|
},
|
|
10000
9914
|
function(e, t, r) {
|
|
10001
9915
|
var n = r(11), i$1 = r(117), o = n.WeakMap;
|
|
@@ -10017,8 +9931,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10017
9931
|
};
|
|
10018
9932
|
},
|
|
10019
9933
|
function(e, t, r) {
|
|
10020
|
-
|
|
10021
|
-
e.exports = n("document", "documentElement");
|
|
9934
|
+
e.exports = r(46)("document", "documentElement");
|
|
10022
9935
|
},
|
|
10023
9936
|
function(e, t, r) {
|
|
10024
9937
|
var n = r(24), i$1 = r(82).f, o = {}.toString, a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
@@ -10053,8 +9966,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10053
9966
|
} });
|
|
10054
9967
|
},
|
|
10055
9968
|
function(e, t, r) {
|
|
10056
|
-
|
|
10057
|
-
e.exports = n("navigator", "userAgent") || "";
|
|
9969
|
+
e.exports = r(46)("navigator", "userAgent") || "";
|
|
10058
9970
|
},
|
|
10059
9971
|
function(e, t, r) {
|
|
10060
9972
|
var n = r(4), i$1 = r(36).find, o = r(130), a = r(28), s = !0, u = a("find");
|
|
@@ -10078,8 +9990,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10078
9990
|
};
|
|
10079
9991
|
},
|
|
10080
9992
|
function(e, t, r) {
|
|
10081
|
-
|
|
10082
|
-
e.exports = !n((function() {
|
|
9993
|
+
e.exports = !r(8)((function() {
|
|
10083
9994
|
function e$1() {}
|
|
10084
9995
|
return e$1.prototype.constructor = null, Object.getPrototypeOf(new e$1()) !== e$1.prototype;
|
|
10085
9996
|
}));
|
|
@@ -10184,8 +10095,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10184
10095
|
};
|
|
10185
10096
|
},
|
|
10186
10097
|
function(e, t, r) {
|
|
10187
|
-
|
|
10188
|
-
e.exports = !n((function() {
|
|
10098
|
+
e.exports = !r(8)((function() {
|
|
10189
10099
|
return Object.isExtensible(Object.preventExtensions({}));
|
|
10190
10100
|
}));
|
|
10191
10101
|
},
|
|
@@ -10271,7 +10181,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10271
10181
|
},
|
|
10272
10182
|
function(e, t, r) {
|
|
10273
10183
|
var n = this && this.__generator || function(e$1, t$1) {
|
|
10274
|
-
var r$1, n$1, i$2, o
|
|
10184
|
+
var r$1, n$1, i$2, o, a = {
|
|
10275
10185
|
label: 0,
|
|
10276
10186
|
sent: function() {
|
|
10277
10187
|
if (1 & i$2[0]) throw i$2[1];
|
|
@@ -10280,66 +10190,66 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10280
10190
|
trys: [],
|
|
10281
10191
|
ops: []
|
|
10282
10192
|
};
|
|
10283
|
-
return o
|
|
10193
|
+
return o = {
|
|
10284
10194
|
next: s(0),
|
|
10285
10195
|
throw: s(1),
|
|
10286
10196
|
return: s(2)
|
|
10287
|
-
}, "function" == typeof Symbol && (o
|
|
10197
|
+
}, "function" == typeof Symbol && (o[Symbol.iterator] = function() {
|
|
10288
10198
|
return this;
|
|
10289
|
-
}), o
|
|
10290
|
-
function s(o$
|
|
10199
|
+
}), o;
|
|
10200
|
+
function s(o$1) {
|
|
10291
10201
|
return function(s$1) {
|
|
10292
|
-
return function(o$
|
|
10202
|
+
return function(o$2) {
|
|
10293
10203
|
if (r$1) throw new TypeError("Generator is already executing.");
|
|
10294
10204
|
for (; a;) try {
|
|
10295
|
-
if (r$1 = 1, n$1 && (i$2 = 2 & o$
|
|
10296
|
-
switch (n$1 = 0, i$2 && (o$
|
|
10205
|
+
if (r$1 = 1, n$1 && (i$2 = 2 & o$2[0] ? n$1.return : o$2[0] ? n$1.throw || ((i$2 = n$1.return) && i$2.call(n$1), 0) : n$1.next) && !(i$2 = i$2.call(n$1, o$2[1])).done) return i$2;
|
|
10206
|
+
switch (n$1 = 0, i$2 && (o$2 = [2 & o$2[0], i$2.value]), o$2[0]) {
|
|
10297
10207
|
case 0:
|
|
10298
10208
|
case 1:
|
|
10299
|
-
i$2 = o$
|
|
10209
|
+
i$2 = o$2;
|
|
10300
10210
|
break;
|
|
10301
10211
|
case 4: return a.label++, {
|
|
10302
|
-
value: o$
|
|
10212
|
+
value: o$2[1],
|
|
10303
10213
|
done: !1
|
|
10304
10214
|
};
|
|
10305
10215
|
case 5:
|
|
10306
|
-
a.label++, n$1 = o$
|
|
10216
|
+
a.label++, n$1 = o$2[1], o$2 = [0];
|
|
10307
10217
|
continue;
|
|
10308
10218
|
case 7:
|
|
10309
|
-
o$
|
|
10219
|
+
o$2 = a.ops.pop(), a.trys.pop();
|
|
10310
10220
|
continue;
|
|
10311
10221
|
default:
|
|
10312
|
-
if (!(i$2 = a.trys, (i$2 = i$2.length > 0 && i$2[i$2.length - 1]) || 6 !== o$
|
|
10222
|
+
if (!(i$2 = a.trys, (i$2 = i$2.length > 0 && i$2[i$2.length - 1]) || 6 !== o$2[0] && 2 !== o$2[0])) {
|
|
10313
10223
|
a = 0;
|
|
10314
10224
|
continue;
|
|
10315
10225
|
}
|
|
10316
|
-
if (3 === o$
|
|
10317
|
-
a.label = o$
|
|
10226
|
+
if (3 === o$2[0] && (!i$2 || o$2[1] > i$2[0] && o$2[1] < i$2[3])) {
|
|
10227
|
+
a.label = o$2[1];
|
|
10318
10228
|
break;
|
|
10319
10229
|
}
|
|
10320
|
-
if (6 === o$
|
|
10321
|
-
a.label = i$2[1], i$2 = o$
|
|
10230
|
+
if (6 === o$2[0] && a.label < i$2[1]) {
|
|
10231
|
+
a.label = i$2[1], i$2 = o$2;
|
|
10322
10232
|
break;
|
|
10323
10233
|
}
|
|
10324
10234
|
if (i$2 && a.label < i$2[2]) {
|
|
10325
|
-
a.label = i$2[2], a.ops.push(o$
|
|
10235
|
+
a.label = i$2[2], a.ops.push(o$2);
|
|
10326
10236
|
break;
|
|
10327
10237
|
}
|
|
10328
10238
|
i$2[2] && a.ops.pop(), a.trys.pop();
|
|
10329
10239
|
continue;
|
|
10330
10240
|
}
|
|
10331
|
-
o$
|
|
10241
|
+
o$2 = t$1.call(e$1, a);
|
|
10332
10242
|
} catch (e$2) {
|
|
10333
|
-
o$
|
|
10243
|
+
o$2 = [6, e$2], n$1 = 0;
|
|
10334
10244
|
} finally {
|
|
10335
10245
|
r$1 = i$2 = 0;
|
|
10336
10246
|
}
|
|
10337
|
-
if (5 & o$
|
|
10247
|
+
if (5 & o$2[0]) throw o$2[1];
|
|
10338
10248
|
return {
|
|
10339
|
-
value: o$
|
|
10249
|
+
value: o$2[0] ? o$2[1] : void 0,
|
|
10340
10250
|
done: !0
|
|
10341
10251
|
};
|
|
10342
|
-
}([o$
|
|
10252
|
+
}([o$1, s$1]);
|
|
10343
10253
|
};
|
|
10344
10254
|
}
|
|
10345
10255
|
}, i$1 = this && this.__values || function(e$1) {
|
|
@@ -10354,7 +10264,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10354
10264
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
10355
10265
|
};
|
|
10356
10266
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
10357
|
-
|
|
10267
|
+
t.FixedSizeSet = function() {
|
|
10358
10268
|
function e$1(e$2) {
|
|
10359
10269
|
void 0 === e$2 && (e$2 = 1e3), this._items = /* @__PURE__ */ new Set(), this._limit = e$2;
|
|
10360
10270
|
}
|
|
@@ -10417,11 +10327,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10417
10327
|
configurable: !0
|
|
10418
10328
|
}), e$1;
|
|
10419
10329
|
}();
|
|
10420
|
-
t.FixedSizeSet = o;
|
|
10421
10330
|
},
|
|
10422
10331
|
function(e, t, r) {
|
|
10423
10332
|
var n = this && this.__generator || function(e$1, t$1) {
|
|
10424
|
-
var r$1, n$1, i$2, o
|
|
10333
|
+
var r$1, n$1, i$2, o, a = {
|
|
10425
10334
|
label: 0,
|
|
10426
10335
|
sent: function() {
|
|
10427
10336
|
if (1 & i$2[0]) throw i$2[1];
|
|
@@ -10430,66 +10339,66 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10430
10339
|
trys: [],
|
|
10431
10340
|
ops: []
|
|
10432
10341
|
};
|
|
10433
|
-
return o
|
|
10342
|
+
return o = {
|
|
10434
10343
|
next: s(0),
|
|
10435
10344
|
throw: s(1),
|
|
10436
10345
|
return: s(2)
|
|
10437
|
-
}, "function" == typeof Symbol && (o
|
|
10346
|
+
}, "function" == typeof Symbol && (o[Symbol.iterator] = function() {
|
|
10438
10347
|
return this;
|
|
10439
|
-
}), o
|
|
10440
|
-
function s(o$
|
|
10348
|
+
}), o;
|
|
10349
|
+
function s(o$1) {
|
|
10441
10350
|
return function(s$1) {
|
|
10442
|
-
return function(o$
|
|
10351
|
+
return function(o$2) {
|
|
10443
10352
|
if (r$1) throw new TypeError("Generator is already executing.");
|
|
10444
10353
|
for (; a;) try {
|
|
10445
|
-
if (r$1 = 1, n$1 && (i$2 = 2 & o$
|
|
10446
|
-
switch (n$1 = 0, i$2 && (o$
|
|
10354
|
+
if (r$1 = 1, n$1 && (i$2 = 2 & o$2[0] ? n$1.return : o$2[0] ? n$1.throw || ((i$2 = n$1.return) && i$2.call(n$1), 0) : n$1.next) && !(i$2 = i$2.call(n$1, o$2[1])).done) return i$2;
|
|
10355
|
+
switch (n$1 = 0, i$2 && (o$2 = [2 & o$2[0], i$2.value]), o$2[0]) {
|
|
10447
10356
|
case 0:
|
|
10448
10357
|
case 1:
|
|
10449
|
-
i$2 = o$
|
|
10358
|
+
i$2 = o$2;
|
|
10450
10359
|
break;
|
|
10451
10360
|
case 4: return a.label++, {
|
|
10452
|
-
value: o$
|
|
10361
|
+
value: o$2[1],
|
|
10453
10362
|
done: !1
|
|
10454
10363
|
};
|
|
10455
10364
|
case 5:
|
|
10456
|
-
a.label++, n$1 = o$
|
|
10365
|
+
a.label++, n$1 = o$2[1], o$2 = [0];
|
|
10457
10366
|
continue;
|
|
10458
10367
|
case 7:
|
|
10459
|
-
o$
|
|
10368
|
+
o$2 = a.ops.pop(), a.trys.pop();
|
|
10460
10369
|
continue;
|
|
10461
10370
|
default:
|
|
10462
|
-
if (!(i$2 = a.trys, (i$2 = i$2.length > 0 && i$2[i$2.length - 1]) || 6 !== o$
|
|
10371
|
+
if (!(i$2 = a.trys, (i$2 = i$2.length > 0 && i$2[i$2.length - 1]) || 6 !== o$2[0] && 2 !== o$2[0])) {
|
|
10463
10372
|
a = 0;
|
|
10464
10373
|
continue;
|
|
10465
10374
|
}
|
|
10466
|
-
if (3 === o$
|
|
10467
|
-
a.label = o$
|
|
10375
|
+
if (3 === o$2[0] && (!i$2 || o$2[1] > i$2[0] && o$2[1] < i$2[3])) {
|
|
10376
|
+
a.label = o$2[1];
|
|
10468
10377
|
break;
|
|
10469
10378
|
}
|
|
10470
|
-
if (6 === o$
|
|
10471
|
-
a.label = i$2[1], i$2 = o$
|
|
10379
|
+
if (6 === o$2[0] && a.label < i$2[1]) {
|
|
10380
|
+
a.label = i$2[1], i$2 = o$2;
|
|
10472
10381
|
break;
|
|
10473
10382
|
}
|
|
10474
10383
|
if (i$2 && a.label < i$2[2]) {
|
|
10475
|
-
a.label = i$2[2], a.ops.push(o$
|
|
10384
|
+
a.label = i$2[2], a.ops.push(o$2);
|
|
10476
10385
|
break;
|
|
10477
10386
|
}
|
|
10478
10387
|
i$2[2] && a.ops.pop(), a.trys.pop();
|
|
10479
10388
|
continue;
|
|
10480
10389
|
}
|
|
10481
|
-
o$
|
|
10390
|
+
o$2 = t$1.call(e$1, a);
|
|
10482
10391
|
} catch (e$2) {
|
|
10483
|
-
o$
|
|
10392
|
+
o$2 = [6, e$2], n$1 = 0;
|
|
10484
10393
|
} finally {
|
|
10485
10394
|
r$1 = i$2 = 0;
|
|
10486
10395
|
}
|
|
10487
|
-
if (5 & o$
|
|
10396
|
+
if (5 & o$2[0]) throw o$2[1];
|
|
10488
10397
|
return {
|
|
10489
|
-
value: o$
|
|
10398
|
+
value: o$2[0] ? o$2[1] : void 0,
|
|
10490
10399
|
done: !0
|
|
10491
10400
|
};
|
|
10492
|
-
}([o$
|
|
10401
|
+
}([o$1, s$1]);
|
|
10493
10402
|
};
|
|
10494
10403
|
}
|
|
10495
10404
|
}, i$1 = this && this.__values || function(e$1) {
|
|
@@ -10504,7 +10413,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10504
10413
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
10505
10414
|
};
|
|
10506
10415
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
10507
|
-
|
|
10416
|
+
t.ObjectCache = function() {
|
|
10508
10417
|
function e$1(e$2) {
|
|
10509
10418
|
void 0 === e$2 && (e$2 = 1e3), this._items = /* @__PURE__ */ new Map(), this._limit = e$2;
|
|
10510
10419
|
}
|
|
@@ -10567,11 +10476,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10567
10476
|
configurable: !0
|
|
10568
10477
|
}), e$1;
|
|
10569
10478
|
}();
|
|
10570
|
-
t.ObjectCache = o;
|
|
10571
10479
|
},
|
|
10572
10480
|
function(e, t, r) {
|
|
10573
10481
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
10574
|
-
|
|
10482
|
+
t.CompareCache = function() {
|
|
10575
10483
|
function e$1(e$2) {
|
|
10576
10484
|
void 0 === e$2 && (e$2 = 1e3), this._items = /* @__PURE__ */ new Map(), this._limit = e$2;
|
|
10577
10485
|
}
|
|
@@ -10580,17 +10488,16 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10580
10488
|
if (this._items.get(t$1) === e$2) return !1;
|
|
10581
10489
|
var r$1 = Math.random() < .5;
|
|
10582
10490
|
if (r$1 ? this._items.set(e$2, t$1) : this._items.set(t$1, e$2), this._items.size > this._limit) {
|
|
10583
|
-
var n
|
|
10584
|
-
n
|
|
10491
|
+
var n = this._items.keys().next();
|
|
10492
|
+
n.done || this._items.delete(n.value);
|
|
10585
10493
|
}
|
|
10586
10494
|
return r$1;
|
|
10587
10495
|
}, e$1;
|
|
10588
10496
|
}();
|
|
10589
|
-
t.CompareCache = n;
|
|
10590
10497
|
},
|
|
10591
10498
|
function(e, t, r) {
|
|
10592
10499
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
10593
|
-
|
|
10500
|
+
t.Lazy = function() {
|
|
10594
10501
|
function e$1(e$2) {
|
|
10595
10502
|
this._initialized = !1, this._value = void 0, this._initFunc = e$2;
|
|
10596
10503
|
}
|
|
@@ -10602,11 +10509,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10602
10509
|
configurable: !0
|
|
10603
10510
|
}), e$1;
|
|
10604
10511
|
}();
|
|
10605
|
-
t.Lazy = n;
|
|
10606
10512
|
},
|
|
10607
10513
|
function(e, t, r) {
|
|
10608
10514
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
10609
|
-
|
|
10515
|
+
t.StringWalker = function() {
|
|
10610
10516
|
function e$1(e$2) {
|
|
10611
10517
|
this._pointer = 0, this._chars = Array.from(e$2), this._length = this._chars.length;
|
|
10612
10518
|
}
|
|
@@ -10646,20 +10552,14 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10646
10552
|
configurable: !0
|
|
10647
10553
|
}), e$1;
|
|
10648
10554
|
}();
|
|
10649
|
-
t.StringWalker = n;
|
|
10650
10555
|
},
|
|
10651
10556
|
function(e, t, r) {
|
|
10652
10557
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
10653
|
-
|
|
10654
|
-
t.
|
|
10655
|
-
|
|
10656
|
-
t.
|
|
10657
|
-
|
|
10658
|
-
t.ObjectWriter = o.ObjectWriter;
|
|
10659
|
-
var a = r(261);
|
|
10660
|
-
t.JSONWriter = a.JSONWriter;
|
|
10661
|
-
var s = r(262);
|
|
10662
|
-
t.YAMLWriter = s.YAMLWriter;
|
|
10558
|
+
t.MapWriter = r(218).MapWriter;
|
|
10559
|
+
t.XMLWriter = r(259).XMLWriter;
|
|
10560
|
+
t.ObjectWriter = r(67).ObjectWriter;
|
|
10561
|
+
t.JSONWriter = r(261).JSONWriter;
|
|
10562
|
+
t.YAMLWriter = r(262).YAMLWriter;
|
|
10663
10563
|
},
|
|
10664
10564
|
function(e, t, r) {
|
|
10665
10565
|
r(19), r(219), r(20), r(22), r(23);
|
|
@@ -10676,7 +10576,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10676
10576
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
10677
10577
|
});
|
|
10678
10578
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
10679
|
-
var o = r(2), a = r(67)
|
|
10579
|
+
var o = r(2), a = r(67);
|
|
10580
|
+
t.MapWriter = function(e$1) {
|
|
10680
10581
|
function t$1(t$2, r$1) {
|
|
10681
10582
|
var n$1 = e$1.call(this, t$2) || this;
|
|
10682
10583
|
return n$1._writerOptions = o.applyDefaults(r$1, {
|
|
@@ -10706,7 +10607,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
10706
10607
|
return e$2;
|
|
10707
10608
|
}, t$1;
|
|
10708
10609
|
}(r(50).BaseWriter);
|
|
10709
|
-
t.MapWriter = s;
|
|
10710
10610
|
},
|
|
10711
10611
|
function(e, t, r) {
|
|
10712
10612
|
var n = r(139), i$1 = r(143);
|
|
@@ -11937,18 +11837,18 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
11937
11837
|
},
|
|
11938
11838
|
function(e, t, r) {
|
|
11939
11839
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
11940
|
-
var n = r(150)
|
|
11840
|
+
var n = r(150);
|
|
11841
|
+
t.Cast = function() {
|
|
11941
11842
|
function e$1() {}
|
|
11942
11843
|
return e$1.asNode = function(e$2) {
|
|
11943
11844
|
if (n.Guard.isNode(e$2)) return e$2;
|
|
11944
11845
|
throw new Error("Invalid object. Node expected.");
|
|
11945
11846
|
}, e$1;
|
|
11946
11847
|
}();
|
|
11947
|
-
t.Cast = i$1;
|
|
11948
11848
|
},
|
|
11949
11849
|
function(e, t, r) {
|
|
11950
11850
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
11951
|
-
|
|
11851
|
+
t.EmptySet = function() {
|
|
11952
11852
|
function e$1() {}
|
|
11953
11853
|
return Object.defineProperty(e$1.prototype, "size", {
|
|
11954
11854
|
get: function() {
|
|
@@ -11978,7 +11878,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
11978
11878
|
configurable: !0
|
|
11979
11879
|
}), e$1;
|
|
11980
11880
|
}();
|
|
11981
|
-
t.EmptySet = n;
|
|
11982
11881
|
var i$1 = function() {
|
|
11983
11882
|
function e$1() {}
|
|
11984
11883
|
return e$1.prototype[Symbol.iterator] = function() {
|
|
@@ -12102,8 +12001,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
12102
12001
|
}
|
|
12103
12002
|
}
|
|
12104
12003
|
this.hostname.length > 255 ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), T || (this.hostname = n.toASCII(this.hostname));
|
|
12105
|
-
var R = this.port ? ":" + this.port : ""
|
|
12106
|
-
this.host =
|
|
12004
|
+
var R = this.port ? ":" + this.port : "";
|
|
12005
|
+
this.host = (this.hostname || "") + R, this.href += this.host, T && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), "/" !== g$1[0] && (g$1 = "/" + g$1));
|
|
12107
12006
|
}
|
|
12108
12007
|
if (!m[w]) for (A = 0, F = c.length; A < F; A++) {
|
|
12109
12008
|
var U = c[A];
|
|
@@ -12449,10 +12348,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
12449
12348
|
t.parentNode_convertNodesIntoANode = function(e$1, t$1) {
|
|
12450
12349
|
for (var r$1, a, s = null, u = 0; u < e$1.length; u++) {
|
|
12451
12350
|
var l = e$1[u];
|
|
12452
|
-
if (i$1.isString(l))
|
|
12453
|
-
var c = o.create_text(t$1, l);
|
|
12454
|
-
e$1[u] = c;
|
|
12455
|
-
}
|
|
12351
|
+
if (i$1.isString(l)) e$1[u] = o.create_text(t$1, l);
|
|
12456
12352
|
}
|
|
12457
12353
|
if (1 === e$1.length) s = e$1[0];
|
|
12458
12354
|
else {
|
|
@@ -12831,7 +12727,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
12831
12727
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
12832
12728
|
});
|
|
12833
12729
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
12834
|
-
var o = r(2), a = r(1), s = r(50), u = r(3)
|
|
12730
|
+
var o = r(2), a = r(1), s = r(50), u = r(3);
|
|
12731
|
+
t.XMLWriter = function(e$1) {
|
|
12835
12732
|
function t$1(t$2, r$1) {
|
|
12836
12733
|
var n$1 = e$1.call(this, t$2) || this;
|
|
12837
12734
|
return n$1._indentation = {}, n$1._lengthToLastNewline = 0, n$1._writerOptions = o.applyDefaults(r$1, {
|
|
@@ -12899,7 +12796,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
12899
12796
|
return this._indentation[e$2] = t$2, t$2;
|
|
12900
12797
|
}, t$1;
|
|
12901
12798
|
}(s.BaseWriter);
|
|
12902
|
-
t.XMLWriter = l;
|
|
12903
12799
|
},
|
|
12904
12800
|
function(e, t, r) {
|
|
12905
12801
|
var n = r(47), i$1 = r(35);
|
|
@@ -12935,7 +12831,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
12935
12831
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
12936
12832
|
};
|
|
12937
12833
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
12938
|
-
var a = r(67), s = r(2)
|
|
12834
|
+
var a = r(67), s = r(2);
|
|
12835
|
+
t.JSONWriter = function(e$1) {
|
|
12939
12836
|
function t$1(t$2, r$1) {
|
|
12940
12837
|
var n$1 = e$1.call(this, t$2) || this;
|
|
12941
12838
|
return n$1._writerOptions = s.applyDefaults(r$1, {
|
|
@@ -12957,14 +12854,14 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
12957
12854
|
}, t$1.prototype._convertObject = function(e$2, t$2, r$1) {
|
|
12958
12855
|
var n$1, i$2, a$1 = this;
|
|
12959
12856
|
void 0 === r$1 && (r$1 = 0);
|
|
12960
|
-
var u
|
|
12857
|
+
var u = "", l = this._isLeafNode(e$2);
|
|
12961
12858
|
if (s.isArray(e$2)) {
|
|
12962
|
-
u
|
|
12859
|
+
u += "[";
|
|
12963
12860
|
var c = e$2.length, h = 0;
|
|
12964
12861
|
try {
|
|
12965
12862
|
for (var p$3 = o(e$2), f = p$3.next(); !f.done; f = p$3.next()) {
|
|
12966
12863
|
var d = f.value;
|
|
12967
|
-
u
|
|
12864
|
+
u += this._endLine(t$2, r$1 + 1) + this._beginLine(t$2, r$1 + 1) + this._convertObject(d, t$2, r$1 + 1), h < c - 1 && (u += ","), h++;
|
|
12968
12865
|
}
|
|
12969
12866
|
} catch (e$3) {
|
|
12970
12867
|
n$1 = { error: e$3 };
|
|
@@ -12975,15 +12872,15 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
12975
12872
|
if (n$1) throw n$1.error;
|
|
12976
12873
|
}
|
|
12977
12874
|
}
|
|
12978
|
-
u
|
|
12875
|
+
u += this._endLine(t$2, r$1) + this._beginLine(t$2, r$1), u += "]";
|
|
12979
12876
|
} else if (s.isObject(e$2)) {
|
|
12980
|
-
u
|
|
12877
|
+
u += "{";
|
|
12981
12878
|
var m = s.objectLength(e$2), y = 0;
|
|
12982
12879
|
s.forEachObject(e$2, (function(e$3, n$2) {
|
|
12983
|
-
l && t$2.prettyPrint ? u
|
|
12984
|
-
}), this), l && t$2.prettyPrint ? u
|
|
12985
|
-
} else u
|
|
12986
|
-
return u
|
|
12880
|
+
l && t$2.prettyPrint ? u += " " : u += a$1._endLine(t$2, r$1 + 1) + a$1._beginLine(t$2, r$1 + 1), u += a$1._key(e$3), t$2.prettyPrint && (u += " "), u += a$1._convertObject(n$2, t$2, r$1 + 1), y < m - 1 && (u += ","), y++;
|
|
12881
|
+
}), this), l && t$2.prettyPrint ? u += " " : u += this._endLine(t$2, r$1) + this._beginLine(t$2, r$1), u += "}";
|
|
12882
|
+
} else u += this._val(e$2);
|
|
12883
|
+
return u;
|
|
12987
12884
|
}, t$1.prototype._beginLine = function(e$2, t$2) {
|
|
12988
12885
|
if (!e$2.prettyPrint) return "";
|
|
12989
12886
|
var r$1 = e$2.offset + t$2 + 1;
|
|
@@ -13005,7 +12902,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13005
12902
|
}), this) : t$2++, t$2;
|
|
13006
12903
|
}, t$1;
|
|
13007
12904
|
}(r(50).BaseWriter);
|
|
13008
|
-
t.JSONWriter = u;
|
|
13009
12905
|
},
|
|
13010
12906
|
function(e, t, r) {
|
|
13011
12907
|
r(31), r(32), r(33), r(19), r(178), r(89), r(20), r(22), r(23);
|
|
@@ -13032,7 +12928,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13032
12928
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
13033
12929
|
};
|
|
13034
12930
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13035
|
-
var a = r(67), s = r(2)
|
|
12931
|
+
var a = r(67), s = r(2);
|
|
12932
|
+
t.YAMLWriter = function(e$1) {
|
|
13036
12933
|
function t$1(t$2, r$1) {
|
|
13037
12934
|
var n$1 = e$1.call(this, t$2) || this;
|
|
13038
12935
|
if (n$1._writerOptions = s.applyDefaults(r$1, {
|
|
@@ -13053,7 +12950,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13053
12950
|
}), r$1 = new a.ObjectWriter(this._builderOptions, t$2).serialize(e$2), n$1 = this._beginLine(this._writerOptions, 0) + "---" + this._endLine(this._writerOptions) + this._convertObject(r$1, this._writerOptions, 0);
|
|
13054
12951
|
return n$1.slice(-this._writerOptions.newline.length) === this._writerOptions.newline && (n$1 = n$1.slice(0, -this._writerOptions.newline.length)), n$1;
|
|
13055
12952
|
}, t$1.prototype._convertObject = function(e$2, t$2, r$1, n$1) {
|
|
13056
|
-
var i$2, a$1, u
|
|
12953
|
+
var i$2, a$1, u = this;
|
|
13057
12954
|
void 0 === n$1 && (n$1 = !1);
|
|
13058
12955
|
var l = "";
|
|
13059
12956
|
if (s.isArray(e$2)) try {
|
|
@@ -13071,7 +12968,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13071
12968
|
}
|
|
13072
12969
|
}
|
|
13073
12970
|
else s.forEachObject(e$2, (function(e$3, i$3) {
|
|
13074
|
-
n$1 ? (l += u
|
|
12971
|
+
n$1 ? (l += u._key(e$3), n$1 = !1) : l += u._beginLine(t$2, r$1) + u._key(e$3), s.isObject(i$3) ? s.isEmpty(i$3) ? l += " \"\"" + u._endLine(t$2) : l += u._endLine(t$2) + u._convertObject(i$3, t$2, r$1 + 1) : l += " " + u._val(i$3) + u._endLine(t$2);
|
|
13075
12972
|
}), this);
|
|
13076
12973
|
return l;
|
|
13077
12974
|
}, t$1.prototype._beginLine = function(e$2, t$2, r$1) {
|
|
@@ -13086,78 +12983,65 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13086
12983
|
return JSON.stringify(e$2);
|
|
13087
12984
|
}, t$1;
|
|
13088
12985
|
}(r(50).BaseWriter);
|
|
13089
|
-
t.YAMLWriter = u;
|
|
13090
12986
|
},
|
|
13091
12987
|
function(e, t, r) {
|
|
13092
12988
|
Object.defineProperty(t, "__esModule", { value: !0 }), r(110).dom.setFeatures(!0);
|
|
13093
|
-
|
|
13094
|
-
t.
|
|
13095
|
-
|
|
13096
|
-
t.DOMParser = i$1.DOMParser;
|
|
13097
|
-
var o = r(275);
|
|
13098
|
-
t.XMLSerializer = o.XMLSerializer;
|
|
12989
|
+
t.DOMImplementation = r(110).DOMImplementation;
|
|
12990
|
+
t.DOMParser = r(272).DOMParser;
|
|
12991
|
+
t.XMLSerializer = r(275).XMLSerializer;
|
|
13099
12992
|
},
|
|
13100
12993
|
function(e, t, r) {
|
|
13101
12994
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13102
|
-
var n = r(3), i$1 = r(0)
|
|
12995
|
+
var n = r(3), i$1 = r(0);
|
|
12996
|
+
t.ChildNodeImpl = function() {
|
|
13103
12997
|
function e$1() {}
|
|
13104
12998
|
return e$1.prototype.before = function() {
|
|
13105
12999
|
for (var e$2 = [], t$1 = 0; t$1 < arguments.length; t$1++) e$2[t$1] = arguments[t$1];
|
|
13106
|
-
var r$1 = n.Cast.asNode(this), o
|
|
13107
|
-
if (null !== o
|
|
13000
|
+
var r$1 = n.Cast.asNode(this), o = r$1._parent;
|
|
13001
|
+
if (null !== o) {
|
|
13108
13002
|
for (var a = r$1._previousSibling, s = !0; s && a;) {
|
|
13109
13003
|
s = !1;
|
|
13110
|
-
for (var u = 0; u < e$2.length; u++) {
|
|
13111
|
-
|
|
13112
|
-
|
|
13113
|
-
a = a._previousSibling, s = !0;
|
|
13114
|
-
break;
|
|
13115
|
-
}
|
|
13004
|
+
for (var u = 0; u < e$2.length; u++) if (e$2[u] === a) {
|
|
13005
|
+
a = a._previousSibling, s = !0;
|
|
13006
|
+
break;
|
|
13116
13007
|
}
|
|
13117
13008
|
}
|
|
13118
13009
|
var c = i$1.parentNode_convertNodesIntoANode(e$2, r$1._nodeDocument);
|
|
13119
|
-
a = null === a ? o
|
|
13010
|
+
a = null === a ? o._firstChild : a._nextSibling, i$1.mutation_preInsert(c, o, a);
|
|
13120
13011
|
}
|
|
13121
13012
|
}, e$1.prototype.after = function() {
|
|
13122
13013
|
for (var e$2 = [], t$1 = 0; t$1 < arguments.length; t$1++) e$2[t$1] = arguments[t$1];
|
|
13123
|
-
var r$1 = n.Cast.asNode(this), o
|
|
13124
|
-
if (o
|
|
13014
|
+
var r$1 = n.Cast.asNode(this), o = r$1._parent;
|
|
13015
|
+
if (o) {
|
|
13125
13016
|
for (var a = r$1._nextSibling, s = !0; s && a;) {
|
|
13126
13017
|
s = !1;
|
|
13127
|
-
for (var u = 0; u < e$2.length; u++) {
|
|
13128
|
-
|
|
13129
|
-
|
|
13130
|
-
a = a._nextSibling, s = !0;
|
|
13131
|
-
break;
|
|
13132
|
-
}
|
|
13018
|
+
for (var u = 0; u < e$2.length; u++) if (e$2[u] === a) {
|
|
13019
|
+
a = a._nextSibling, s = !0;
|
|
13020
|
+
break;
|
|
13133
13021
|
}
|
|
13134
13022
|
}
|
|
13135
13023
|
var c = i$1.parentNode_convertNodesIntoANode(e$2, r$1._nodeDocument);
|
|
13136
|
-
i$1.mutation_preInsert(c, o
|
|
13024
|
+
i$1.mutation_preInsert(c, o, a);
|
|
13137
13025
|
}
|
|
13138
13026
|
}, e$1.prototype.replaceWith = function() {
|
|
13139
13027
|
for (var e$2 = [], t$1 = 0; t$1 < arguments.length; t$1++) e$2[t$1] = arguments[t$1];
|
|
13140
|
-
var r$1 = n.Cast.asNode(this), o
|
|
13141
|
-
if (o
|
|
13028
|
+
var r$1 = n.Cast.asNode(this), o = r$1._parent;
|
|
13029
|
+
if (o) {
|
|
13142
13030
|
for (var a = r$1._nextSibling, s = !0; s && a;) {
|
|
13143
13031
|
s = !1;
|
|
13144
|
-
for (var u = 0; u < e$2.length; u++) {
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
a = a._nextSibling, s = !0;
|
|
13148
|
-
break;
|
|
13149
|
-
}
|
|
13032
|
+
for (var u = 0; u < e$2.length; u++) if (e$2[u] === a) {
|
|
13033
|
+
a = a._nextSibling, s = !0;
|
|
13034
|
+
break;
|
|
13150
13035
|
}
|
|
13151
13036
|
}
|
|
13152
13037
|
var c = i$1.parentNode_convertNodesIntoANode(e$2, r$1._nodeDocument);
|
|
13153
|
-
r$1._parent === o
|
|
13038
|
+
r$1._parent === o ? i$1.mutation_replace(r$1, c, o) : i$1.mutation_preInsert(c, o, a);
|
|
13154
13039
|
}
|
|
13155
13040
|
}, e$1.prototype.remove = function() {
|
|
13156
13041
|
var e$2 = n.Cast.asNode(this), t$1 = e$2._parent;
|
|
13157
13042
|
t$1 && i$1.mutation_remove(e$2, t$1);
|
|
13158
13043
|
}, e$1;
|
|
13159
13044
|
}();
|
|
13160
|
-
t.ChildNodeImpl = o;
|
|
13161
13045
|
},
|
|
13162
13046
|
function(e, t, r) {
|
|
13163
13047
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
@@ -13177,7 +13061,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13177
13061
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
13178
13062
|
};
|
|
13179
13063
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13180
|
-
var i$1 = r(6), o = r(3), a = r(7)
|
|
13064
|
+
var i$1 = r(6), o = r(3), a = r(7);
|
|
13065
|
+
t.MutationObserverImpl = function() {
|
|
13181
13066
|
function e$1(e$2) {
|
|
13182
13067
|
this._nodeList = [], this._recordQueue = [], this._callback = e$2;
|
|
13183
13068
|
var t$1 = i$1.dom.window;
|
|
@@ -13192,10 +13077,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13192
13077
|
if (t$1.attributeOldValue && !t$1.attributes) throw new TypeError();
|
|
13193
13078
|
if (void 0 !== t$1.attributeFilter && !t$1.attributes) throw new TypeError();
|
|
13194
13079
|
if (t$1.characterDataOldValue && !t$1.characterData) throw new TypeError();
|
|
13195
|
-
var s
|
|
13080
|
+
var s = !1, u = t$1, l = function(e$3) {
|
|
13196
13081
|
var t$2, r$2;
|
|
13197
13082
|
if (e$3.observer === c) {
|
|
13198
|
-
s
|
|
13083
|
+
s = !0;
|
|
13199
13084
|
try {
|
|
13200
13085
|
for (var i$3 = (t$2 = void 0, n(c._nodeList)), l$1 = i$3.next(); !l$1.done; l$1 = i$3.next()) {
|
|
13201
13086
|
var h$1 = l$1.value;
|
|
@@ -13226,7 +13111,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13226
13111
|
if (r$1) throw r$1.error;
|
|
13227
13112
|
}
|
|
13228
13113
|
}
|
|
13229
|
-
s
|
|
13114
|
+
s || (e$2._registeredObserverList.push({
|
|
13230
13115
|
observer: this,
|
|
13231
13116
|
options: t$1
|
|
13232
13117
|
}), this._nodeList.push(e$2));
|
|
@@ -13234,8 +13119,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13234
13119
|
var e$2, t$1, r$1 = this;
|
|
13235
13120
|
try {
|
|
13236
13121
|
for (var i$2 = n(this._nodeList), o$1 = i$2.next(); !o$1.done; o$1 = i$2.next()) {
|
|
13237
|
-
var s
|
|
13238
|
-
a.list.remove(s
|
|
13122
|
+
var s = o$1.value;
|
|
13123
|
+
a.list.remove(s._registeredObserverList, (function(e$3) {
|
|
13239
13124
|
return e$3.observer === r$1;
|
|
13240
13125
|
}));
|
|
13241
13126
|
}
|
|
@@ -13254,11 +13139,11 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13254
13139
|
return this._recordQueue = [], e$2;
|
|
13255
13140
|
}, e$1;
|
|
13256
13141
|
}();
|
|
13257
|
-
t.MutationObserverImpl = s;
|
|
13258
13142
|
},
|
|
13259
13143
|
function(e, t, r) {
|
|
13260
13144
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13261
|
-
var n = r(3)
|
|
13145
|
+
var n = r(3);
|
|
13146
|
+
t.NonDocumentTypeChildNodeImpl = function() {
|
|
13262
13147
|
function e$1() {}
|
|
13263
13148
|
return Object.defineProperty(e$1.prototype, "previousElementSibling", {
|
|
13264
13149
|
get: function() {
|
|
@@ -13282,11 +13167,11 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13282
13167
|
configurable: !0
|
|
13283
13168
|
}), e$1;
|
|
13284
13169
|
}();
|
|
13285
|
-
t.NonDocumentTypeChildNodeImpl = i$1;
|
|
13286
13170
|
},
|
|
13287
13171
|
function(e, t, r) {
|
|
13288
13172
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13289
|
-
var n = r(3), i$1 = r(0)
|
|
13173
|
+
var n = r(3), i$1 = r(0);
|
|
13174
|
+
t.NonElementParentNodeImpl = function() {
|
|
13290
13175
|
function e$1() {}
|
|
13291
13176
|
return e$1.prototype.getElementById = function(e$2) {
|
|
13292
13177
|
for (var t$1 = i$1.tree_getFirstDescendantNode(n.Cast.asNode(this), !1, !1, (function(e$3) {
|
|
@@ -13300,7 +13185,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13300
13185
|
return null;
|
|
13301
13186
|
}, e$1;
|
|
13302
13187
|
}();
|
|
13303
|
-
t.NonElementParentNodeImpl = o;
|
|
13304
13188
|
},
|
|
13305
13189
|
function(e, t, r) {
|
|
13306
13190
|
var n = this && this.__values || function(e$1) {
|
|
@@ -13315,7 +13199,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13315
13199
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
13316
13200
|
};
|
|
13317
13201
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13318
|
-
var i$1 = r(3), o = r(0)
|
|
13202
|
+
var i$1 = r(3), o = r(0);
|
|
13203
|
+
t.ParentNodeImpl = function() {
|
|
13319
13204
|
function e$1() {}
|
|
13320
13205
|
return Object.defineProperty(e$1.prototype, "children", {
|
|
13321
13206
|
get: function() {
|
|
@@ -13347,15 +13232,15 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13347
13232
|
get: function() {
|
|
13348
13233
|
var e$2, t$1, r$1 = 0;
|
|
13349
13234
|
try {
|
|
13350
|
-
for (var o$1 = n(i$1.Cast.asNode(this)._children), a
|
|
13351
|
-
var s = a
|
|
13235
|
+
for (var o$1 = n(i$1.Cast.asNode(this)._children), a = o$1.next(); !a.done; a = o$1.next()) {
|
|
13236
|
+
var s = a.value;
|
|
13352
13237
|
i$1.Guard.isElementNode(s) && r$1++;
|
|
13353
13238
|
}
|
|
13354
13239
|
} catch (t$2) {
|
|
13355
13240
|
e$2 = { error: t$2 };
|
|
13356
13241
|
} finally {
|
|
13357
13242
|
try {
|
|
13358
|
-
a
|
|
13243
|
+
a && !a.done && (t$1 = o$1.return) && t$1.call(o$1);
|
|
13359
13244
|
} finally {
|
|
13360
13245
|
if (e$2) throw e$2.error;
|
|
13361
13246
|
}
|
|
@@ -13380,11 +13265,11 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13380
13265
|
return o.create_nodeListStatic(t$1, r$1);
|
|
13381
13266
|
}, e$1;
|
|
13382
13267
|
}();
|
|
13383
|
-
t.ParentNodeImpl = a;
|
|
13384
13268
|
},
|
|
13385
13269
|
function(e, t, r) {
|
|
13386
13270
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13387
|
-
var n = r(0)
|
|
13271
|
+
var n = r(0);
|
|
13272
|
+
t.SlotableImpl = function() {
|
|
13388
13273
|
function e$1() {}
|
|
13389
13274
|
return Object.defineProperty(e$1.prototype, "_name", {
|
|
13390
13275
|
get: function() {
|
|
@@ -13412,7 +13297,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13412
13297
|
configurable: !0
|
|
13413
13298
|
}), e$1;
|
|
13414
13299
|
}();
|
|
13415
|
-
t.SlotableImpl = i$1;
|
|
13416
13300
|
},
|
|
13417
13301
|
function(e, t, r) {
|
|
13418
13302
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -13428,7 +13312,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13428
13312
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
13429
13313
|
});
|
|
13430
13314
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13431
|
-
var o = r(102), a = r(9), s = r(3)
|
|
13315
|
+
var o = r(102), a = r(9), s = r(3);
|
|
13316
|
+
t.StaticRangeImpl = function(e$1) {
|
|
13432
13317
|
function t$1(t$2) {
|
|
13433
13318
|
var r$1 = e$1.call(this) || this;
|
|
13434
13319
|
if (s.Guard.isDocumentTypeNode(t$2.startContainer) || s.Guard.isAttrNode(t$2.startContainer) || s.Guard.isDocumentTypeNode(t$2.endContainer) || s.Guard.isAttrNode(t$2.endContainer)) throw new a.InvalidNodeTypeError();
|
|
@@ -13436,28 +13321,26 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13436
13321
|
}
|
|
13437
13322
|
return i$1(t$1, e$1), t$1;
|
|
13438
13323
|
}(o.AbstractRangeImpl);
|
|
13439
|
-
t.StaticRangeImpl = u;
|
|
13440
13324
|
},
|
|
13441
13325
|
function(e, t, r) {
|
|
13442
13326
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13443
|
-
|
|
13444
|
-
t.DOMParser = n.DOMParserImpl;
|
|
13327
|
+
t.DOMParser = r(273).DOMParserImpl;
|
|
13445
13328
|
},
|
|
13446
13329
|
function(e, t, r) {
|
|
13447
13330
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13448
|
-
var n = r(0), i$1 = r(274)
|
|
13331
|
+
var n = r(0), i$1 = r(274);
|
|
13332
|
+
t.DOMParserImpl = function() {
|
|
13449
13333
|
function e$1() {}
|
|
13450
13334
|
return e$1.prototype.parseFromString = function(e$2, t$1) {
|
|
13451
13335
|
if ("text/html" === t$1) throw new Error("HTML parser not implemented.");
|
|
13452
13336
|
try {
|
|
13453
13337
|
return (r$1 = new i$1.XMLParserImpl().parse(e$2))._contentType = t$1, r$1;
|
|
13454
13338
|
} catch (e$3) {
|
|
13455
|
-
var r$1, o
|
|
13339
|
+
var r$1, o = "http://www.mozilla.org/newlayout/xml/parsererror.xml", a = (r$1 = n.create_xmlDocument()).createElementNS(o, "parsererror"), s = r$1.createElementNS(o, "error");
|
|
13456
13340
|
return s.setAttribute("message", e$3.message), a.appendChild(s), r$1.appendChild(a), r$1;
|
|
13457
13341
|
}
|
|
13458
13342
|
}, e$1;
|
|
13459
13343
|
}();
|
|
13460
|
-
t.DOMParserImpl = o;
|
|
13461
13344
|
},
|
|
13462
13345
|
function(e, t, r) {
|
|
13463
13346
|
var n = this && this.__read || function(e$1, t$1) {
|
|
@@ -13488,10 +13371,11 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13488
13371
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
13489
13372
|
};
|
|
13490
13373
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13491
|
-
var o = r(180), a = r(111), s = r(7), u = r(0), l = r(69)
|
|
13374
|
+
var o = r(180), a = r(111), s = r(7), u = r(0), l = r(69);
|
|
13375
|
+
t.XMLParserImpl = function() {
|
|
13492
13376
|
function e$1() {}
|
|
13493
13377
|
return e$1.prototype.parse = function(e$2) {
|
|
13494
|
-
for (var t$1, r$1, c
|
|
13378
|
+
for (var t$1, r$1, c, h, p$3 = new o.XMLStringLexer(e$2, { skipWhitespaceOnlyText: !0 }), f = u.create_document(), d = f, m = p$3.nextToken(); m.type !== a.TokenType.EOF;) {
|
|
13495
13379
|
switch (m.type) {
|
|
13496
13380
|
case a.TokenType.Declaration:
|
|
13497
13381
|
var y = m;
|
|
@@ -13551,7 +13435,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13551
13435
|
d.appendChild(M);
|
|
13552
13436
|
var B = new l.LocalNameSet();
|
|
13553
13437
|
try {
|
|
13554
|
-
for (var j = (c
|
|
13438
|
+
for (var j = (c = void 0, i$1(w.attributes)), R = j.next(); !R.done; R = j.next()) {
|
|
13555
13439
|
var z = n(R.value, 2), U = (F = z[0], k = z[1], n(u.namespace_extractQName(F), 2)), G = (I = U[0], L = U[1], null);
|
|
13556
13440
|
if ("xmlns" === I || null === I && "xmlns" === L ? G = s.namespace.XMLNS : null !== (G = M.lookupNamespaceURI(I)) && M.isDefaultNamespace(G) ? G = null : null === G && null !== I && (G = A[I] || null), B.has(G, L)) throw new Error("Element contains duplicate attributes.");
|
|
13557
13441
|
if (B.set(G, L), G === s.namespace.XMLNS && k === s.namespace.XMLNS) throw new Error("XMLNS namespace is reserved.");
|
|
@@ -13560,12 +13444,12 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13560
13444
|
null !== G ? M.setAttributeNS(G, F, this._decodeAttributeValue(k)) : M.setAttribute(F, this._decodeAttributeValue(k));
|
|
13561
13445
|
}
|
|
13562
13446
|
} catch (e$3) {
|
|
13563
|
-
c
|
|
13447
|
+
c = { error: e$3 };
|
|
13564
13448
|
} finally {
|
|
13565
13449
|
try {
|
|
13566
13450
|
R && !R.done && (h = j.return) && h.call(j);
|
|
13567
13451
|
} finally {
|
|
13568
|
-
if (c
|
|
13452
|
+
if (c) throw c.error;
|
|
13569
13453
|
}
|
|
13570
13454
|
}
|
|
13571
13455
|
w.selfClosing || (d = M);
|
|
@@ -13583,12 +13467,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13583
13467
|
return null == e$2 ? e$2 : e$2.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
13584
13468
|
}, e$1;
|
|
13585
13469
|
}();
|
|
13586
|
-
t.XMLParserImpl = c;
|
|
13587
13470
|
},
|
|
13588
13471
|
function(e, t, r) {
|
|
13589
13472
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13590
|
-
|
|
13591
|
-
t.XMLSerializer = n.XMLSerializerImpl;
|
|
13473
|
+
t.XMLSerializer = r(276).XMLSerializerImpl;
|
|
13592
13474
|
},
|
|
13593
13475
|
function(e, t, r) {
|
|
13594
13476
|
var n = this && this.__values || function(e$1) {
|
|
@@ -13603,7 +13485,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13603
13485
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
13604
13486
|
};
|
|
13605
13487
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13606
|
-
var i$1 = r(1), o = r(69), a = r(95), s = r(9), u = r(7), l = r(0)
|
|
13488
|
+
var i$1 = r(1), o = r(69), a = r(95), s = r(9), u = r(7), l = r(0);
|
|
13489
|
+
t.XMLSerializerImpl = function() {
|
|
13607
13490
|
function e$1() {}
|
|
13608
13491
|
return e$1.prototype.serializeToString = function(e$2) {
|
|
13609
13492
|
return this._xmlSerialization(e$2, !1);
|
|
@@ -13646,7 +13529,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13646
13529
|
default: throw new Error("Unknown node type: " + e$2.nodeType);
|
|
13647
13530
|
}
|
|
13648
13531
|
}, e$1.prototype._serializeElementNS = function(t$1, r$1, i$2, o$1, a$1) {
|
|
13649
|
-
var s$1, c
|
|
13532
|
+
var s$1, c;
|
|
13650
13533
|
if (a$1 && (-1 !== t$1.localName.indexOf(":") || !l.xml_isName(t$1.localName))) throw new Error("Node local name contains invalid characters (well-formed required).");
|
|
13651
13534
|
var h = "<", p$3 = "", f = !1, d = !1, m = i$2.copy(), y = {}, v = this._recordNamespaceInformation(t$1, m, y), _ = r$1, g = t$1.namespaceURI;
|
|
13652
13535
|
if (_ === g) null !== v && (d = !0), h += p$3 = g === u.namespace.XML ? "xml:" + t$1.localName : t$1.localName;
|
|
@@ -13671,7 +13554,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13671
13554
|
s$1 = { error: e$2 };
|
|
13672
13555
|
} finally {
|
|
13673
13556
|
try {
|
|
13674
|
-
D && !D.done && (c
|
|
13557
|
+
D && !D.done && (c = E.return) && c.call(E);
|
|
13675
13558
|
} finally {
|
|
13676
13559
|
if (s$1) throw s$1.error;
|
|
13677
13560
|
}
|
|
@@ -13682,15 +13565,15 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13682
13565
|
if (o$1 && null === e$2.documentElement) throw new Error("Missing document element (well-formed required).");
|
|
13683
13566
|
var u$1 = "";
|
|
13684
13567
|
try {
|
|
13685
|
-
for (var l$1 = n(e$2._children || e$2.childNodes), c
|
|
13686
|
-
var h = c
|
|
13568
|
+
for (var l$1 = n(e$2._children || e$2.childNodes), c = l$1.next(); !c.done; c = l$1.next()) {
|
|
13569
|
+
var h = c.value;
|
|
13687
13570
|
u$1 += this._serializeNodeNS(h, t$1, r$1, i$2, o$1);
|
|
13688
13571
|
}
|
|
13689
13572
|
} catch (e$3) {
|
|
13690
13573
|
a$1 = { error: e$3 };
|
|
13691
13574
|
} finally {
|
|
13692
13575
|
try {
|
|
13693
|
-
c
|
|
13576
|
+
c && !c.done && (s$1 = l$1.return) && s$1.call(l$1);
|
|
13694
13577
|
} finally {
|
|
13695
13578
|
if (a$1) throw a$1.error;
|
|
13696
13579
|
}
|
|
@@ -13709,15 +13592,15 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13709
13592
|
}, e$1.prototype._serializeDocumentFragmentNS = function(e$2, t$1, r$1, i$2, o$1) {
|
|
13710
13593
|
var a$1, s$1, u$1 = "";
|
|
13711
13594
|
try {
|
|
13712
|
-
for (var l$1 = n(e$2._children || e$2.childNodes), c
|
|
13713
|
-
var h = c
|
|
13595
|
+
for (var l$1 = n(e$2._children || e$2.childNodes), c = l$1.next(); !c.done; c = l$1.next()) {
|
|
13596
|
+
var h = c.value;
|
|
13714
13597
|
u$1 += this._serializeNodeNS(h, t$1, r$1, i$2, o$1);
|
|
13715
13598
|
}
|
|
13716
13599
|
} catch (e$3) {
|
|
13717
13600
|
a$1 = { error: e$3 };
|
|
13718
13601
|
} finally {
|
|
13719
13602
|
try {
|
|
13720
|
-
c
|
|
13603
|
+
c && !c.done && (s$1 = l$1.return) && s$1.call(l$1);
|
|
13721
13604
|
} finally {
|
|
13722
13605
|
if (a$1) throw a$1.error;
|
|
13723
13606
|
}
|
|
@@ -13735,7 +13618,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13735
13618
|
if (t$1 && -1 !== e$2.data.indexOf("]]>")) throw new Error("CDATA contains invalid characters (well-formed required).");
|
|
13736
13619
|
return "<![CDATA[" + e$2.data + "]]>";
|
|
13737
13620
|
}, e$1.prototype._serializeAttributesNS = function(e$2, t$1, r$1, i$2, a$1, s$1) {
|
|
13738
|
-
var c
|
|
13621
|
+
var c, h, p$3 = "", f = s$1 ? new o.LocalNameSet() : void 0;
|
|
13739
13622
|
try {
|
|
13740
13623
|
for (var d = n(e$2.attributes), m = d.next(); !m.done; m = d.next()) {
|
|
13741
13624
|
var y = m.value;
|
|
@@ -13754,12 +13637,12 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13754
13637
|
} else p$3 += " " + y.localName + "=\"" + this._serializeAttributeValue(y.value, s$1) + "\"";
|
|
13755
13638
|
}
|
|
13756
13639
|
} catch (e$3) {
|
|
13757
|
-
c
|
|
13640
|
+
c = { error: e$3 };
|
|
13758
13641
|
} finally {
|
|
13759
13642
|
try {
|
|
13760
13643
|
m && !m.done && (h = d.return) && h.call(d);
|
|
13761
13644
|
} finally {
|
|
13762
|
-
if (c
|
|
13645
|
+
if (c) throw c.error;
|
|
13763
13646
|
}
|
|
13764
13647
|
}
|
|
13765
13648
|
return p$3;
|
|
@@ -13767,13 +13650,13 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13767
13650
|
var i$2, o$1, a$1 = null;
|
|
13768
13651
|
try {
|
|
13769
13652
|
for (var s$1 = n(e$2.attributes), l$1 = s$1.next(); !l$1.done; l$1 = s$1.next()) {
|
|
13770
|
-
var c
|
|
13653
|
+
var c = l$1.value, h = c.namespaceURI, p$3 = c.prefix;
|
|
13771
13654
|
if (h === u.namespace.XMLNS) {
|
|
13772
13655
|
if (null === p$3) {
|
|
13773
|
-
a$1 = c
|
|
13656
|
+
a$1 = c.value;
|
|
13774
13657
|
continue;
|
|
13775
13658
|
}
|
|
13776
|
-
var f = c
|
|
13659
|
+
var f = c.localName, d = c.value;
|
|
13777
13660
|
if (d === u.namespace.XML) continue;
|
|
13778
13661
|
if ("" === d && (d = null), t$1.has(f, d)) continue;
|
|
13779
13662
|
t$1.set(f, d), r$1[f] = d || "";
|
|
@@ -13806,15 +13689,15 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13806
13689
|
var o$1 = !1, a$1 = e$2.localName, s$1 = "<" + a$1;
|
|
13807
13690
|
if (s$1 += this._serializeAttributes(e$2, t$1), 0 === e$2._children.size && (s$1 += "/", o$1 = !0), s$1 += ">", o$1) return s$1;
|
|
13808
13691
|
try {
|
|
13809
|
-
for (var u$1 = n(e$2._children), c
|
|
13810
|
-
var h = c
|
|
13692
|
+
for (var u$1 = n(e$2._children), c = u$1.next(); !c.done; c = u$1.next()) {
|
|
13693
|
+
var h = c.value;
|
|
13811
13694
|
s$1 += this._serializeNode(h, t$1);
|
|
13812
13695
|
}
|
|
13813
13696
|
} catch (e$3) {
|
|
13814
13697
|
r$1 = { error: e$3 };
|
|
13815
13698
|
} finally {
|
|
13816
13699
|
try {
|
|
13817
|
-
c
|
|
13700
|
+
c && !c.done && (i$2 = u$1.return) && i$2.call(u$1);
|
|
13818
13701
|
} finally {
|
|
13819
13702
|
if (r$1) throw r$1.error;
|
|
13820
13703
|
}
|
|
@@ -13860,10 +13743,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13860
13743
|
var r$1, i$2, o$1 = "", a$1 = t$1 ? {} : void 0;
|
|
13861
13744
|
try {
|
|
13862
13745
|
for (var s$1 = n(e$2.attributes), u$1 = s$1.next(); !u$1.done; u$1 = s$1.next()) {
|
|
13863
|
-
var c
|
|
13864
|
-
if (t$1 && a$1 && c
|
|
13865
|
-
if (t$1 && a$1 && (a$1[c
|
|
13866
|
-
o$1 += " " + c
|
|
13746
|
+
var c = u$1.value;
|
|
13747
|
+
if (t$1 && a$1 && c.localName in a$1) throw new Error("Element contains duplicate attributes (well-formed required).");
|
|
13748
|
+
if (t$1 && a$1 && (a$1[c.localName] = !0), t$1 && (-1 !== c.localName.indexOf(":") || !l.xml_isName(c.localName))) throw new Error("Attribute local name contains invalid characters (well-formed required).");
|
|
13749
|
+
o$1 += " " + c.localName + "=\"" + this._serializeAttributeValue(c.value, t$1) + "\"";
|
|
13867
13750
|
}
|
|
13868
13751
|
} catch (e$3) {
|
|
13869
13752
|
r$1 = { error: e$3 };
|
|
@@ -13897,18 +13780,13 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13897
13780
|
"wbr"
|
|
13898
13781
|
]), e$1;
|
|
13899
13782
|
}();
|
|
13900
|
-
t.XMLSerializerImpl = c;
|
|
13901
13783
|
},
|
|
13902
13784
|
function(e, t, r) {
|
|
13903
13785
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13904
|
-
|
|
13905
|
-
t.
|
|
13906
|
-
|
|
13907
|
-
t.
|
|
13908
|
-
var o = r(281);
|
|
13909
|
-
t.JSONReader = o.JSONReader;
|
|
13910
|
-
var a = r(282);
|
|
13911
|
-
t.YAMLReader = a.YAMLReader;
|
|
13786
|
+
t.XMLReader = r(278).XMLReader;
|
|
13787
|
+
t.ObjectReader = r(112).ObjectReader;
|
|
13788
|
+
t.JSONReader = r(281).JSONReader;
|
|
13789
|
+
t.YAMLReader = r(282).YAMLReader;
|
|
13912
13790
|
},
|
|
13913
13791
|
function(e, t, r) {
|
|
13914
13792
|
r(31), r(32), r(33), r(19), r(65), r(20), r(22), r(23);
|
|
@@ -13951,12 +13829,13 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
13951
13829
|
throw new TypeError(t$1 ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
13952
13830
|
};
|
|
13953
13831
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
13954
|
-
var s = r(180), u = r(111), l = r(1), c = r(7), h = r(0)
|
|
13832
|
+
var s = r(180), u = r(111), l = r(1), c = r(7), h = r(0);
|
|
13833
|
+
t.XMLReader = function(e$1) {
|
|
13955
13834
|
function t$1() {
|
|
13956
13835
|
return null !== e$1 && e$1.apply(this, arguments) || this;
|
|
13957
13836
|
}
|
|
13958
13837
|
return i$1(t$1, e$1), t$1.prototype._parse = function(e$2, t$2) {
|
|
13959
|
-
for (var r$1, n$1, i$2, p$
|
|
13838
|
+
for (var r$1, n$1, i$2, p$3, f = new s.XMLStringLexer(t$2, { skipWhitespaceOnlyText: this._builderOptions.skipWhitespaceOnlyText }), d = e$2, m = e$2, y = f.nextToken(); y.type !== u.TokenType.EOF;) {
|
|
13960
13839
|
switch (y.type) {
|
|
13961
13840
|
case u.TokenType.Declaration:
|
|
13962
13841
|
var v = y, _ = this.sanitize(v.version);
|
|
@@ -14020,7 +13899,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14020
13899
|
i$2 = { error: e$3 };
|
|
14021
13900
|
} finally {
|
|
14022
13901
|
try {
|
|
14023
|
-
z && !z.done && (p$
|
|
13902
|
+
z && !z.done && (p$3 = R.return) && p$3.call(R);
|
|
14024
13903
|
} finally {
|
|
14025
13904
|
if (i$2) throw i$2.error;
|
|
14026
13905
|
}
|
|
@@ -14034,7 +13913,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14034
13913
|
return d;
|
|
14035
13914
|
}, t$1;
|
|
14036
13915
|
}(r(75).BaseReader);
|
|
14037
|
-
t.XMLReader = p$3;
|
|
14038
13916
|
},
|
|
14039
13917
|
function(e, t, r) {
|
|
14040
13918
|
var n = r(4), i$1 = r(280);
|
|
@@ -14079,7 +13957,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14079
13957
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
14080
13958
|
});
|
|
14081
13959
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
14082
|
-
var o = r(112)
|
|
13960
|
+
var o = r(112);
|
|
13961
|
+
t.JSONReader = function(e$1) {
|
|
14083
13962
|
function t$1() {
|
|
14084
13963
|
return null !== e$1 && e$1.apply(this, arguments) || this;
|
|
14085
13964
|
}
|
|
@@ -14087,7 +13966,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14087
13966
|
return new o.ObjectReader(this._builderOptions).parse(e$2, JSON.parse(t$2));
|
|
14088
13967
|
}, t$1;
|
|
14089
13968
|
}(r(75).BaseReader);
|
|
14090
|
-
t.JSONReader = a;
|
|
14091
13969
|
},
|
|
14092
13970
|
function(e, t, r) {
|
|
14093
13971
|
var n, i$1 = this && this.__extends || (n = function(e$1, t$1) {
|
|
@@ -14103,7 +13981,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14103
13981
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
14104
13982
|
});
|
|
14105
13983
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
14106
|
-
var o = r(112), a = r(75), s = r(283)
|
|
13984
|
+
var o = r(112), a = r(75), s = r(283);
|
|
13985
|
+
t.YAMLReader = function(e$1) {
|
|
14107
13986
|
function t$1() {
|
|
14108
13987
|
return null !== e$1 && e$1.apply(this, arguments) || this;
|
|
14109
13988
|
}
|
|
@@ -14113,11 +13992,9 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14113
13992
|
return new o.ObjectReader(this._builderOptions).parse(e$2, r$1);
|
|
14114
13993
|
}, t$1;
|
|
14115
13994
|
}(a.BaseReader);
|
|
14116
|
-
t.YAMLReader = u;
|
|
14117
13995
|
},
|
|
14118
13996
|
function(e, t, r) {
|
|
14119
|
-
|
|
14120
|
-
e.exports = n;
|
|
13997
|
+
e.exports = r(284);
|
|
14121
13998
|
},
|
|
14122
13999
|
function(e, t, r) {
|
|
14123
14000
|
var n = r(285), i$1 = r(304);
|
|
@@ -14445,8 +14322,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14445
14322
|
}, e.exports = i$1;
|
|
14446
14323
|
},
|
|
14447
14324
|
function(e, t, r) {
|
|
14448
|
-
|
|
14449
|
-
e.exports = new n("tag:yaml.org,2002:str", {
|
|
14325
|
+
e.exports = new (r(10))("tag:yaml.org,2002:str", {
|
|
14450
14326
|
kind: "scalar",
|
|
14451
14327
|
construct: function(e$1) {
|
|
14452
14328
|
return null !== e$1 ? e$1 : "";
|
|
@@ -14454,8 +14330,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14454
14330
|
});
|
|
14455
14331
|
},
|
|
14456
14332
|
function(e, t, r) {
|
|
14457
|
-
|
|
14458
|
-
e.exports = new n("tag:yaml.org,2002:seq", {
|
|
14333
|
+
e.exports = new (r(10))("tag:yaml.org,2002:seq", {
|
|
14459
14334
|
kind: "sequence",
|
|
14460
14335
|
construct: function(e$1) {
|
|
14461
14336
|
return null !== e$1 ? e$1 : [];
|
|
@@ -14463,8 +14338,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14463
14338
|
});
|
|
14464
14339
|
},
|
|
14465
14340
|
function(e, t, r) {
|
|
14466
|
-
|
|
14467
|
-
e.exports = new n("tag:yaml.org,2002:map", {
|
|
14341
|
+
e.exports = new (r(10))("tag:yaml.org,2002:map", {
|
|
14468
14342
|
kind: "mapping",
|
|
14469
14343
|
construct: function(e$1) {
|
|
14470
14344
|
return null !== e$1 ? e$1 : {};
|
|
@@ -14472,8 +14346,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14472
14346
|
});
|
|
14473
14347
|
},
|
|
14474
14348
|
function(e, t, r) {
|
|
14475
|
-
|
|
14476
|
-
e.exports = new n("tag:yaml.org,2002:null", {
|
|
14349
|
+
e.exports = new (r(10))("tag:yaml.org,2002:null", {
|
|
14477
14350
|
kind: "scalar",
|
|
14478
14351
|
resolve: function(e$1) {
|
|
14479
14352
|
if (null === e$1) return !0;
|
|
@@ -14504,8 +14377,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14504
14377
|
});
|
|
14505
14378
|
},
|
|
14506
14379
|
function(e, t, r) {
|
|
14507
|
-
|
|
14508
|
-
e.exports = new n("tag:yaml.org,2002:bool", {
|
|
14380
|
+
e.exports = new (r(10))("tag:yaml.org,2002:bool", {
|
|
14509
14381
|
kind: "scalar",
|
|
14510
14382
|
resolve: function(e$1) {
|
|
14511
14383
|
if (null === e$1) return !1;
|
|
@@ -14676,8 +14548,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14676
14548
|
});
|
|
14677
14549
|
},
|
|
14678
14550
|
function(e, t, r) {
|
|
14679
|
-
|
|
14680
|
-
e.exports = new n("tag:yaml.org,2002:merge", {
|
|
14551
|
+
e.exports = new (r(10))("tag:yaml.org,2002:merge", {
|
|
14681
14552
|
kind: "scalar",
|
|
14682
14553
|
resolve: function(e$1) {
|
|
14683
14554
|
return "<<" === e$1 || null === e$1;
|
|
@@ -14778,8 +14649,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14778
14649
|
});
|
|
14779
14650
|
},
|
|
14780
14651
|
function(e, t, r) {
|
|
14781
|
-
|
|
14782
|
-
e.exports = new n("tag:yaml.org,2002:js/undefined", {
|
|
14652
|
+
e.exports = new (r(10))("tag:yaml.org,2002:js/undefined", {
|
|
14783
14653
|
kind: "scalar",
|
|
14784
14654
|
resolve: function() {
|
|
14785
14655
|
return !0;
|
|
@@ -14794,22 +14664,21 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14794
14664
|
});
|
|
14795
14665
|
},
|
|
14796
14666
|
function(e, t, r) {
|
|
14797
|
-
|
|
14798
|
-
e.exports = new n("tag:yaml.org,2002:js/regexp", {
|
|
14667
|
+
e.exports = new (r(10))("tag:yaml.org,2002:js/regexp", {
|
|
14799
14668
|
kind: "scalar",
|
|
14800
14669
|
resolve: function(e$1) {
|
|
14801
14670
|
if (null === e$1) return !1;
|
|
14802
14671
|
if (0 === e$1.length) return !1;
|
|
14803
|
-
var t$1 = e$1, r$1 = /\/([gim]*)$/.exec(e$1), n
|
|
14672
|
+
var t$1 = e$1, r$1 = /\/([gim]*)$/.exec(e$1), n = "";
|
|
14804
14673
|
if ("/" === t$1[0]) {
|
|
14805
|
-
if (r$1 && (n
|
|
14806
|
-
if ("/" !== t$1[t$1.length - n
|
|
14674
|
+
if (r$1 && (n = r$1[1]), n.length > 3) return !1;
|
|
14675
|
+
if ("/" !== t$1[t$1.length - n.length - 1]) return !1;
|
|
14807
14676
|
}
|
|
14808
14677
|
return !0;
|
|
14809
14678
|
},
|
|
14810
14679
|
construct: function(e$1) {
|
|
14811
|
-
var t$1 = e$1, r$1 = /\/([gim]*)$/.exec(e$1), n
|
|
14812
|
-
return "/" === t$1[0] && (r$1 && (n
|
|
14680
|
+
var t$1 = e$1, r$1 = /\/([gim]*)$/.exec(e$1), n = "";
|
|
14681
|
+
return "/" === t$1[0] && (r$1 && (n = r$1[1]), t$1 = t$1.slice(1, t$1.length - n.length - 1)), new RegExp(t$1, n);
|
|
14813
14682
|
},
|
|
14814
14683
|
predicate: function(e$1) {
|
|
14815
14684
|
return "[object RegExp]" === Object.prototype.toString.call(e$1);
|
|
@@ -14827,8 +14696,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14827
14696
|
} catch (e$1) {
|
|
14828
14697
|
"undefined" != typeof window && (n = window.esprima);
|
|
14829
14698
|
}
|
|
14830
|
-
|
|
14831
|
-
e.exports = new i$1("tag:yaml.org,2002:js/function", {
|
|
14699
|
+
e.exports = new (r(10))("tag:yaml.org,2002:js/function", {
|
|
14832
14700
|
kind: "scalar",
|
|
14833
14701
|
resolve: function(e$1) {
|
|
14834
14702
|
if (null === e$1) return !1;
|
|
@@ -14840,11 +14708,11 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14840
14708
|
}
|
|
14841
14709
|
},
|
|
14842
14710
|
construct: function(e$1) {
|
|
14843
|
-
var t$1, r$1 = "(" + e$1 + ")", i$
|
|
14844
|
-
if ("Program" !== i$
|
|
14845
|
-
return i$
|
|
14711
|
+
var t$1, r$1 = "(" + e$1 + ")", i$1 = n.parse(r$1, { range: !0 }), o = [];
|
|
14712
|
+
if ("Program" !== i$1.type || 1 !== i$1.body.length || "ExpressionStatement" !== i$1.body[0].type || "ArrowFunctionExpression" !== i$1.body[0].expression.type && "FunctionExpression" !== i$1.body[0].expression.type) throw new Error("Failed to resolve function");
|
|
14713
|
+
return i$1.body[0].expression.params.forEach((function(e$2) {
|
|
14846
14714
|
o.push(e$2.name);
|
|
14847
|
-
})), t$1 = i$
|
|
14715
|
+
})), t$1 = i$1.body[0].expression.body.range, "BlockStatement" === i$1.body[0].expression.body.type ? new Function(o, r$1.slice(t$1[0] + 1, t$1[1] - 1)) : new Function(o, "return " + r$1.slice(t$1[0], t$1[1]));
|
|
14848
14716
|
},
|
|
14849
14717
|
predicate: function(e$1) {
|
|
14850
14718
|
return "[object Function]" === Object.prototype.toString.call(e$1);
|
|
@@ -14855,8 +14723,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14855
14723
|
});
|
|
14856
14724
|
},
|
|
14857
14725
|
function(e, t, r) {
|
|
14858
|
-
var n
|
|
14859
|
-
n = function() {
|
|
14726
|
+
var n = function() {
|
|
14860
14727
|
return function(e$1) {
|
|
14861
14728
|
var t$1 = {};
|
|
14862
14729
|
function r$1(n$1) {
|
|
@@ -14876,14 +14743,14 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14876
14743
|
function s(e$2, t$2, r$2) {
|
|
14877
14744
|
var a$1 = null, s$1 = function(e$3, t$3) {
|
|
14878
14745
|
r$2 && r$2(e$3, t$3), a$1 && a$1.visit(e$3, t$3);
|
|
14879
|
-
}, u
|
|
14746
|
+
}, u = "function" == typeof r$2 ? s$1 : null, l = !1;
|
|
14880
14747
|
if (t$2) {
|
|
14881
14748
|
l = "boolean" == typeof t$2.comment && t$2.comment;
|
|
14882
14749
|
var c = "boolean" == typeof t$2.attachComment && t$2.attachComment;
|
|
14883
|
-
(l || c) && ((a$1 = new n$1.CommentHandler()).attach = c, t$2.comment = !0, u
|
|
14750
|
+
(l || c) && ((a$1 = new n$1.CommentHandler()).attach = c, t$2.comment = !0, u = s$1);
|
|
14884
14751
|
}
|
|
14885
14752
|
var h, p$3 = !1;
|
|
14886
|
-
t$2 && "string" == typeof t$2.sourceType && (p$3 = "module" === t$2.sourceType), h = t$2 && "boolean" == typeof t$2.jsx && t$2.jsx ? new i$1.JSXParser(e$2, t$2, u
|
|
14753
|
+
t$2 && "string" == typeof t$2.sourceType && (p$3 = "module" === t$2.sourceType), h = t$2 && "boolean" == typeof t$2.jsx && t$2.jsx ? new i$1.JSXParser(e$2, t$2, u) : new o.Parser(e$2, t$2, u);
|
|
14887
14754
|
var f = p$3 ? h.parseModule() : h.parseScript();
|
|
14888
14755
|
return l && a$1 && (f.comments = a$1.comments), h.config.tokens && (f.tokens = h.tokens), h.config.tolerant && (f.errors = h.errorHandler.errors), f;
|
|
14889
14756
|
}
|
|
@@ -14907,20 +14774,20 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14907
14774
|
}
|
|
14908
14775
|
return i$2.errorHandler.tolerant && (n$2.errors = i$2.errors()), n$2;
|
|
14909
14776
|
};
|
|
14910
|
-
|
|
14911
|
-
t$1.Syntax = u.Syntax, t$1.version = "4.0.1";
|
|
14777
|
+
t$1.Syntax = r$1(2).Syntax, t$1.version = "4.0.1";
|
|
14912
14778
|
},
|
|
14913
14779
|
function(e$1, t$1, r$1) {
|
|
14914
14780
|
Object.defineProperty(t$1, "__esModule", { value: !0 });
|
|
14915
|
-
var n$1 = r$1(2)
|
|
14781
|
+
var n$1 = r$1(2);
|
|
14782
|
+
t$1.CommentHandler = function() {
|
|
14916
14783
|
function e$2() {
|
|
14917
14784
|
this.attach = !1, this.comments = [], this.stack = [], this.leading = [], this.trailing = [];
|
|
14918
14785
|
}
|
|
14919
14786
|
return e$2.prototype.insertInnerComments = function(e$3, t$2) {
|
|
14920
14787
|
if (e$3.type === n$1.Syntax.BlockStatement && 0 === e$3.body.length) {
|
|
14921
|
-
for (var r$2 = [], i$
|
|
14922
|
-
var o = this.leading[i$
|
|
14923
|
-
t$2.end.offset >= o.start && (r$2.unshift(o.comment), this.leading.splice(i$
|
|
14788
|
+
for (var r$2 = [], i$1 = this.leading.length - 1; i$1 >= 0; --i$1) {
|
|
14789
|
+
var o = this.leading[i$1];
|
|
14790
|
+
t$2.end.offset >= o.start && (r$2.unshift(o.comment), this.leading.splice(i$1, 1), this.trailing.splice(i$1, 1));
|
|
14924
14791
|
}
|
|
14925
14792
|
r$2.length && (e$3.innerComments = r$2);
|
|
14926
14793
|
}
|
|
@@ -14933,18 +14800,18 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14933
14800
|
}
|
|
14934
14801
|
return this.trailing.length = 0, t$2;
|
|
14935
14802
|
}
|
|
14936
|
-
var i$
|
|
14937
|
-
if (i$
|
|
14938
|
-
var o = i$
|
|
14939
|
-
o && o.range[0] >= e$3.end.offset && (t$2 = i$
|
|
14803
|
+
var i$1 = this.stack[this.stack.length - 1];
|
|
14804
|
+
if (i$1 && i$1.node.trailingComments) {
|
|
14805
|
+
var o = i$1.node.trailingComments[0];
|
|
14806
|
+
o && o.range[0] >= e$3.end.offset && (t$2 = i$1.node.trailingComments, delete i$1.node.trailingComments);
|
|
14940
14807
|
}
|
|
14941
14808
|
return t$2;
|
|
14942
14809
|
}, e$2.prototype.findLeadingComments = function(e$3) {
|
|
14943
14810
|
for (var t$2, r$2 = []; this.stack.length > 0 && (o = this.stack[this.stack.length - 1]) && o.start >= e$3.start.offset;) t$2 = o.node, this.stack.pop();
|
|
14944
14811
|
if (t$2) {
|
|
14945
14812
|
for (var n$2 = (t$2.leadingComments ? t$2.leadingComments.length : 0) - 1; n$2 >= 0; --n$2) {
|
|
14946
|
-
var i$
|
|
14947
|
-
i$
|
|
14813
|
+
var i$1 = t$2.leadingComments[n$2];
|
|
14814
|
+
i$1.range[1] <= e$3.start.offset && (r$2.unshift(i$1), t$2.leadingComments.splice(n$2, 1));
|
|
14948
14815
|
}
|
|
14949
14816
|
return t$2.leadingComments && 0 === t$2.leadingComments.length && delete t$2.leadingComments, r$2;
|
|
14950
14817
|
}
|
|
@@ -14956,8 +14823,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14956
14823
|
}, e$2.prototype.visitNode = function(e$3, t$2) {
|
|
14957
14824
|
if (!(e$3.type === n$1.Syntax.Program && e$3.body.length > 0)) {
|
|
14958
14825
|
this.insertInnerComments(e$3, t$2);
|
|
14959
|
-
var r$2 = this.findTrailingComments(t$2), i$
|
|
14960
|
-
i$
|
|
14826
|
+
var r$2 = this.findTrailingComments(t$2), i$1 = this.findLeadingComments(t$2);
|
|
14827
|
+
i$1.length > 0 && (e$3.leadingComments = i$1), r$2.length > 0 && (e$3.trailingComments = r$2), this.stack.push({
|
|
14961
14828
|
node: e$3,
|
|
14962
14829
|
start: t$2.start.offset
|
|
14963
14830
|
});
|
|
@@ -14968,7 +14835,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14968
14835
|
value: e$3.value
|
|
14969
14836
|
};
|
|
14970
14837
|
if (e$3.range && (n$2.range = e$3.range), e$3.loc && (n$2.loc = e$3.loc), this.comments.push(n$2), this.attach) {
|
|
14971
|
-
var i$
|
|
14838
|
+
var i$1 = {
|
|
14972
14839
|
comment: {
|
|
14973
14840
|
type: r$2,
|
|
14974
14841
|
value: e$3.value,
|
|
@@ -14976,13 +14843,12 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
14976
14843
|
},
|
|
14977
14844
|
start: t$2.start.offset
|
|
14978
14845
|
};
|
|
14979
|
-
e$3.loc && (i$
|
|
14846
|
+
e$3.loc && (i$1.comment.loc = e$3.loc), e$3.type = r$2, this.leading.push(i$1), this.trailing.push(i$1);
|
|
14980
14847
|
}
|
|
14981
14848
|
}, e$2.prototype.visit = function(e$3, t$2) {
|
|
14982
14849
|
"LineComment" === e$3.type || "BlockComment" === e$3.type ? this.visitComment(e$3, t$2) : this.attach && this.visitNode(e$3, t$2);
|
|
14983
14850
|
}, e$2;
|
|
14984
14851
|
}();
|
|
14985
|
-
t$1.CommentHandler = i$1;
|
|
14986
14852
|
},
|
|
14987
14853
|
function(e$1, t$1) {
|
|
14988
14854
|
Object.defineProperty(t$1, "__esModule", { value: !0 }), t$1.Syntax = {
|
|
@@ -15084,7 +14950,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
15084
14950
|
return t$2;
|
|
15085
14951
|
}
|
|
15086
14952
|
c.TokenName[100] = "JSXIdentifier", c.TokenName[101] = "JSXText";
|
|
15087
|
-
|
|
14953
|
+
t$1.JSXParser = function(e$2) {
|
|
15088
14954
|
function t$2(t$3, r$2, n$2) {
|
|
15089
14955
|
return e$2.call(this, t$3, r$2, n$2) || this;
|
|
15090
14956
|
}
|
|
@@ -15346,7 +15212,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
15346
15212
|
return e$2.prototype.isStartOfExpression.call(this) || this.match("<");
|
|
15347
15213
|
}, t$2;
|
|
15348
15214
|
}(l.Parser);
|
|
15349
|
-
t$1.JSXParser = f;
|
|
15350
15215
|
},
|
|
15351
15216
|
function(e$1, t$1) {
|
|
15352
15217
|
Object.defineProperty(t$1, "__esModule", { value: !0 });
|
|
@@ -15499,8 +15364,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
15499
15364
|
};
|
|
15500
15365
|
t$1.AwaitExpression = p$3;
|
|
15501
15366
|
var f = function(e$2, t$2, r$2) {
|
|
15502
|
-
|
|
15503
|
-
this.type = i$2 ? n$1.Syntax.LogicalExpression : n$1.Syntax.BinaryExpression, this.operator = e$2, this.left = t$2, this.right = r$2;
|
|
15367
|
+
this.type = "||" === e$2 || "&&" === e$2 ? n$1.Syntax.LogicalExpression : n$1.Syntax.BinaryExpression, this.operator = e$2, this.left = t$2, this.right = r$2;
|
|
15504
15368
|
};
|
|
15505
15369
|
t$1.BinaryExpression = f;
|
|
15506
15370
|
var d = function(e$2) {
|
|
@@ -15757,7 +15621,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
15757
15621
|
},
|
|
15758
15622
|
function(e$1, t$1, r$1) {
|
|
15759
15623
|
Object.defineProperty(t$1, "__esModule", { value: !0 });
|
|
15760
|
-
var n$1 = r$1(9), i$1 = r$1(10), o = r$1(11), a = r$1(7), s = r$1(12), u = r$1(2), l = r$1(13)
|
|
15624
|
+
var n$1 = r$1(9), i$1 = r$1(10), o = r$1(11), a = r$1(7), s = r$1(12), u = r$1(2), l = r$1(13);
|
|
15625
|
+
t$1.Parser = function() {
|
|
15761
15626
|
function e$2(e$3, t$2, r$2) {
|
|
15762
15627
|
void 0 === t$2 && (t$2 = {}), this.config = {
|
|
15763
15628
|
range: "boolean" == typeof t$2.range && t$2.range,
|
|
@@ -16077,7 +15942,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16077
15942
|
}, e$2.prototype.isPropertyKey = function(e$3, t$2) {
|
|
16078
15943
|
return e$3.type === u.Syntax.Identifier && e$3.name === t$2 || e$3.type === u.Syntax.Literal && e$3.value === t$2;
|
|
16079
15944
|
}, e$2.prototype.parseObjectProperty = function(e$3) {
|
|
16080
|
-
var t$2, r$2 = this.createNode(), n$2 = this.lookahead, i$2 = null, s$1 = null, u$1 = !1, l$1 = !1, c
|
|
15945
|
+
var t$2, r$2 = this.createNode(), n$2 = this.lookahead, i$2 = null, s$1 = null, u$1 = !1, l$1 = !1, c = !1, h = !1;
|
|
16081
15946
|
if (3 === n$2.type) {
|
|
16082
15947
|
var p$3 = n$2.value;
|
|
16083
15948
|
this.nextToken(), u$1 = this.match("["), i$2 = (h = !(this.hasLineTerminator || "async" !== p$3 || this.match(":") || this.match("(") || this.match("*") || this.match(","))) ? this.parseObjectPropertyKey() : this.finalize(r$2, new a.Identifier(p$3));
|
|
@@ -16089,12 +15954,12 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16089
15954
|
else if (i$2 || this.throwUnexpectedToken(this.lookahead), t$2 = "init", this.match(":") && !h) !u$1 && this.isPropertyKey(i$2, "__proto__") && (e$3.value && this.tolerateError(o.Messages.DuplicateProtoProperty), e$3.value = !0), this.nextToken(), s$1 = this.inheritCoverGrammar(this.parseAssignmentExpression);
|
|
16090
15955
|
else if (this.match("(")) s$1 = h ? this.parsePropertyMethodAsyncFunction() : this.parsePropertyMethodFunction(), l$1 = !0;
|
|
16091
15956
|
else if (3 === n$2.type) if (p$3 = this.finalize(r$2, new a.Identifier(n$2.value)), this.match("=")) {
|
|
16092
|
-
this.context.firstCoverInitializedNameError = this.lookahead, this.nextToken(), c
|
|
15957
|
+
this.context.firstCoverInitializedNameError = this.lookahead, this.nextToken(), c = !0;
|
|
16093
15958
|
var d = this.isolateCoverGrammar(this.parseAssignmentExpression);
|
|
16094
15959
|
s$1 = this.finalize(r$2, new a.AssignmentPattern(p$3, d));
|
|
16095
|
-
} else c
|
|
15960
|
+
} else c = !0, s$1 = p$3;
|
|
16096
15961
|
else this.throwUnexpectedToken(this.nextToken());
|
|
16097
|
-
return this.finalize(r$2, new a.Property(t$2, i$2, u$1, s$1, l$1, c
|
|
15962
|
+
return this.finalize(r$2, new a.Property(t$2, i$2, u$1, s$1, l$1, c));
|
|
16098
15963
|
}, e$2.prototype.parseObjectInitializer = function() {
|
|
16099
15964
|
var e$3 = this.createNode();
|
|
16100
15965
|
this.expect("{");
|
|
@@ -16319,10 +16184,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16319
16184
|
], l$1 = [n$2]; !((n$2 = this.binaryPrecedence(this.lookahead)) <= 0);) {
|
|
16320
16185
|
for (; u$1.length > 2 && n$2 <= l$1[l$1.length - 1];) {
|
|
16321
16186
|
s$1 = u$1.pop();
|
|
16322
|
-
var c
|
|
16187
|
+
var c = u$1.pop();
|
|
16323
16188
|
l$1.pop(), o$1 = u$1.pop(), i$2.pop();
|
|
16324
16189
|
var h = this.startNode(i$2[i$2.length - 1]);
|
|
16325
|
-
u$1.push(this.finalize(h, new a.BinaryExpression(c
|
|
16190
|
+
u$1.push(this.finalize(h, new a.BinaryExpression(c, o$1, s$1)));
|
|
16326
16191
|
}
|
|
16327
16192
|
u$1.push(this.nextToken().value), l$1.push(n$2), i$2.push(this.lookahead), u$1.push(this.isolateCoverGrammar(this.parseExponentiationExpression));
|
|
16328
16193
|
}
|
|
@@ -16330,7 +16195,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16330
16195
|
t$2 = u$1[p$3];
|
|
16331
16196
|
for (var f = i$2.pop(); p$3 > 1;) {
|
|
16332
16197
|
var d = i$2.pop(), m = f && f.lineStart;
|
|
16333
|
-
h = this.startNode(d, m), c
|
|
16198
|
+
h = this.startNode(d, m), c = u$1[p$3 - 1], t$2 = this.finalize(h, new a.BinaryExpression(c, u$1[p$3 - 2], t$2)), p$3 -= 2, f = d;
|
|
16334
16199
|
}
|
|
16335
16200
|
}
|
|
16336
16201
|
return t$2;
|
|
@@ -16410,7 +16275,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16410
16275
|
var i$2 = e$3.async, s$1 = this.reinterpretAsCoverFormalsList(e$3);
|
|
16411
16276
|
if (s$1) {
|
|
16412
16277
|
this.hasLineTerminator && this.tolerateUnexpectedToken(this.lookahead), this.context.firstCoverInitializedNameError = null;
|
|
16413
|
-
var l$1 = this.context.strict, c
|
|
16278
|
+
var l$1 = this.context.strict, c = this.context.allowStrictDirective;
|
|
16414
16279
|
this.context.allowStrictDirective = s$1.simple;
|
|
16415
16280
|
var h = this.context.allowYield, p$3 = this.context.await;
|
|
16416
16281
|
this.context.allowYield = !0, this.context.await = i$2;
|
|
@@ -16422,7 +16287,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16422
16287
|
this.context.allowIn = !0, d = this.parseFunctionSourceElements(), this.context.allowIn = m;
|
|
16423
16288
|
} else d = this.isolateCoverGrammar(this.parseAssignmentExpression);
|
|
16424
16289
|
var y = d.type !== u.Syntax.BlockStatement;
|
|
16425
|
-
this.context.strict && s$1.firstRestricted && this.throwUnexpectedToken(s$1.firstRestricted, s$1.message), this.context.strict && s$1.stricted && this.tolerateUnexpectedToken(s$1.stricted, s$1.message), e$3 = i$2 ? this.finalize(f, new a.AsyncArrowFunctionExpression(s$1.params, d, y)) : this.finalize(f, new a.ArrowFunctionExpression(s$1.params, d, y)), this.context.strict = l$1, this.context.allowStrictDirective = c
|
|
16290
|
+
this.context.strict && s$1.firstRestricted && this.throwUnexpectedToken(s$1.firstRestricted, s$1.message), this.context.strict && s$1.stricted && this.tolerateUnexpectedToken(s$1.stricted, s$1.message), e$3 = i$2 ? this.finalize(f, new a.AsyncArrowFunctionExpression(s$1.params, d, y)) : this.finalize(f, new a.ArrowFunctionExpression(s$1.params, d, y)), this.context.strict = l$1, this.context.allowStrictDirective = c, this.context.allowYield = h, this.context.await = p$3;
|
|
16426
16291
|
}
|
|
16427
16292
|
} else if (this.matchAssign()) {
|
|
16428
16293
|
if (this.context.isAssignmentTarget || this.tolerateError(o.Messages.InvalidLHSInAssignment), this.context.strict && e$3.type === u.Syntax.Identifier) {
|
|
@@ -16516,8 +16381,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16516
16381
|
var l$1 = this.finalize(i$2, new a.Identifier(u$1.value));
|
|
16517
16382
|
if (this.match("=")) {
|
|
16518
16383
|
e$3.push(u$1), s$1 = !0, this.nextToken();
|
|
16519
|
-
var c
|
|
16520
|
-
n$2 = this.finalize(this.startNode(u$1), new a.AssignmentPattern(l$1, c
|
|
16384
|
+
var c = this.parseAssignmentExpression();
|
|
16385
|
+
n$2 = this.finalize(this.startNode(u$1), new a.AssignmentPattern(l$1, c));
|
|
16521
16386
|
} else this.match(":") ? (this.expect(":"), n$2 = this.parsePatternWithDefault(e$3, t$2)) : (e$3.push(u$1), s$1 = !0, n$2 = l$1);
|
|
16522
16387
|
} else o$1 = this.match("["), r$2 = this.parseObjectPropertyKey(), this.expect(":"), n$2 = this.parsePatternWithDefault(e$3, t$2);
|
|
16523
16388
|
return this.finalize(i$2, new a.Property("init", r$2, o$1, n$2, !1, s$1));
|
|
@@ -16589,7 +16454,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16589
16454
|
}
|
|
16590
16455
|
return this.finalize(t$2, new a.WhileStatement(r$2, e$3));
|
|
16591
16456
|
}, e$2.prototype.parseForStatement = function() {
|
|
16592
|
-
var e$3, t$2, r$2, n$2 = null, i$2 = null, s$1 = null, l$1 = !0, c
|
|
16457
|
+
var e$3, t$2, r$2, n$2 = null, i$2 = null, s$1 = null, l$1 = !0, c = this.createNode();
|
|
16593
16458
|
if (this.expectKeyword("for"), this.expect("("), this.match(";")) this.nextToken();
|
|
16594
16459
|
else if (this.matchKeyword("var")) {
|
|
16595
16460
|
n$2 = this.createNode(), this.nextToken();
|
|
@@ -16622,7 +16487,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16622
16487
|
var v = this.context.inIteration;
|
|
16623
16488
|
this.context.inIteration = !0, r$2 = this.isolateCoverGrammar(this.parseStatement), this.context.inIteration = v;
|
|
16624
16489
|
}
|
|
16625
|
-
return void 0 === e$3 ? this.finalize(c
|
|
16490
|
+
return void 0 === e$3 ? this.finalize(c, new a.ForStatement(n$2, i$2, s$1, r$2)) : l$1 ? this.finalize(c, new a.ForInStatement(e$3, t$2, r$2)) : this.finalize(c, new a.ForOfStatement(e$3, t$2, r$2));
|
|
16626
16491
|
}, e$2.prototype.parseContinueStatement = function() {
|
|
16627
16492
|
var e$3 = this.createNode();
|
|
16628
16493
|
this.expectKeyword("continue");
|
|
@@ -16682,8 +16547,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16682
16547
|
var s$1 = void 0;
|
|
16683
16548
|
if (this.matchKeyword("class")) this.tolerateUnexpectedToken(this.lookahead), s$1 = this.parseClassDeclaration();
|
|
16684
16549
|
else if (this.matchKeyword("function")) {
|
|
16685
|
-
var l$1 = this.lookahead, c
|
|
16686
|
-
this.context.strict ? this.tolerateUnexpectedToken(l$1, o.Messages.StrictFunction) : c
|
|
16550
|
+
var l$1 = this.lookahead, c = this.parseFunctionDeclaration();
|
|
16551
|
+
this.context.strict ? this.tolerateUnexpectedToken(l$1, o.Messages.StrictFunction) : c.generator && this.tolerateUnexpectedToken(l$1, o.Messages.GeneratorInLegacyContext), s$1 = c;
|
|
16687
16552
|
} else s$1 = this.parseStatement();
|
|
16688
16553
|
delete this.context.labelSet[i$2], e$3 = new a.LabeledStatement(n$2, s$1);
|
|
16689
16554
|
} else this.consumeSemicolon(), e$3 = new a.ExpressionStatement(r$2);
|
|
@@ -16836,14 +16701,14 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16836
16701
|
var l$1 = this.lookahead;
|
|
16837
16702
|
s$1 = this.parseVariableIdentifier(), this.context.strict ? this.scanner.isRestrictedWord(l$1.value) && this.tolerateUnexpectedToken(l$1, o.Messages.StrictFunctionName) : this.scanner.isRestrictedWord(l$1.value) ? (u$1 = l$1, n$2 = o.Messages.StrictFunctionName) : this.scanner.isStrictModeReservedWord(l$1.value) && (u$1 = l$1, n$2 = o.Messages.StrictReservedWord);
|
|
16838
16703
|
}
|
|
16839
|
-
var c
|
|
16704
|
+
var c = this.context.await, h = this.context.allowYield;
|
|
16840
16705
|
this.context.await = r$2, this.context.allowYield = !i$2;
|
|
16841
16706
|
var p$3 = this.parseFormalParameters(u$1), f = p$3.params, d = p$3.stricted;
|
|
16842
16707
|
u$1 = p$3.firstRestricted, p$3.message && (n$2 = p$3.message);
|
|
16843
16708
|
var m = this.context.strict, y = this.context.allowStrictDirective;
|
|
16844
16709
|
this.context.allowStrictDirective = p$3.simple;
|
|
16845
16710
|
var v = this.parseFunctionSourceElements();
|
|
16846
|
-
return this.context.strict && u$1 && this.throwUnexpectedToken(u$1, n$2), this.context.strict && d && this.tolerateUnexpectedToken(d, n$2), this.context.strict = m, this.context.allowStrictDirective = y, this.context.await = c
|
|
16711
|
+
return this.context.strict && u$1 && this.throwUnexpectedToken(u$1, n$2), this.context.strict && d && this.tolerateUnexpectedToken(d, n$2), this.context.strict = m, this.context.allowStrictDirective = y, this.context.await = c, this.context.allowYield = h, r$2 ? this.finalize(t$2, new a.AsyncFunctionDeclaration(s$1, f, v)) : this.finalize(t$2, new a.FunctionDeclaration(s$1, f, v, i$2));
|
|
16847
16712
|
}, e$2.prototype.parseFunctionExpression = function() {
|
|
16848
16713
|
var e$3 = this.createNode(), t$2 = this.matchContextualKeyword("async");
|
|
16849
16714
|
t$2 && this.nextToken(), this.expectKeyword("function");
|
|
@@ -16851,8 +16716,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16851
16716
|
n$2 && this.nextToken();
|
|
16852
16717
|
var i$2, s$1 = null, u$1 = this.context.await, l$1 = this.context.allowYield;
|
|
16853
16718
|
if (this.context.await = t$2, this.context.allowYield = !n$2, !this.match("(")) {
|
|
16854
|
-
var c
|
|
16855
|
-
s$1 = this.context.strict || n$2 || !this.matchKeyword("yield") ? this.parseVariableIdentifier() : this.parseIdentifierName(), this.context.strict ? this.scanner.isRestrictedWord(c
|
|
16719
|
+
var c = this.lookahead;
|
|
16720
|
+
s$1 = this.context.strict || n$2 || !this.matchKeyword("yield") ? this.parseVariableIdentifier() : this.parseIdentifierName(), this.context.strict ? this.scanner.isRestrictedWord(c.value) && this.tolerateUnexpectedToken(c, o.Messages.StrictFunctionName) : this.scanner.isRestrictedWord(c.value) ? (i$2 = c, r$2 = o.Messages.StrictFunctionName) : this.scanner.isStrictModeReservedWord(c.value) && (i$2 = c, r$2 = o.Messages.StrictReservedWord);
|
|
16856
16721
|
}
|
|
16857
16722
|
var h = this.parseFormalParameters(i$2), p$3 = h.params, f = h.stricted;
|
|
16858
16723
|
i$2 = h.firstRestricted, h.message && (r$2 = h.message);
|
|
@@ -16925,14 +16790,14 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16925
16790
|
}
|
|
16926
16791
|
return this.finalize(e$3, new a.YieldExpression(t$2, r$2));
|
|
16927
16792
|
}, e$2.prototype.parseClassElement = function(e$3) {
|
|
16928
|
-
var t$2 = this.lookahead, r$2 = this.createNode(), n$2 = "", i$2 = null, s$1 = null, u$1 = !1, l$1 = !1, c
|
|
16793
|
+
var t$2 = this.lookahead, r$2 = this.createNode(), n$2 = "", i$2 = null, s$1 = null, u$1 = !1, l$1 = !1, c = !1, h = !1;
|
|
16929
16794
|
if (this.match("*")) this.nextToken();
|
|
16930
|
-
else if (u$1 = this.match("["), "static" === (i$2 = this.parseObjectPropertyKey()).name && (this.qualifiedPropertyName(this.lookahead) || this.match("*")) && (t$2 = this.lookahead, c
|
|
16795
|
+
else if (u$1 = this.match("["), "static" === (i$2 = this.parseObjectPropertyKey()).name && (this.qualifiedPropertyName(this.lookahead) || this.match("*")) && (t$2 = this.lookahead, c = !0, u$1 = this.match("["), this.match("*") ? this.nextToken() : i$2 = this.parseObjectPropertyKey()), 3 === t$2.type && !this.hasLineTerminator && "async" === t$2.value) {
|
|
16931
16796
|
var p$3 = this.lookahead.value;
|
|
16932
16797
|
":" !== p$3 && "(" !== p$3 && "*" !== p$3 && (h = !0, t$2 = this.lookahead, i$2 = this.parseObjectPropertyKey(), 3 === t$2.type && "constructor" === t$2.value && this.tolerateUnexpectedToken(t$2, o.Messages.ConstructorIsAsync));
|
|
16933
16798
|
}
|
|
16934
16799
|
var f = this.qualifiedPropertyName(this.lookahead);
|
|
16935
|
-
return 3 === t$2.type ? "get" === t$2.value && f ? (n$2 = "get", u$1 = this.match("["), i$2 = this.parseObjectPropertyKey(), this.context.allowYield = !1, s$1 = this.parseGetterMethod()) : "set" === t$2.value && f && (n$2 = "set", u$1 = this.match("["), i$2 = this.parseObjectPropertyKey(), s$1 = this.parseSetterMethod()) : 7 === t$2.type && "*" === t$2.value && f && (n$2 = "init", u$1 = this.match("["), i$2 = this.parseObjectPropertyKey(), s$1 = this.parseGeneratorMethod(), l$1 = !0), !n$2 && i$2 && this.match("(") && (n$2 = "init", s$1 = h ? this.parsePropertyMethodAsyncFunction() : this.parsePropertyMethodFunction(), l$1 = !0), n$2 || this.throwUnexpectedToken(this.lookahead), "init" === n$2 && (n$2 = "method"), u$1 || (c
|
|
16800
|
+
return 3 === t$2.type ? "get" === t$2.value && f ? (n$2 = "get", u$1 = this.match("["), i$2 = this.parseObjectPropertyKey(), this.context.allowYield = !1, s$1 = this.parseGetterMethod()) : "set" === t$2.value && f && (n$2 = "set", u$1 = this.match("["), i$2 = this.parseObjectPropertyKey(), s$1 = this.parseSetterMethod()) : 7 === t$2.type && "*" === t$2.value && f && (n$2 = "init", u$1 = this.match("["), i$2 = this.parseObjectPropertyKey(), s$1 = this.parseGeneratorMethod(), l$1 = !0), !n$2 && i$2 && this.match("(") && (n$2 = "init", s$1 = h ? this.parsePropertyMethodAsyncFunction() : this.parsePropertyMethodFunction(), l$1 = !0), n$2 || this.throwUnexpectedToken(this.lookahead), "init" === n$2 && (n$2 = "method"), u$1 || (c && this.isPropertyKey(i$2, "prototype") && this.throwUnexpectedToken(t$2, o.Messages.StaticPrototype), !c && this.isPropertyKey(i$2, "constructor") && (("method" !== n$2 || !l$1 || s$1 && s$1.generator) && this.throwUnexpectedToken(t$2, o.Messages.ConstructorSpecialMethod), e$3.value ? this.throwUnexpectedToken(t$2, o.Messages.DuplicateConstructor) : e$3.value = !0, n$2 = "constructor")), this.finalize(r$2, new a.MethodDefinition(i$2, u$1, s$1, n$2, c));
|
|
16936
16801
|
}, e$2.prototype.parseClassElementList = function() {
|
|
16937
16802
|
var e$3 = [], t$2 = { value: !1 };
|
|
16938
16803
|
for (this.expect("{"); !this.match("}");) this.match(";") ? this.nextToken() : e$3.push(this.parseClassElement(t$2));
|
|
@@ -17036,7 +16901,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17036
16901
|
return e$3;
|
|
17037
16902
|
}, e$2;
|
|
17038
16903
|
}();
|
|
17039
|
-
t$1.Parser = c;
|
|
17040
16904
|
},
|
|
17041
16905
|
function(e$1, t$1) {
|
|
17042
16906
|
Object.defineProperty(t$1, "__esModule", { value: !0 }), t$1.assert = function(e$2, t$2) {
|
|
@@ -17045,7 +16909,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17045
16909
|
},
|
|
17046
16910
|
function(e$1, t$1) {
|
|
17047
16911
|
Object.defineProperty(t$1, "__esModule", { value: !0 });
|
|
17048
|
-
|
|
16912
|
+
t$1.ErrorHandler = function() {
|
|
17049
16913
|
function e$2() {
|
|
17050
16914
|
this.errors = [], this.tolerant = !1;
|
|
17051
16915
|
}
|
|
@@ -17055,25 +16919,24 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17055
16919
|
if (!this.tolerant) throw e$3;
|
|
17056
16920
|
this.recordError(e$3);
|
|
17057
16921
|
}, e$2.prototype.constructError = function(e$3, t$2) {
|
|
17058
|
-
var r$
|
|
16922
|
+
var r$1 = new Error(e$3);
|
|
17059
16923
|
try {
|
|
17060
|
-
throw r$
|
|
16924
|
+
throw r$1;
|
|
17061
16925
|
} catch (e$4) {
|
|
17062
|
-
Object.create && Object.defineProperty && (r$
|
|
16926
|
+
Object.create && Object.defineProperty && (r$1 = Object.create(e$4), Object.defineProperty(r$1, "column", { value: t$2 }));
|
|
17063
16927
|
}
|
|
17064
|
-
return r$
|
|
17065
|
-
}, e$2.prototype.createError = function(e$3, t$2, r$
|
|
17066
|
-
var i$1 = "Line " + t$2 + ": " + n$1, o = this.constructError(i$1, r$
|
|
16928
|
+
return r$1;
|
|
16929
|
+
}, e$2.prototype.createError = function(e$3, t$2, r$1, n$1) {
|
|
16930
|
+
var i$1 = "Line " + t$2 + ": " + n$1, o = this.constructError(i$1, r$1);
|
|
17067
16931
|
return o.index = e$3, o.lineNumber = t$2, o.description = n$1, o;
|
|
17068
|
-
}, e$2.prototype.throwError = function(e$3, t$2, r$
|
|
17069
|
-
throw this.createError(e$3, t$2, r$
|
|
17070
|
-
}, e$2.prototype.tolerateError = function(e$3, t$2, r$
|
|
17071
|
-
var i$1 = this.createError(e$3, t$2, r$
|
|
16932
|
+
}, e$2.prototype.throwError = function(e$3, t$2, r$1, n$1) {
|
|
16933
|
+
throw this.createError(e$3, t$2, r$1, n$1);
|
|
16934
|
+
}, e$2.prototype.tolerateError = function(e$3, t$2, r$1, n$1) {
|
|
16935
|
+
var i$1 = this.createError(e$3, t$2, r$1, n$1);
|
|
17072
16936
|
if (!this.tolerant) throw i$1;
|
|
17073
16937
|
this.recordError(i$1);
|
|
17074
16938
|
}, e$2;
|
|
17075
16939
|
}();
|
|
17076
|
-
t$1.ErrorHandler = r$1;
|
|
17077
16940
|
},
|
|
17078
16941
|
function(e$1, t$1) {
|
|
17079
16942
|
Object.defineProperty(t$1, "__esModule", { value: !0 }), t$1.Messages = {
|
|
@@ -17146,7 +17009,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17146
17009
|
function s(e$2) {
|
|
17147
17010
|
return "01234567".indexOf(e$2);
|
|
17148
17011
|
}
|
|
17149
|
-
|
|
17012
|
+
t$1.Scanner = function() {
|
|
17150
17013
|
function e$2(e$3, t$2) {
|
|
17151
17014
|
this.source = e$3, this.errorHandler = t$2, this.trackComment = !1, this.isModule = !1, this.length = e$3.length, this.index = 0, this.lineNumber = e$3.length > 0 ? 1 : 0, this.lineStart = 0, this.curlyStack = [];
|
|
17152
17015
|
}
|
|
@@ -17464,8 +17327,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17464
17327
|
case "u":
|
|
17465
17328
|
if ("{" === this.source[this.index]) ++this.index, a$1 += this.scanUnicodeCodePointEscape();
|
|
17466
17329
|
else {
|
|
17467
|
-
var u
|
|
17468
|
-
null === u
|
|
17330
|
+
var u = this.scanHexEscape(s$1);
|
|
17331
|
+
null === u && this.throwUnexpectedToken(), a$1 += u;
|
|
17469
17332
|
}
|
|
17470
17333
|
break;
|
|
17471
17334
|
case "x":
|
|
@@ -17516,19 +17379,19 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17516
17379
|
}, e$2.prototype.scanTemplate = function() {
|
|
17517
17380
|
var e$3 = "", t$2 = !1, r$2 = this.index, n$2 = "`" === this.source[r$2], a$1 = !1, s$1 = 2;
|
|
17518
17381
|
for (++this.index; !this.eof();) {
|
|
17519
|
-
var u
|
|
17520
|
-
if ("`" === u
|
|
17382
|
+
var u = this.source[this.index++];
|
|
17383
|
+
if ("`" === u) {
|
|
17521
17384
|
s$1 = 1, a$1 = !0, t$2 = !0;
|
|
17522
17385
|
break;
|
|
17523
17386
|
}
|
|
17524
|
-
if ("$" === u
|
|
17387
|
+
if ("$" === u) {
|
|
17525
17388
|
if ("{" === this.source[this.index]) {
|
|
17526
17389
|
this.curlyStack.push("${"), ++this.index, t$2 = !0;
|
|
17527
17390
|
break;
|
|
17528
17391
|
}
|
|
17529
|
-
e$3 += u
|
|
17530
|
-
} else if ("\\" === u
|
|
17531
|
-
else switch (u
|
|
17392
|
+
e$3 += u;
|
|
17393
|
+
} else if ("\\" === u) if (u = this.source[this.index++], i$1.Character.isLineTerminator(u.charCodeAt(0))) ++this.lineNumber, "\r" === u && "\n" === this.source[this.index] && ++this.index, this.lineStart = this.index;
|
|
17394
|
+
else switch (u) {
|
|
17532
17395
|
case "n":
|
|
17533
17396
|
e$3 += "\n";
|
|
17534
17397
|
break;
|
|
@@ -17541,12 +17404,12 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17541
17404
|
case "u":
|
|
17542
17405
|
if ("{" === this.source[this.index]) ++this.index, e$3 += this.scanUnicodeCodePointEscape();
|
|
17543
17406
|
else {
|
|
17544
|
-
var l = this.index, c = this.scanHexEscape(u
|
|
17545
|
-
null !== c ? e$3 += c : (this.index = l, e$3 += u
|
|
17407
|
+
var l = this.index, c = this.scanHexEscape(u);
|
|
17408
|
+
null !== c ? e$3 += c : (this.index = l, e$3 += u);
|
|
17546
17409
|
}
|
|
17547
17410
|
break;
|
|
17548
17411
|
case "x":
|
|
17549
|
-
var h = this.scanHexEscape(u
|
|
17412
|
+
var h = this.scanHexEscape(u);
|
|
17550
17413
|
null === h && this.throwUnexpectedToken(o.Messages.InvalidHexEscapeSequence), e$3 += h;
|
|
17551
17414
|
break;
|
|
17552
17415
|
case "b":
|
|
@@ -17558,9 +17421,9 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17558
17421
|
case "v":
|
|
17559
17422
|
e$3 += "\v";
|
|
17560
17423
|
break;
|
|
17561
|
-
default: "0" === u
|
|
17424
|
+
default: "0" === u ? (i$1.Character.isDecimalDigit(this.source.charCodeAt(this.index)) && this.throwUnexpectedToken(o.Messages.TemplateOctalLiteral), e$3 += "\0") : i$1.Character.isOctalDigit(u.charCodeAt(0)) ? this.throwUnexpectedToken(o.Messages.TemplateOctalLiteral) : e$3 += u;
|
|
17562
17425
|
}
|
|
17563
|
-
else i$1.Character.isLineTerminator(u
|
|
17426
|
+
else i$1.Character.isLineTerminator(u.charCodeAt(0)) ? (++this.lineNumber, "\r" === u && "\n" === this.source[this.index] && ++this.index, this.lineStart = this.index, e$3 += "\n") : e$3 += u;
|
|
17564
17427
|
}
|
|
17565
17428
|
return t$2 || this.throwUnexpectedToken(), n$2 || this.curlyStack.pop(), {
|
|
17566
17429
|
type: 10,
|
|
@@ -17638,7 +17501,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17638
17501
|
return i$1.Character.isIdentifierStart(e$3) ? this.scanIdentifier() : 40 === e$3 || 41 === e$3 || 59 === e$3 ? this.scanPunctuator() : 39 === e$3 || 34 === e$3 ? this.scanStringLiteral() : 46 === e$3 ? i$1.Character.isDecimalDigit(this.source.charCodeAt(this.index + 1)) ? this.scanNumericLiteral() : this.scanPunctuator() : i$1.Character.isDecimalDigit(e$3) ? this.scanNumericLiteral() : 96 === e$3 || 125 === e$3 && "${" === this.curlyStack[this.curlyStack.length - 1] ? this.scanTemplate() : e$3 >= 55296 && e$3 < 57343 && i$1.Character.isIdentifierStart(this.codePointAt(this.index)) ? this.scanIdentifier() : this.scanPunctuator();
|
|
17639
17502
|
}, e$2;
|
|
17640
17503
|
}();
|
|
17641
|
-
t$1.Scanner = u;
|
|
17642
17504
|
},
|
|
17643
17505
|
function(e$1, t$1) {
|
|
17644
17506
|
Object.defineProperty(t$1, "__esModule", { value: !0 }), t$1.TokenName = {}, t$1.TokenName[1] = "Boolean", t$1.TokenName[2] = "<end>", t$1.TokenName[3] = "Identifier", t$1.TokenName[4] = "Keyword", t$1.TokenName[5] = "Null", t$1.TokenName[6] = "Numeric", t$1.TokenName[7] = "Punctuator", t$1.TokenName[8] = "String", t$1.TokenName[9] = "RegularExpression", t$1.TokenName[10] = "Template";
|
|
@@ -17983,7 +17845,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17983
17845
|
}, e$2.prototype.push = function(e$3) {
|
|
17984
17846
|
7 === e$3.type || 4 === e$3.type ? ("{" === e$3.value ? this.curly = this.values.length : "(" === e$3.value && (this.paren = this.values.length), this.values.push(e$3.value)) : this.values.push(null);
|
|
17985
17847
|
}, e$2;
|
|
17986
|
-
}()
|
|
17848
|
+
}();
|
|
17849
|
+
t$1.Tokenizer = function() {
|
|
17987
17850
|
function e$2(e$3, t$2) {
|
|
17988
17851
|
this.errorHandler = new n$1.ErrorHandler(), this.errorHandler.tolerant = !!t$2 && "boolean" == typeof t$2.tolerant && t$2.tolerant, this.scanner = new i$1.Scanner(e$3, this.errorHandler), this.scanner.trackComment = !!t$2 && "boolean" == typeof t$2.comment && t$2.comment, this.trackRange = !!t$2 && "boolean" == typeof t$2.range && t$2.range, this.trackLoc = !!t$2 && "boolean" == typeof t$2.loc && t$2.loc, this.buffer = [], this.reader = new a();
|
|
17989
17852
|
}
|
|
@@ -18008,17 +17871,17 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18008
17871
|
},
|
|
18009
17872
|
end: {}
|
|
18010
17873
|
});
|
|
18011
|
-
var s
|
|
18012
|
-
this.reader.push(s
|
|
17874
|
+
var s = "/" === this.scanner.source[this.scanner.index] && this.reader.isRegexStart() ? this.scanner.scanRegExp() : this.scanner.lex();
|
|
17875
|
+
this.reader.push(s);
|
|
18013
17876
|
var u = {
|
|
18014
|
-
type: o.TokenName[s
|
|
18015
|
-
value: this.scanner.source.slice(s
|
|
17877
|
+
type: o.TokenName[s.type],
|
|
17878
|
+
value: this.scanner.source.slice(s.start, s.end)
|
|
18016
17879
|
};
|
|
18017
|
-
if (this.trackRange && (u.range = [s
|
|
17880
|
+
if (this.trackRange && (u.range = [s.start, s.end]), this.trackLoc && (a$1.end = {
|
|
18018
17881
|
line: this.scanner.lineNumber,
|
|
18019
17882
|
column: this.scanner.index - this.scanner.lineStart
|
|
18020
|
-
}, u.loc = a$1), 9 === s
|
|
18021
|
-
var l = s
|
|
17883
|
+
}, u.loc = a$1), 9 === s.type) {
|
|
17884
|
+
var l = s.pattern, c = s.flags;
|
|
18022
17885
|
u.regex = {
|
|
18023
17886
|
pattern: l,
|
|
18024
17887
|
flags: c
|
|
@@ -18030,10 +17893,10 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18030
17893
|
return this.buffer.shift();
|
|
18031
17894
|
}, e$2;
|
|
18032
17895
|
}();
|
|
18033
|
-
t$1.Tokenizer = s;
|
|
18034
17896
|
}
|
|
18035
17897
|
]);
|
|
18036
|
-
}
|
|
17898
|
+
};
|
|
17899
|
+
e.exports = n();
|
|
18037
17900
|
},
|
|
18038
17901
|
function(e, t, r) {
|
|
18039
17902
|
var n = r(38), i$1 = r(53), o = r(76), a = r(54), s = Object.prototype.toString, u = Object.prototype.hasOwnProperty, l = {
|
|
@@ -18284,7 +18147,8 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18284
18147
|
return a$1;
|
|
18285
18148
|
};
|
|
18286
18149
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
18287
|
-
var s = r(91), u = r(2), l = r(183), c = r(0), h = r(7), p$3 = r(95), f = r(69), d = r(3), m = r(306), y = r(307), v = r(308)
|
|
18150
|
+
var s = r(91), u = r(2), l = r(183), c = r(0), h = r(7), p$3 = r(95), f = r(69), d = r(3), m = r(306), y = r(307), v = r(308);
|
|
18151
|
+
t.XMLBuilderCBImpl = function(e$1) {
|
|
18288
18152
|
function t$1(t$2, r$1) {
|
|
18289
18153
|
void 0 === r$1 && (r$1 = !1);
|
|
18290
18154
|
var n$1 = e$1.call(this) || this;
|
|
@@ -18573,7 +18437,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18573
18437
|
"wbr"
|
|
18574
18438
|
]), t$1;
|
|
18575
18439
|
}(r(309).EventEmitter);
|
|
18576
|
-
t.XMLBuilderCBImpl = _;
|
|
18577
18440
|
},
|
|
18578
18441
|
function(e, t, r) {
|
|
18579
18442
|
r(74);
|
|
@@ -18590,7 +18453,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18590
18453
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
18591
18454
|
});
|
|
18592
18455
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
18593
|
-
|
|
18456
|
+
t.XMLCBWriter = function(e$1) {
|
|
18594
18457
|
function t$1(t$2) {
|
|
18595
18458
|
var r$1 = e$1.call(this, t$2) || this;
|
|
18596
18459
|
return r$1._lineLength = 0, r$1;
|
|
@@ -18630,7 +18493,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18630
18493
|
return e$2 <= 0 ? "" : this._writerOptions.indent.repeat(e$2);
|
|
18631
18494
|
}, t$1;
|
|
18632
18495
|
}(r(114).BaseCBWriter);
|
|
18633
|
-
t.XMLCBWriter = o;
|
|
18634
18496
|
},
|
|
18635
18497
|
function(e, t, r) {
|
|
18636
18498
|
r(74);
|
|
@@ -18647,7 +18509,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18647
18509
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
18648
18510
|
});
|
|
18649
18511
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
18650
|
-
|
|
18512
|
+
t.JSONCBWriter = function(e$1) {
|
|
18651
18513
|
function t$1(t$2) {
|
|
18652
18514
|
var r$1 = e$1.call(this, t$2) || this;
|
|
18653
18515
|
return r$1._hasChildren = [], r$1._additionalLevel = 0, r$1;
|
|
@@ -18697,7 +18559,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18697
18559
|
return JSON.stringify(e$2);
|
|
18698
18560
|
}, t$1;
|
|
18699
18561
|
}(r(114).BaseCBWriter);
|
|
18700
|
-
t.JSONCBWriter = o;
|
|
18701
18562
|
},
|
|
18702
18563
|
function(e, t, r) {
|
|
18703
18564
|
r(74);
|
|
@@ -18714,7 +18575,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18714
18575
|
n(e$1, t$1), e$1.prototype = null === t$1 ? Object.create(t$1) : (r$1.prototype = t$1.prototype, new r$1());
|
|
18715
18576
|
});
|
|
18716
18577
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
18717
|
-
|
|
18578
|
+
t.YAMLCBWriter = function(e$1) {
|
|
18718
18579
|
function t$1(t$2) {
|
|
18719
18580
|
var r$1 = e$1.call(this, t$2) || this;
|
|
18720
18581
|
if (r$1._rootWritten = !1, r$1._additionalLevel = 0, t$2.indent.length < 2) throw new Error("YAML indententation string must be at least two characters long.");
|
|
@@ -18758,7 +18619,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18758
18619
|
return JSON.stringify(e$2);
|
|
18759
18620
|
}, t$1;
|
|
18760
18621
|
}(r(114).BaseCBWriter);
|
|
18761
|
-
t.YAMLCBWriter = o;
|
|
18762
18622
|
},
|
|
18763
18623
|
function(e, t, r) {
|
|
18764
18624
|
var n, i$1 = "object" == typeof Reflect ? Reflect : null, o = i$1 && "function" == typeof i$1.apply ? i$1.apply : function(e$1, t$1, r$1) {
|
|
@@ -18921,8 +18781,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18921
18781
|
}
|
|
18922
18782
|
]);
|
|
18923
18783
|
}));
|
|
18924
|
-
}) });
|
|
18925
|
-
var import_xmlbuilder2_min = /* @__PURE__ */ __toESM(require_xmlbuilder2_min());
|
|
18784
|
+
}) }))(), 1);
|
|
18926
18785
|
const BUILTIN_NAME_KEY = "#name";
|
|
18927
18786
|
const TEXT_NODE_NAME = "__text__";
|
|
18928
18787
|
const DefaultParserOptions = {
|
|
@@ -20459,7 +20318,7 @@ var require_string_decoder = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
20459
20318
|
return buf && buf.length ? this.write(buf) : "";
|
|
20460
20319
|
}
|
|
20461
20320
|
}) });
|
|
20462
|
-
var
|
|
20321
|
+
var import_sax = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/sax@1.4.1/node_modules/sax/lib/sax.js": ((exports$1) => {
|
|
20463
20322
|
(function(sax) {
|
|
20464
20323
|
sax.parser = function(strict, opt) {
|
|
20465
20324
|
return new SAXParser(strict, opt);
|
|
@@ -20529,8 +20388,7 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/sax@1.4
|
|
|
20529
20388
|
if (!Object.create) Object.create = function(o) {
|
|
20530
20389
|
function F() {}
|
|
20531
20390
|
F.prototype = o;
|
|
20532
|
-
|
|
20533
|
-
return newf;
|
|
20391
|
+
return new F();
|
|
20534
20392
|
};
|
|
20535
20393
|
if (!Object.keys) Object.keys = function(o) {
|
|
20536
20394
|
var a = [];
|
|
@@ -20558,8 +20416,7 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/sax@1.4
|
|
|
20558
20416
|
}
|
|
20559
20417
|
maxActual = Math.max(maxActual, len$1);
|
|
20560
20418
|
}
|
|
20561
|
-
|
|
20562
|
-
parser$1.bufferCheckPosition = m + parser$1.position;
|
|
20419
|
+
parser$1.bufferCheckPosition = sax.MAX_BUFFER_LENGTH - maxActual + parser$1.position;
|
|
20563
20420
|
}
|
|
20564
20421
|
function clearBuffers(parser$1) {
|
|
20565
20422
|
for (var i$1 = 0, l = buffers.length; i$1 < l; i$1++) parser$1[buffers[i$1]] = "";
|
|
@@ -21050,8 +20907,7 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/sax@1.4
|
|
|
21050
20907
|
emitNode(parser$1, "onopentagstart", tag);
|
|
21051
20908
|
}
|
|
21052
20909
|
function qname(name, attribute) {
|
|
21053
|
-
var
|
|
21054
|
-
var qualName = i$1 < 0 ? ["", name] : name.split(":");
|
|
20910
|
+
var qualName = name.indexOf(":") < 0 ? ["", name] : name.split(":");
|
|
21055
20911
|
var prefix = qualName[0];
|
|
21056
20912
|
var local = qualName[1];
|
|
21057
20913
|
if (attribute && name === "xmlns") {
|
|
@@ -21167,11 +21023,8 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/sax@1.4
|
|
|
21167
21023
|
var tagName = parser$1.tagName;
|
|
21168
21024
|
if (!parser$1.strict) tagName = tagName[parser$1.looseCase]();
|
|
21169
21025
|
var closeTo = tagName;
|
|
21170
|
-
while (t--)
|
|
21171
|
-
|
|
21172
|
-
if (close.name !== closeTo) strictFail(parser$1, "Unexpected close tag");
|
|
21173
|
-
else break;
|
|
21174
|
-
}
|
|
21026
|
+
while (t--) if (parser$1.tags[t].name !== closeTo) strictFail(parser$1, "Unexpected close tag");
|
|
21027
|
+
else break;
|
|
21175
21028
|
if (t < 0) {
|
|
21176
21029
|
strictFail(parser$1, "Unmatched closing tag: " + parser$1.tagName);
|
|
21177
21030
|
parser$1.textNode += "</" + parser$1.tagName + ">";
|
|
@@ -21685,8 +21538,7 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/sax@1.4
|
|
|
21685
21538
|
else String.fromCodePoint = fromCodePoint;
|
|
21686
21539
|
})();
|
|
21687
21540
|
})(typeof exports$1 === "undefined" ? exports$1.sax = {} : exports$1);
|
|
21688
|
-
}) });
|
|
21689
|
-
var import_sax = /* @__PURE__ */ __toESM(require_sax());
|
|
21541
|
+
}) }))(), 1);
|
|
21690
21542
|
var Parser = class {
|
|
21691
21543
|
get xmlnsKey() {
|
|
21692
21544
|
return `${this.options.attrkey}ns`;
|
|
@@ -21827,8 +21679,7 @@ var Parser = class {
|
|
|
21827
21679
|
}
|
|
21828
21680
|
};
|
|
21829
21681
|
const parseStringPromise = (convertableToString, options) => {
|
|
21830
|
-
|
|
21831
|
-
return parser$1.parseStringPromise(convertableToString);
|
|
21682
|
+
return new Parser(options).parseStringPromise(convertableToString);
|
|
21832
21683
|
};
|
|
21833
21684
|
const isEmpty = (thing) => typeof thing === "object" && thing !== null && Object.keys(thing).length === 0;
|
|
21834
21685
|
const processItem = (processors, item, key) => {
|
|
@@ -22108,8 +21959,8 @@ var require_mime_type = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
22108
21959
|
}) });
|
|
22109
21960
|
|
|
22110
21961
|
//#endregion
|
|
22111
|
-
//#region ../../node_modules/.pnpm/webidl-conversions@
|
|
22112
|
-
var require_lib = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/webidl-conversions@
|
|
21962
|
+
//#region ../../node_modules/.pnpm/webidl-conversions@8.0.0/node_modules/webidl-conversions/lib/index.js
|
|
21963
|
+
var require_lib = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/webidl-conversions@8.0.0/node_modules/webidl-conversions/lib/index.js": ((exports) => {
|
|
22113
21964
|
function makeException(ErrorType, message, options) {
|
|
22114
21965
|
if (options.globals) ErrorType = options.globals[ErrorType.name];
|
|
22115
21966
|
return new ErrorType(`${options.context ? options.context : "Value"} ${message}.`);
|
|
@@ -22197,9 +22048,7 @@ var require_lib = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/webid
|
|
|
22197
22048
|
exports.any = (value) => {
|
|
22198
22049
|
return value;
|
|
22199
22050
|
};
|
|
22200
|
-
exports.undefined = () => {
|
|
22201
|
-
return void 0;
|
|
22202
|
-
};
|
|
22051
|
+
exports.undefined = () => {};
|
|
22203
22052
|
exports.boolean = (value) => {
|
|
22204
22053
|
return Boolean(value);
|
|
22205
22054
|
};
|
|
@@ -22217,8 +22066,7 @@ var require_lib = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/webid
|
|
|
22217
22066
|
return x;
|
|
22218
22067
|
};
|
|
22219
22068
|
exports["unrestricted double"] = (value, options = {}) => {
|
|
22220
|
-
|
|
22221
|
-
return x;
|
|
22069
|
+
return toNumber(value, options);
|
|
22222
22070
|
};
|
|
22223
22071
|
exports.float = (value, options = {}) => {
|
|
22224
22072
|
const x = toNumber(value, options);
|
|
@@ -22237,8 +22085,7 @@ var require_lib = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/webid
|
|
|
22237
22085
|
exports.DOMString = (value, options = {}) => {
|
|
22238
22086
|
if (options.treatNullAsEmptyString && value === null) return "";
|
|
22239
22087
|
if (typeof value === "symbol") throw makeException(TypeError, "is a symbol, which cannot be converted to a string", options);
|
|
22240
|
-
|
|
22241
|
-
return StringCtor(value);
|
|
22088
|
+
return (options.globals ? options.globals.String : String)(value);
|
|
22242
22089
|
};
|
|
22243
22090
|
exports.ByteString = (value, options = {}) => {
|
|
22244
22091
|
const x = exports.DOMString(value, options);
|
|
@@ -22272,7 +22119,7 @@ var require_lib = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/webid
|
|
|
22272
22119
|
return value;
|
|
22273
22120
|
};
|
|
22274
22121
|
const abByteLengthGetter = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength").get;
|
|
22275
|
-
const sabByteLengthGetter =
|
|
22122
|
+
const sabByteLengthGetter = Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype, "byteLength").get;
|
|
22276
22123
|
function isNonSharedArrayBuffer(value) {
|
|
22277
22124
|
try {
|
|
22278
22125
|
abByteLengthGetter.call(value);
|
|
@@ -22289,6 +22136,22 @@ var require_lib = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/webid
|
|
|
22289
22136
|
return false;
|
|
22290
22137
|
}
|
|
22291
22138
|
}
|
|
22139
|
+
const abResizableGetter = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "resizable").get;
|
|
22140
|
+
const sabGrowableGetter = Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype, "growable").get;
|
|
22141
|
+
function isNonSharedArrayBufferResizable(value) {
|
|
22142
|
+
try {
|
|
22143
|
+
return abResizableGetter.call(value);
|
|
22144
|
+
} catch {
|
|
22145
|
+
return false;
|
|
22146
|
+
}
|
|
22147
|
+
}
|
|
22148
|
+
function isSharedArrayBufferGrowable(value) {
|
|
22149
|
+
try {
|
|
22150
|
+
return sabGrowableGetter.call(value);
|
|
22151
|
+
} catch {
|
|
22152
|
+
return false;
|
|
22153
|
+
}
|
|
22154
|
+
}
|
|
22292
22155
|
function isArrayBufferDetached(value) {
|
|
22293
22156
|
try {
|
|
22294
22157
|
new Uint8Array(value);
|
|
@@ -22298,23 +22161,24 @@ var require_lib = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/webid
|
|
|
22298
22161
|
}
|
|
22299
22162
|
}
|
|
22300
22163
|
exports.ArrayBuffer = (value, options = {}) => {
|
|
22301
|
-
if (!isNonSharedArrayBuffer(value))
|
|
22302
|
-
|
|
22303
|
-
throw makeException(TypeError, "is not an ArrayBuffer", options);
|
|
22304
|
-
}
|
|
22164
|
+
if (!isNonSharedArrayBuffer(value)) throw makeException(TypeError, "is not an ArrayBuffer", options);
|
|
22165
|
+
if (!options.allowResizable && isNonSharedArrayBufferResizable(value)) throw makeException(TypeError, "is a resizable ArrayBuffer", options);
|
|
22305
22166
|
if (isArrayBufferDetached(value)) throw makeException(TypeError, "is a detached ArrayBuffer", options);
|
|
22306
22167
|
return value;
|
|
22307
22168
|
};
|
|
22169
|
+
exports.SharedArrayBuffer = (value, options = {}) => {
|
|
22170
|
+
if (!isSharedArrayBuffer(value)) throw makeException(TypeError, "is not a SharedArrayBuffer", options);
|
|
22171
|
+
if (!options.allowResizable && isSharedArrayBufferGrowable(value)) throw makeException(TypeError, "is a growable SharedArrayBuffer", options);
|
|
22172
|
+
return value;
|
|
22173
|
+
};
|
|
22308
22174
|
const dvByteLengthGetter = Object.getOwnPropertyDescriptor(DataView.prototype, "byteLength").get;
|
|
22309
22175
|
exports.DataView = (value, options = {}) => {
|
|
22310
22176
|
try {
|
|
22311
22177
|
dvByteLengthGetter.call(value);
|
|
22312
|
-
} catch
|
|
22178
|
+
} catch {
|
|
22313
22179
|
throw makeException(TypeError, "is not a DataView", options);
|
|
22314
22180
|
}
|
|
22315
|
-
|
|
22316
|
-
if (isArrayBufferDetached(value.buffer)) throw makeException(TypeError, "is backed by a detached ArrayBuffer", options);
|
|
22317
|
-
return value;
|
|
22181
|
+
return exports.ArrayBufferView(value, options);
|
|
22318
22182
|
};
|
|
22319
22183
|
const typedArrayNameGetter = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Uint8Array).prototype, Symbol.toStringTag).get;
|
|
22320
22184
|
[
|
|
@@ -22332,38 +22196,36 @@ var require_lib = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/webid
|
|
|
22332
22196
|
const article = /^[AEIOU]/u.test(name) ? "an" : "a";
|
|
22333
22197
|
exports[name] = (value, options = {}) => {
|
|
22334
22198
|
if (!ArrayBuffer.isView(value) || typedArrayNameGetter.call(value) !== name) throw makeException(TypeError, `is not ${article} ${name} object`, options);
|
|
22335
|
-
|
|
22336
|
-
if (isArrayBufferDetached(value.buffer)) throw makeException(TypeError, "is a view on a detached ArrayBuffer", options);
|
|
22337
|
-
return value;
|
|
22199
|
+
return exports.ArrayBufferView(value, options);
|
|
22338
22200
|
};
|
|
22339
22201
|
});
|
|
22340
22202
|
exports.ArrayBufferView = (value, options = {}) => {
|
|
22341
22203
|
if (!ArrayBuffer.isView(value)) throw makeException(TypeError, "is not a view on an ArrayBuffer or SharedArrayBuffer", options);
|
|
22342
22204
|
if (!options.allowShared && isSharedArrayBuffer(value.buffer)) throw makeException(TypeError, "is a view on a SharedArrayBuffer, which is not allowed", options);
|
|
22205
|
+
if (!options.allowResizable) {
|
|
22206
|
+
if (isNonSharedArrayBufferResizable(value.buffer)) throw makeException(TypeError, "is a view on a resizable ArrayBuffer, which is not allowed", options);
|
|
22207
|
+
else if (isSharedArrayBufferGrowable(value.buffer)) throw makeException(TypeError, "is a view on a growable SharedArrayBuffer, which is not allowed", options);
|
|
22208
|
+
}
|
|
22343
22209
|
if (isArrayBufferDetached(value.buffer)) throw makeException(TypeError, "is a view on a detached ArrayBuffer", options);
|
|
22344
22210
|
return value;
|
|
22345
22211
|
};
|
|
22346
22212
|
exports.BufferSource = (value, options = {}) => {
|
|
22347
|
-
if (ArrayBuffer.isView(value))
|
|
22348
|
-
|
|
22349
|
-
|
|
22350
|
-
|
|
22351
|
-
|
|
22352
|
-
if (!options.allowShared && !isNonSharedArrayBuffer(value)) throw makeException(TypeError, "is not an ArrayBuffer or a view on one", options);
|
|
22353
|
-
if (options.allowShared && !isSharedArrayBuffer(value) && !isNonSharedArrayBuffer(value)) throw makeException(TypeError, "is not an ArrayBuffer, SharedArrayBuffer, or a view on one", options);
|
|
22354
|
-
if (isArrayBufferDetached(value)) throw makeException(TypeError, "is a detached ArrayBuffer", options);
|
|
22355
|
-
return value;
|
|
22213
|
+
if (ArrayBuffer.isView(value)) return exports.ArrayBufferView(value, options);
|
|
22214
|
+
if (isNonSharedArrayBuffer(value)) return exports.ArrayBuffer(value, options);
|
|
22215
|
+
else if (options.allowShared && isSharedArrayBuffer(value)) return exports.SharedArrayBuffer(value, options);
|
|
22216
|
+
if (options.allowShared) throw makeException(TypeError, "is not an ArrayBuffer, SharedArrayBuffer, or a view on one", options);
|
|
22217
|
+
else throw makeException(TypeError, "is not an ArrayBuffer or a view on one", options);
|
|
22356
22218
|
};
|
|
22357
22219
|
exports.DOMTimeStamp = exports["unsigned long long"];
|
|
22358
22220
|
}) });
|
|
22359
22221
|
|
|
22360
22222
|
//#endregion
|
|
22361
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
22362
|
-
var require_utils$1 = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
22223
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/utils.js
|
|
22224
|
+
var require_utils$1 = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/utils.js": ((exports, module) => {
|
|
22363
22225
|
function isObject(value) {
|
|
22364
22226
|
return typeof value === "object" && value !== null || typeof value === "function";
|
|
22365
22227
|
}
|
|
22366
|
-
const
|
|
22228
|
+
const call = Function.call.bind(Function.call);
|
|
22367
22229
|
function define$1(target, source) {
|
|
22368
22230
|
for (const key of Reflect.ownKeys(source)) {
|
|
22369
22231
|
const descriptor = Reflect.getOwnPropertyDescriptor(source, key);
|
|
@@ -22380,7 +22242,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/w
|
|
|
22380
22242
|
const ctorRegistrySymbol$2 = Symbol.for("[webidl2js] constructor registry");
|
|
22381
22243
|
const AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(async function* () {}).prototype);
|
|
22382
22244
|
function initCtorRegistry(globalObject) {
|
|
22383
|
-
if (hasOwn(globalObject, ctorRegistrySymbol$2)) return globalObject[ctorRegistrySymbol$2];
|
|
22245
|
+
if (Object.hasOwn(globalObject, ctorRegistrySymbol$2)) return globalObject[ctorRegistrySymbol$2];
|
|
22384
22246
|
const ctorRegistry = Object.create(null);
|
|
22385
22247
|
ctorRegistry["%Object.prototype%"] = globalObject.Object.prototype;
|
|
22386
22248
|
ctorRegistry["%IteratorPrototype%"] = Object.getPrototypeOf(Object.getPrototypeOf(new globalObject.Array()[Symbol.iterator]()));
|
|
@@ -22426,7 +22288,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/w
|
|
|
22426
22288
|
try {
|
|
22427
22289
|
byteLengthGetter.call(value);
|
|
22428
22290
|
return true;
|
|
22429
|
-
} catch
|
|
22291
|
+
} catch {
|
|
22430
22292
|
return false;
|
|
22431
22293
|
}
|
|
22432
22294
|
}
|
|
@@ -22448,6 +22310,45 @@ var require_utils$1 = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/w
|
|
|
22448
22310
|
done: false
|
|
22449
22311
|
};
|
|
22450
22312
|
}
|
|
22313
|
+
function ordinarySetWithOwnDescriptor(target, property, value, receiver, ownDesc) {
|
|
22314
|
+
if (ownDesc === void 0) {
|
|
22315
|
+
const parent = Reflect.getPrototypeOf(target);
|
|
22316
|
+
if (parent !== null) return Reflect.set(parent, property, value, receiver);
|
|
22317
|
+
ownDesc = {
|
|
22318
|
+
writable: true,
|
|
22319
|
+
enumerable: true,
|
|
22320
|
+
configurable: true,
|
|
22321
|
+
value: void 0
|
|
22322
|
+
};
|
|
22323
|
+
}
|
|
22324
|
+
if (isDataDescriptor(ownDesc)) {
|
|
22325
|
+
if (!ownDesc.writable) return false;
|
|
22326
|
+
if (!isObject(receiver)) return false;
|
|
22327
|
+
const existingDesc = Reflect.getOwnPropertyDescriptor(receiver, property);
|
|
22328
|
+
if (existingDesc !== void 0) {
|
|
22329
|
+
if (isAccessorDescriptor(existingDesc)) return false;
|
|
22330
|
+
if (existingDesc.writable === false) return false;
|
|
22331
|
+
const valueDesc = { value };
|
|
22332
|
+
return Reflect.defineProperty(receiver, property, valueDesc);
|
|
22333
|
+
}
|
|
22334
|
+
return Reflect.defineProperty(receiver, property, {
|
|
22335
|
+
value,
|
|
22336
|
+
writable: true,
|
|
22337
|
+
enumerable: true,
|
|
22338
|
+
configurable: true
|
|
22339
|
+
});
|
|
22340
|
+
}
|
|
22341
|
+
const setter = ownDesc.set;
|
|
22342
|
+
if (setter === void 0) return false;
|
|
22343
|
+
call(setter, receiver, value);
|
|
22344
|
+
return true;
|
|
22345
|
+
}
|
|
22346
|
+
function isDataDescriptor(desc) {
|
|
22347
|
+
return Object.hasOwn(desc, "value") || Object.hasOwn(desc, "writable");
|
|
22348
|
+
}
|
|
22349
|
+
function isAccessorDescriptor(desc) {
|
|
22350
|
+
return Object.hasOwn(desc, "get") || Object.hasOwn(desc, "set");
|
|
22351
|
+
}
|
|
22451
22352
|
const supportsPropertyIndex = Symbol("supports property index");
|
|
22452
22353
|
const supportedPropertyIndices = Symbol("supported property indices");
|
|
22453
22354
|
const supportsPropertyName = Symbol("supports property name");
|
|
@@ -22465,7 +22366,6 @@ var require_utils$1 = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/w
|
|
|
22465
22366
|
const asyncIteratorEOI = Symbol("async iterator end of iteration");
|
|
22466
22367
|
module.exports = exports = {
|
|
22467
22368
|
isObject,
|
|
22468
|
-
hasOwn,
|
|
22469
22369
|
define: define$1,
|
|
22470
22370
|
newObjectInRealm: newObjectInRealm$1,
|
|
22471
22371
|
wrapperSymbol,
|
|
@@ -22495,14 +22395,14 @@ var require_utils$1 = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/w
|
|
|
22495
22395
|
asyncIteratorReturn,
|
|
22496
22396
|
asyncIteratorInit,
|
|
22497
22397
|
asyncIteratorEOI,
|
|
22498
|
-
iteratorResult
|
|
22398
|
+
iteratorResult,
|
|
22399
|
+
ordinarySetWithOwnDescriptor
|
|
22499
22400
|
};
|
|
22500
22401
|
}) });
|
|
22501
22402
|
|
|
22502
22403
|
//#endregion
|
|
22503
22404
|
//#region ../../node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.es6.js
|
|
22504
|
-
var punycode_es6_exports = {
|
|
22505
|
-
__export(punycode_es6_exports, {
|
|
22405
|
+
var punycode_es6_exports = __export({
|
|
22506
22406
|
decode: () => decode,
|
|
22507
22407
|
default: () => punycode_es6_default,
|
|
22508
22408
|
encode: () => encode,
|
|
@@ -56488,12 +56388,11 @@ var require_tr46 = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/tr46
|
|
|
56488
56388
|
transitionalProcessingForThisLabel = false;
|
|
56489
56389
|
}
|
|
56490
56390
|
if (error$1) continue;
|
|
56491
|
-
|
|
56391
|
+
if (!validateLabel(label, {
|
|
56492
56392
|
...options,
|
|
56493
56393
|
transitionalProcessing: transitionalProcessingForThisLabel,
|
|
56494
56394
|
isBidi
|
|
56495
|
-
});
|
|
56496
|
-
if (!validation) error$1 = true;
|
|
56395
|
+
})) error$1 = true;
|
|
56497
56396
|
}
|
|
56498
56397
|
return {
|
|
56499
56398
|
string: labels.join("."),
|
|
@@ -56550,8 +56449,8 @@ var require_tr46 = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/tr46
|
|
|
56550
56449
|
}) });
|
|
56551
56450
|
|
|
56552
56451
|
//#endregion
|
|
56553
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
56554
|
-
var require_infra = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
56452
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/infra.js
|
|
56453
|
+
var require_infra = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/infra.js": ((exports, module) => {
|
|
56555
56454
|
function isASCIIDigit(c) {
|
|
56556
56455
|
return c >= 48 && c <= 57;
|
|
56557
56456
|
}
|
|
@@ -56573,8 +56472,8 @@ var require_infra = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/wha
|
|
|
56573
56472
|
}) });
|
|
56574
56473
|
|
|
56575
56474
|
//#endregion
|
|
56576
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
56577
|
-
var require_encoding = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
56475
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/encoding.js
|
|
56476
|
+
var require_encoding = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/encoding.js": ((exports, module) => {
|
|
56578
56477
|
const utf8Encoder = new TextEncoder();
|
|
56579
56478
|
const utf8Decoder = new TextDecoder("utf-8", { ignoreBOM: true });
|
|
56580
56479
|
function utf8Encode$2(string) {
|
|
@@ -56590,8 +56489,8 @@ var require_encoding = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/
|
|
|
56590
56489
|
}) });
|
|
56591
56490
|
|
|
56592
56491
|
//#endregion
|
|
56593
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
56594
|
-
var require_percent_encoding = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
56492
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/percent-encoding.js
|
|
56493
|
+
var require_percent_encoding = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/percent-encoding.js": ((exports, module) => {
|
|
56595
56494
|
const { isASCIIHex } = require_infra();
|
|
56596
56495
|
const { utf8Encode: utf8Encode$1 } = require_encoding();
|
|
56597
56496
|
function p$2(char) {
|
|
@@ -56723,8 +56622,8 @@ var require_percent_encoding = /* @__PURE__ */ __commonJS$1({ "../../node_module
|
|
|
56723
56622
|
}) });
|
|
56724
56623
|
|
|
56725
56624
|
//#endregion
|
|
56726
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
56727
|
-
var require_url_state_machine = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
56625
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/url-state-machine.js
|
|
56626
|
+
var require_url_state_machine = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/url-state-machine.js": ((exports, module) => {
|
|
56728
56627
|
const tr46 = require_tr46();
|
|
56729
56628
|
const infra = require_infra();
|
|
56730
56629
|
const { utf8DecodeWithoutBOM: utf8DecodeWithoutBOM$1 } = require_encoding();
|
|
@@ -56920,8 +56819,7 @@ var require_url_state_machine = /* @__PURE__ */ __commonJS$1({ "../../node_modul
|
|
|
56920
56819
|
if (ignore0 && address[pieceIndex] === 0) continue;
|
|
56921
56820
|
else if (ignore0) ignore0 = false;
|
|
56922
56821
|
if (compress === pieceIndex) {
|
|
56923
|
-
|
|
56924
|
-
output += separator;
|
|
56822
|
+
output += pieceIndex === 0 ? "::" : ":";
|
|
56925
56823
|
ignore0 = true;
|
|
56926
56824
|
continue;
|
|
56927
56825
|
}
|
|
@@ -57055,9 +56953,9 @@ var require_url_state_machine = /* @__PURE__ */ __commonJS$1({ "../../node_modul
|
|
|
57055
56953
|
this.input = res;
|
|
57056
56954
|
this.state = stateOverride || "scheme start";
|
|
57057
56955
|
this.buffer = "";
|
|
57058
|
-
this.
|
|
57059
|
-
this.
|
|
57060
|
-
this.
|
|
56956
|
+
this.atSignSeen = false;
|
|
56957
|
+
this.insideBrackets = false;
|
|
56958
|
+
this.passwordTokenSeen = false;
|
|
57061
56959
|
this.input = Array.from(this.input, (c) => c.codePointAt(0));
|
|
57062
56960
|
for (; this.pointer <= this.input.length; ++this.pointer) {
|
|
57063
56961
|
const c = this.input[this.pointer];
|
|
@@ -57220,22 +57118,22 @@ var require_url_state_machine = /* @__PURE__ */ __commonJS$1({ "../../node_modul
|
|
|
57220
57118
|
URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) {
|
|
57221
57119
|
if (c === p$1("@")) {
|
|
57222
57120
|
this.parseError = true;
|
|
57223
|
-
if (this.
|
|
57224
|
-
this.
|
|
57121
|
+
if (this.atSignSeen) this.buffer = `%40${this.buffer}`;
|
|
57122
|
+
this.atSignSeen = true;
|
|
57225
57123
|
const len = countSymbols(this.buffer);
|
|
57226
57124
|
for (let pointer = 0; pointer < len; ++pointer) {
|
|
57227
57125
|
const codePoint = this.buffer.codePointAt(pointer);
|
|
57228
|
-
if (codePoint === p$1(":") && !this.
|
|
57229
|
-
this.
|
|
57126
|
+
if (codePoint === p$1(":") && !this.passwordTokenSeen) {
|
|
57127
|
+
this.passwordTokenSeen = true;
|
|
57230
57128
|
continue;
|
|
57231
57129
|
}
|
|
57232
57130
|
const encodedCodePoints = utf8PercentEncodeCodePoint(codePoint, isUserinfoPercentEncode);
|
|
57233
|
-
if (this.
|
|
57131
|
+
if (this.passwordTokenSeen) this.url.password += encodedCodePoints;
|
|
57234
57132
|
else this.url.username += encodedCodePoints;
|
|
57235
57133
|
}
|
|
57236
57134
|
this.buffer = "";
|
|
57237
57135
|
} else if (isNaN(c) || c === p$1("/") || c === p$1("?") || c === p$1("#") || isSpecial(this.url) && c === p$1("\\")) {
|
|
57238
|
-
if (this.
|
|
57136
|
+
if (this.atSignSeen && this.buffer === "") {
|
|
57239
57137
|
this.parseError = true;
|
|
57240
57138
|
return failure;
|
|
57241
57139
|
}
|
|
@@ -57249,12 +57147,12 @@ var require_url_state_machine = /* @__PURE__ */ __commonJS$1({ "../../node_modul
|
|
|
57249
57147
|
if (this.stateOverride && this.url.scheme === "file") {
|
|
57250
57148
|
--this.pointer;
|
|
57251
57149
|
this.state = "file host";
|
|
57252
|
-
} else if (c === p$1(":") && !this.
|
|
57150
|
+
} else if (c === p$1(":") && !this.insideBrackets) {
|
|
57253
57151
|
if (this.buffer === "") {
|
|
57254
57152
|
this.parseError = true;
|
|
57255
57153
|
return failure;
|
|
57256
57154
|
}
|
|
57257
|
-
if (this.stateOverride === "hostname") return
|
|
57155
|
+
if (this.stateOverride === "hostname") return failure;
|
|
57258
57156
|
const host = parseHost(this.buffer, isNotSpecial(this.url));
|
|
57259
57157
|
if (host === failure) return failure;
|
|
57260
57158
|
this.url.host = host;
|
|
@@ -57267,7 +57165,7 @@ var require_url_state_machine = /* @__PURE__ */ __commonJS$1({ "../../node_modul
|
|
|
57267
57165
|
return failure;
|
|
57268
57166
|
} else if (this.stateOverride && this.buffer === "" && (includesCredentials(this.url) || this.url.port !== null)) {
|
|
57269
57167
|
this.parseError = true;
|
|
57270
|
-
return
|
|
57168
|
+
return failure;
|
|
57271
57169
|
}
|
|
57272
57170
|
const host = parseHost(this.buffer, isNotSpecial(this.url));
|
|
57273
57171
|
if (host === failure) return failure;
|
|
@@ -57276,8 +57174,8 @@ var require_url_state_machine = /* @__PURE__ */ __commonJS$1({ "../../node_modul
|
|
|
57276
57174
|
this.state = "path start";
|
|
57277
57175
|
if (this.stateOverride) return false;
|
|
57278
57176
|
} else {
|
|
57279
|
-
if (c === p$1("[")) this.
|
|
57280
|
-
else if (c === p$1("]")) this.
|
|
57177
|
+
if (c === p$1("[")) this.insideBrackets = true;
|
|
57178
|
+
else if (c === p$1("]")) this.insideBrackets = false;
|
|
57281
57179
|
this.buffer += cStr;
|
|
57282
57180
|
}
|
|
57283
57181
|
return true;
|
|
@@ -57293,8 +57191,9 @@ var require_url_state_machine = /* @__PURE__ */ __commonJS$1({ "../../node_modul
|
|
|
57293
57191
|
}
|
|
57294
57192
|
this.url.port = port === defaultPort(this.url.scheme) ? null : port;
|
|
57295
57193
|
this.buffer = "";
|
|
57194
|
+
if (this.stateOverride) return false;
|
|
57296
57195
|
}
|
|
57297
|
-
if (this.stateOverride) return
|
|
57196
|
+
if (this.stateOverride) return failure;
|
|
57298
57197
|
this.state = "path start";
|
|
57299
57198
|
--this.pointer;
|
|
57300
57199
|
} else {
|
|
@@ -57546,8 +57445,8 @@ var require_url_state_machine = /* @__PURE__ */ __commonJS$1({ "../../node_modul
|
|
|
57546
57445
|
}) });
|
|
57547
57446
|
|
|
57548
57447
|
//#endregion
|
|
57549
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
57550
|
-
var require_urlencoded = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
57448
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/urlencoded.js
|
|
57449
|
+
var require_urlencoded = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/urlencoded.js": ((exports, module) => {
|
|
57551
57450
|
const { utf8Encode, utf8DecodeWithoutBOM } = require_encoding();
|
|
57552
57451
|
const { percentDecodeBytes, utf8PercentEncodeString, isURLEncodedPercentEncode } = require_percent_encoding();
|
|
57553
57452
|
function p(char) {
|
|
@@ -57615,8 +57514,8 @@ var require_urlencoded = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnp
|
|
|
57615
57514
|
}) });
|
|
57616
57515
|
|
|
57617
57516
|
//#endregion
|
|
57618
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
57619
|
-
var require_Function = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
57517
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/Function.js
|
|
57518
|
+
var require_Function = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/Function.js": ((exports) => {
|
|
57620
57519
|
const conversions$2 = require_lib();
|
|
57621
57520
|
const utils$2 = require_utils$1();
|
|
57622
57521
|
exports.convert = (globalObject, value, { context = "The provided value" } = {}) => {
|
|
@@ -57648,8 +57547,8 @@ var require_Function = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/
|
|
|
57648
57547
|
}) });
|
|
57649
57548
|
|
|
57650
57549
|
//#endregion
|
|
57651
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
57652
|
-
var require_URLSearchParams_impl = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
57550
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/URLSearchParams-impl.js
|
|
57551
|
+
var require_URLSearchParams_impl = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/URLSearchParams-impl.js": ((exports) => {
|
|
57653
57552
|
const urlencoded$1 = require_urlencoded();
|
|
57654
57553
|
exports.implementation = class URLSearchParamsImpl {
|
|
57655
57554
|
constructor(globalObject, constructorArgs, { doNotStripQMark = false }) {
|
|
@@ -57731,8 +57630,8 @@ var require_URLSearchParams_impl = /* @__PURE__ */ __commonJS$1({ "../../node_mo
|
|
|
57731
57630
|
}) });
|
|
57732
57631
|
|
|
57733
57632
|
//#endregion
|
|
57734
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
57735
|
-
var require_URLSearchParams = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
57633
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/URLSearchParams.js
|
|
57634
|
+
var require_URLSearchParams = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/URLSearchParams.js": ((exports) => {
|
|
57736
57635
|
const conversions$1 = require_lib();
|
|
57737
57636
|
const utils$1 = require_utils$1();
|
|
57738
57637
|
const Function$1 = require_Function();
|
|
@@ -57741,7 +57640,7 @@ var require_URLSearchParams = /* @__PURE__ */ __commonJS$1({ "../../node_modules
|
|
|
57741
57640
|
const ctorRegistrySymbol$1 = utils$1.ctorRegistrySymbol;
|
|
57742
57641
|
const interfaceName$1 = "URLSearchParams";
|
|
57743
57642
|
exports.is = (value) => {
|
|
57744
|
-
return utils$1.isObject(value) &&
|
|
57643
|
+
return utils$1.isObject(value) && Object.hasOwn(value, implSymbol$1) && value[implSymbol$1] instanceof Impl$1.implementation;
|
|
57745
57644
|
};
|
|
57746
57645
|
exports.isImpl = (value) => {
|
|
57747
57646
|
return utils$1.isObject(value) && value instanceof Impl$1.implementation;
|
|
@@ -57751,8 +57650,7 @@ var require_URLSearchParams = /* @__PURE__ */ __commonJS$1({ "../../node_modules
|
|
|
57751
57650
|
throw new globalObject.TypeError(`${context} is not of type 'URLSearchParams'.`);
|
|
57752
57651
|
};
|
|
57753
57652
|
exports.createDefaultIterator = (globalObject, target, kind) => {
|
|
57754
|
-
const
|
|
57755
|
-
const iteratorPrototype = ctorRegistry["URLSearchParams Iterator"];
|
|
57653
|
+
const iteratorPrototype = globalObject[ctorRegistrySymbol$1]["URLSearchParams Iterator"];
|
|
57756
57654
|
const iterator = Object.create(iteratorPrototype);
|
|
57757
57655
|
Object.defineProperty(iterator, utils$1.iterInternalSymbol, {
|
|
57758
57656
|
value: {
|
|
@@ -58079,8 +57977,8 @@ var require_URLSearchParams = /* @__PURE__ */ __commonJS$1({ "../../node_modules
|
|
|
58079
57977
|
}) });
|
|
58080
57978
|
|
|
58081
57979
|
//#endregion
|
|
58082
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
58083
|
-
var require_URL_impl = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
57980
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/URL-impl.js
|
|
57981
|
+
var require_URL_impl = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/URL-impl.js": ((exports) => {
|
|
58084
57982
|
const usm = require_url_state_machine();
|
|
58085
57983
|
const urlencoded = require_urlencoded();
|
|
58086
57984
|
const URLSearchParams$2 = require_URLSearchParams();
|
|
@@ -58111,8 +58009,7 @@ var require_URL_impl = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/
|
|
|
58111
58009
|
parsedBase = usm.basicURLParse(base$1);
|
|
58112
58010
|
if (parsedBase === null) return false;
|
|
58113
58011
|
}
|
|
58114
|
-
|
|
58115
|
-
if (parsedURL === null) return false;
|
|
58012
|
+
if (usm.basicURLParse(url, { baseURL: parsedBase }) === null) return false;
|
|
58116
58013
|
return true;
|
|
58117
58014
|
}
|
|
58118
58015
|
get href() {
|
|
@@ -58244,15 +58141,15 @@ var require_URL_impl = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/
|
|
|
58244
58141
|
}) });
|
|
58245
58142
|
|
|
58246
58143
|
//#endregion
|
|
58247
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
58248
|
-
var require_URL = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
58144
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/URL.js
|
|
58145
|
+
var require_URL = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/lib/URL.js": ((exports) => {
|
|
58249
58146
|
const conversions = require_lib();
|
|
58250
58147
|
const utils = require_utils$1();
|
|
58251
58148
|
const implSymbol = utils.implSymbol;
|
|
58252
58149
|
const ctorRegistrySymbol = utils.ctorRegistrySymbol;
|
|
58253
58150
|
const interfaceName = "URL";
|
|
58254
58151
|
exports.is = (value) => {
|
|
58255
|
-
return utils.isObject(value) &&
|
|
58152
|
+
return utils.isObject(value) && Object.hasOwn(value, implSymbol) && value[implSymbol] instanceof Impl.implementation;
|
|
58256
58153
|
};
|
|
58257
58154
|
exports.isImpl = (value) => {
|
|
58258
58155
|
return utils.isObject(value) && value instanceof Impl.implementation;
|
|
@@ -58569,8 +58466,8 @@ var require_URL = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatw
|
|
|
58569
58466
|
}) });
|
|
58570
58467
|
|
|
58571
58468
|
//#endregion
|
|
58572
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
58573
|
-
var require_webidl2js_wrapper = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
58469
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/webidl2js-wrapper.js
|
|
58470
|
+
var require_webidl2js_wrapper = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/webidl2js-wrapper.js": ((exports) => {
|
|
58574
58471
|
const URL$1 = require_URL();
|
|
58575
58472
|
const URLSearchParams$1 = require_URLSearchParams();
|
|
58576
58473
|
exports.URL = URL$1;
|
|
@@ -58578,8 +58475,8 @@ var require_webidl2js_wrapper = /* @__PURE__ */ __commonJS$1({ "../../node_modul
|
|
|
58578
58475
|
}) });
|
|
58579
58476
|
|
|
58580
58477
|
//#endregion
|
|
58581
|
-
//#region ../../node_modules/.pnpm/whatwg-url@
|
|
58582
|
-
var require_whatwg_url = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@
|
|
58478
|
+
//#region ../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/index.js
|
|
58479
|
+
var require_whatwg_url = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/whatwg-url@15.0.0/node_modules/whatwg-url/index.js": ((exports) => {
|
|
58583
58480
|
const { URL, URLSearchParams } = require_webidl2js_wrapper();
|
|
58584
58481
|
const urlStateMachine = require_url_state_machine();
|
|
58585
58482
|
const percentEncoding = require_percent_encoding();
|
|
@@ -58610,8 +58507,8 @@ var require_whatwg_url = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnp
|
|
|
58610
58507
|
}) });
|
|
58611
58508
|
|
|
58612
58509
|
//#endregion
|
|
58613
|
-
//#region ../../node_modules/.pnpm/data-urls@
|
|
58614
|
-
var require_utils = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/data-urls@
|
|
58510
|
+
//#region ../../node_modules/.pnpm/data-urls@6.0.0/node_modules/data-urls/lib/utils.js
|
|
58511
|
+
var require_utils = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/data-urls@6.0.0/node_modules/data-urls/lib/utils.js": ((exports) => {
|
|
58615
58512
|
exports.stripLeadingAndTrailingASCIIWhitespace = (string) => {
|
|
58616
58513
|
return string.replace(/^[ \t\n\f\r]+/u, "").replace(/[ \t\n\f\r]+$/u, "");
|
|
58617
58514
|
};
|
|
@@ -58630,8 +58527,8 @@ var require_utils = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/dat
|
|
|
58630
58527
|
}) });
|
|
58631
58528
|
|
|
58632
58529
|
//#endregion
|
|
58633
|
-
//#region ../../node_modules/.pnpm/data-urls@
|
|
58634
|
-
var require_parser = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/data-urls@
|
|
58530
|
+
//#region ../../node_modules/.pnpm/data-urls@6.0.0/node_modules/data-urls/lib/parser.js
|
|
58531
|
+
var require_parser = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/data-urls@6.0.0/node_modules/data-urls/lib/parser.js": ((exports, module) => {
|
|
58635
58532
|
const MIMEType = require_mime_type();
|
|
58636
58533
|
const { parseURL, serializeURL, percentDecodeString } = require_whatwg_url();
|
|
58637
58534
|
const { stripLeadingAndTrailingASCIIWhitespace, isomorphicDecode, forgivingBase64Decode } = require_utils();
|
|
@@ -58665,7 +58562,7 @@ var require_parser = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/da
|
|
|
58665
58562
|
let mimeTypeRecord;
|
|
58666
58563
|
try {
|
|
58667
58564
|
mimeTypeRecord = new MIMEType(mimeType);
|
|
58668
|
-
} catch
|
|
58565
|
+
} catch {
|
|
58669
58566
|
mimeTypeRecord = new MIMEType("text/plain;charset=US-ASCII");
|
|
58670
58567
|
}
|
|
58671
58568
|
return {
|
|
@@ -58677,7 +58574,7 @@ var require_parser = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/da
|
|
|
58677
58574
|
|
|
58678
58575
|
//#endregion
|
|
58679
58576
|
//#region src/util/parseXmlString.ts
|
|
58680
|
-
var import_parser = /* @__PURE__ */ __toESM$1(require_parser());
|
|
58577
|
+
var import_parser = /* @__PURE__ */ __toESM$1(require_parser(), 1);
|
|
58681
58578
|
const parseXmlString = (xmlString) => {
|
|
58682
58579
|
const xml = (0, import_parser.default)(xmlString) ?? xmlString;
|
|
58683
58580
|
return parseStringPromise(xml, {
|