sap-ux-sap-systems-ext 0.3.1 → 0.3.2
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/extension.js +564 -545
- package/package.json +4 -4
package/dist/extension.js
CHANGED
|
@@ -20858,9 +20858,9 @@ var require_JsonConfig = __commonJS({
|
|
|
20858
20858
|
}
|
|
20859
20859
|
});
|
|
20860
20860
|
|
|
20861
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
20861
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js
|
|
20862
20862
|
var require_constants3 = __commonJS({
|
|
20863
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
20863
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js"(exports2, module2) {
|
|
20864
20864
|
"use strict";
|
|
20865
20865
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
20866
20866
|
var MAX_LENGTH = 256;
|
|
@@ -20890,9 +20890,9 @@ var require_constants3 = __commonJS({
|
|
|
20890
20890
|
}
|
|
20891
20891
|
});
|
|
20892
20892
|
|
|
20893
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
20893
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js
|
|
20894
20894
|
var require_debug = __commonJS({
|
|
20895
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
20895
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js"(exports2, module2) {
|
|
20896
20896
|
"use strict";
|
|
20897
20897
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
20898
20898
|
};
|
|
@@ -20900,9 +20900,9 @@ var require_debug = __commonJS({
|
|
|
20900
20900
|
}
|
|
20901
20901
|
});
|
|
20902
20902
|
|
|
20903
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
20903
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js
|
|
20904
20904
|
var require_re = __commonJS({
|
|
20905
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
20905
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js"(exports2, module2) {
|
|
20906
20906
|
"use strict";
|
|
20907
20907
|
var {
|
|
20908
20908
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
@@ -20988,9 +20988,9 @@ var require_re = __commonJS({
|
|
|
20988
20988
|
}
|
|
20989
20989
|
});
|
|
20990
20990
|
|
|
20991
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
20991
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js
|
|
20992
20992
|
var require_parse_options = __commonJS({
|
|
20993
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
20993
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js"(exports2, module2) {
|
|
20994
20994
|
"use strict";
|
|
20995
20995
|
var looseOption = Object.freeze({ loose: true });
|
|
20996
20996
|
var emptyOpts = Object.freeze({});
|
|
@@ -21007,9 +21007,9 @@ var require_parse_options = __commonJS({
|
|
|
21007
21007
|
}
|
|
21008
21008
|
});
|
|
21009
21009
|
|
|
21010
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21010
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js
|
|
21011
21011
|
var require_identifiers = __commonJS({
|
|
21012
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21012
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js"(exports2, module2) {
|
|
21013
21013
|
"use strict";
|
|
21014
21014
|
var numeric = /^[0-9]+$/;
|
|
21015
21015
|
var compareIdentifiers = (a, b) => {
|
|
@@ -21032,9 +21032,9 @@ var require_identifiers = __commonJS({
|
|
|
21032
21032
|
}
|
|
21033
21033
|
});
|
|
21034
21034
|
|
|
21035
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21035
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js
|
|
21036
21036
|
var require_semver = __commonJS({
|
|
21037
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21037
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js"(exports2, module2) {
|
|
21038
21038
|
"use strict";
|
|
21039
21039
|
var debug = require_debug();
|
|
21040
21040
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants3();
|
|
@@ -21311,9 +21311,9 @@ var require_semver = __commonJS({
|
|
|
21311
21311
|
}
|
|
21312
21312
|
});
|
|
21313
21313
|
|
|
21314
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21314
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js
|
|
21315
21315
|
var require_parse = __commonJS({
|
|
21316
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21316
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js"(exports2, module2) {
|
|
21317
21317
|
"use strict";
|
|
21318
21318
|
var SemVer = require_semver();
|
|
21319
21319
|
var parse4 = (version2, options, throwErrors = false) => {
|
|
@@ -21333,9 +21333,9 @@ var require_parse = __commonJS({
|
|
|
21333
21333
|
}
|
|
21334
21334
|
});
|
|
21335
21335
|
|
|
21336
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21336
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js
|
|
21337
21337
|
var require_valid = __commonJS({
|
|
21338
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21338
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js"(exports2, module2) {
|
|
21339
21339
|
"use strict";
|
|
21340
21340
|
var parse4 = require_parse();
|
|
21341
21341
|
var valid = (version2, options) => {
|
|
@@ -21346,9 +21346,9 @@ var require_valid = __commonJS({
|
|
|
21346
21346
|
}
|
|
21347
21347
|
});
|
|
21348
21348
|
|
|
21349
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21349
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js
|
|
21350
21350
|
var require_clean = __commonJS({
|
|
21351
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21351
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js"(exports2, module2) {
|
|
21352
21352
|
"use strict";
|
|
21353
21353
|
var parse4 = require_parse();
|
|
21354
21354
|
var clean = (version2, options) => {
|
|
@@ -21359,9 +21359,9 @@ var require_clean = __commonJS({
|
|
|
21359
21359
|
}
|
|
21360
21360
|
});
|
|
21361
21361
|
|
|
21362
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21362
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js
|
|
21363
21363
|
var require_inc = __commonJS({
|
|
21364
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21364
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js"(exports2, module2) {
|
|
21365
21365
|
"use strict";
|
|
21366
21366
|
var SemVer = require_semver();
|
|
21367
21367
|
var inc = (version2, release2, options, identifier, identifierBase) => {
|
|
@@ -21383,9 +21383,9 @@ var require_inc = __commonJS({
|
|
|
21383
21383
|
}
|
|
21384
21384
|
});
|
|
21385
21385
|
|
|
21386
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21386
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js
|
|
21387
21387
|
var require_diff = __commonJS({
|
|
21388
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21388
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js"(exports2, module2) {
|
|
21389
21389
|
"use strict";
|
|
21390
21390
|
var parse4 = require_parse();
|
|
21391
21391
|
var diff = (version1, version2) => {
|
|
@@ -21427,9 +21427,9 @@ var require_diff = __commonJS({
|
|
|
21427
21427
|
}
|
|
21428
21428
|
});
|
|
21429
21429
|
|
|
21430
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21430
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.js
|
|
21431
21431
|
var require_major = __commonJS({
|
|
21432
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21432
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.js"(exports2, module2) {
|
|
21433
21433
|
"use strict";
|
|
21434
21434
|
var SemVer = require_semver();
|
|
21435
21435
|
var major2 = (a, loose) => new SemVer(a, loose).major;
|
|
@@ -21437,9 +21437,9 @@ var require_major = __commonJS({
|
|
|
21437
21437
|
}
|
|
21438
21438
|
});
|
|
21439
21439
|
|
|
21440
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21440
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.js
|
|
21441
21441
|
var require_minor = __commonJS({
|
|
21442
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21442
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.js"(exports2, module2) {
|
|
21443
21443
|
"use strict";
|
|
21444
21444
|
var SemVer = require_semver();
|
|
21445
21445
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
@@ -21447,9 +21447,9 @@ var require_minor = __commonJS({
|
|
|
21447
21447
|
}
|
|
21448
21448
|
});
|
|
21449
21449
|
|
|
21450
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21450
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.js
|
|
21451
21451
|
var require_patch = __commonJS({
|
|
21452
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21452
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.js"(exports2, module2) {
|
|
21453
21453
|
"use strict";
|
|
21454
21454
|
var SemVer = require_semver();
|
|
21455
21455
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
@@ -21457,9 +21457,9 @@ var require_patch = __commonJS({
|
|
|
21457
21457
|
}
|
|
21458
21458
|
});
|
|
21459
21459
|
|
|
21460
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21460
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js
|
|
21461
21461
|
var require_prerelease = __commonJS({
|
|
21462
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21462
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js"(exports2, module2) {
|
|
21463
21463
|
"use strict";
|
|
21464
21464
|
var parse4 = require_parse();
|
|
21465
21465
|
var prerelease = (version2, options) => {
|
|
@@ -21470,9 +21470,9 @@ var require_prerelease = __commonJS({
|
|
|
21470
21470
|
}
|
|
21471
21471
|
});
|
|
21472
21472
|
|
|
21473
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21473
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js
|
|
21474
21474
|
var require_compare = __commonJS({
|
|
21475
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21475
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js"(exports2, module2) {
|
|
21476
21476
|
"use strict";
|
|
21477
21477
|
var SemVer = require_semver();
|
|
21478
21478
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
@@ -21480,9 +21480,9 @@ var require_compare = __commonJS({
|
|
|
21480
21480
|
}
|
|
21481
21481
|
});
|
|
21482
21482
|
|
|
21483
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21483
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.js
|
|
21484
21484
|
var require_rcompare = __commonJS({
|
|
21485
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21485
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.js"(exports2, module2) {
|
|
21486
21486
|
"use strict";
|
|
21487
21487
|
var compare = require_compare();
|
|
21488
21488
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
@@ -21490,9 +21490,9 @@ var require_rcompare = __commonJS({
|
|
|
21490
21490
|
}
|
|
21491
21491
|
});
|
|
21492
21492
|
|
|
21493
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21493
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.js
|
|
21494
21494
|
var require_compare_loose = __commonJS({
|
|
21495
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21495
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.js"(exports2, module2) {
|
|
21496
21496
|
"use strict";
|
|
21497
21497
|
var compare = require_compare();
|
|
21498
21498
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
@@ -21500,9 +21500,9 @@ var require_compare_loose = __commonJS({
|
|
|
21500
21500
|
}
|
|
21501
21501
|
});
|
|
21502
21502
|
|
|
21503
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21503
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.js
|
|
21504
21504
|
var require_compare_build = __commonJS({
|
|
21505
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21505
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.js"(exports2, module2) {
|
|
21506
21506
|
"use strict";
|
|
21507
21507
|
var SemVer = require_semver();
|
|
21508
21508
|
var compareBuild = (a, b, loose) => {
|
|
@@ -21514,9 +21514,9 @@ var require_compare_build = __commonJS({
|
|
|
21514
21514
|
}
|
|
21515
21515
|
});
|
|
21516
21516
|
|
|
21517
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21517
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.js
|
|
21518
21518
|
var require_sort = __commonJS({
|
|
21519
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21519
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.js"(exports2, module2) {
|
|
21520
21520
|
"use strict";
|
|
21521
21521
|
var compareBuild = require_compare_build();
|
|
21522
21522
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
@@ -21524,9 +21524,9 @@ var require_sort = __commonJS({
|
|
|
21524
21524
|
}
|
|
21525
21525
|
});
|
|
21526
21526
|
|
|
21527
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21527
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.js
|
|
21528
21528
|
var require_rsort = __commonJS({
|
|
21529
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21529
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.js"(exports2, module2) {
|
|
21530
21530
|
"use strict";
|
|
21531
21531
|
var compareBuild = require_compare_build();
|
|
21532
21532
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
@@ -21534,9 +21534,9 @@ var require_rsort = __commonJS({
|
|
|
21534
21534
|
}
|
|
21535
21535
|
});
|
|
21536
21536
|
|
|
21537
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21537
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.js
|
|
21538
21538
|
var require_gt = __commonJS({
|
|
21539
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21539
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.js"(exports2, module2) {
|
|
21540
21540
|
"use strict";
|
|
21541
21541
|
var compare = require_compare();
|
|
21542
21542
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
@@ -21544,9 +21544,9 @@ var require_gt = __commonJS({
|
|
|
21544
21544
|
}
|
|
21545
21545
|
});
|
|
21546
21546
|
|
|
21547
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21547
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js
|
|
21548
21548
|
var require_lt = __commonJS({
|
|
21549
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21549
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js"(exports2, module2) {
|
|
21550
21550
|
"use strict";
|
|
21551
21551
|
var compare = require_compare();
|
|
21552
21552
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
@@ -21554,9 +21554,9 @@ var require_lt = __commonJS({
|
|
|
21554
21554
|
}
|
|
21555
21555
|
});
|
|
21556
21556
|
|
|
21557
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21557
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.js
|
|
21558
21558
|
var require_eq2 = __commonJS({
|
|
21559
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21559
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.js"(exports2, module2) {
|
|
21560
21560
|
"use strict";
|
|
21561
21561
|
var compare = require_compare();
|
|
21562
21562
|
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
@@ -21564,9 +21564,9 @@ var require_eq2 = __commonJS({
|
|
|
21564
21564
|
}
|
|
21565
21565
|
});
|
|
21566
21566
|
|
|
21567
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21567
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.js
|
|
21568
21568
|
var require_neq = __commonJS({
|
|
21569
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21569
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.js"(exports2, module2) {
|
|
21570
21570
|
"use strict";
|
|
21571
21571
|
var compare = require_compare();
|
|
21572
21572
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
@@ -21574,9 +21574,9 @@ var require_neq = __commonJS({
|
|
|
21574
21574
|
}
|
|
21575
21575
|
});
|
|
21576
21576
|
|
|
21577
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21577
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.js
|
|
21578
21578
|
var require_gte = __commonJS({
|
|
21579
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21579
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.js"(exports2, module2) {
|
|
21580
21580
|
"use strict";
|
|
21581
21581
|
var compare = require_compare();
|
|
21582
21582
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
@@ -21584,9 +21584,9 @@ var require_gte = __commonJS({
|
|
|
21584
21584
|
}
|
|
21585
21585
|
});
|
|
21586
21586
|
|
|
21587
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21587
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.js
|
|
21588
21588
|
var require_lte = __commonJS({
|
|
21589
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21589
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.js"(exports2, module2) {
|
|
21590
21590
|
"use strict";
|
|
21591
21591
|
var compare = require_compare();
|
|
21592
21592
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
@@ -21594,9 +21594,9 @@ var require_lte = __commonJS({
|
|
|
21594
21594
|
}
|
|
21595
21595
|
});
|
|
21596
21596
|
|
|
21597
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21597
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.js
|
|
21598
21598
|
var require_cmp = __commonJS({
|
|
21599
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21599
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.js"(exports2, module2) {
|
|
21600
21600
|
"use strict";
|
|
21601
21601
|
var eq = require_eq2();
|
|
21602
21602
|
var neq = require_neq();
|
|
@@ -21644,9 +21644,9 @@ var require_cmp = __commonJS({
|
|
|
21644
21644
|
}
|
|
21645
21645
|
});
|
|
21646
21646
|
|
|
21647
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21647
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js
|
|
21648
21648
|
var require_coerce = __commonJS({
|
|
21649
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21649
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js"(exports2, module2) {
|
|
21650
21650
|
"use strict";
|
|
21651
21651
|
var SemVer = require_semver();
|
|
21652
21652
|
var parse4 = require_parse();
|
|
@@ -21690,9 +21690,9 @@ var require_coerce = __commonJS({
|
|
|
21690
21690
|
}
|
|
21691
21691
|
});
|
|
21692
21692
|
|
|
21693
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21693
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.js
|
|
21694
21694
|
var require_lrucache = __commonJS({
|
|
21695
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21695
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.js"(exports2, module2) {
|
|
21696
21696
|
"use strict";
|
|
21697
21697
|
var LRUCache = class {
|
|
21698
21698
|
constructor() {
|
|
@@ -21728,9 +21728,9 @@ var require_lrucache = __commonJS({
|
|
|
21728
21728
|
}
|
|
21729
21729
|
});
|
|
21730
21730
|
|
|
21731
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
21731
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.js
|
|
21732
21732
|
var require_range = __commonJS({
|
|
21733
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
21733
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.js"(exports2, module2) {
|
|
21734
21734
|
"use strict";
|
|
21735
21735
|
var SPACE_CHARACTERS = /\s+/g;
|
|
21736
21736
|
var Range2 = class _Range {
|
|
@@ -22105,9 +22105,9 @@ var require_range = __commonJS({
|
|
|
22105
22105
|
}
|
|
22106
22106
|
});
|
|
22107
22107
|
|
|
22108
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22108
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js
|
|
22109
22109
|
var require_comparator = __commonJS({
|
|
22110
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22110
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js"(exports2, module2) {
|
|
22111
22111
|
"use strict";
|
|
22112
22112
|
var ANY = /* @__PURE__ */ Symbol("SemVer ANY");
|
|
22113
22113
|
var Comparator = class _Comparator {
|
|
@@ -22218,9 +22218,9 @@ var require_comparator = __commonJS({
|
|
|
22218
22218
|
}
|
|
22219
22219
|
});
|
|
22220
22220
|
|
|
22221
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22221
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.js
|
|
22222
22222
|
var require_satisfies = __commonJS({
|
|
22223
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22223
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.js"(exports2, module2) {
|
|
22224
22224
|
"use strict";
|
|
22225
22225
|
var Range2 = require_range();
|
|
22226
22226
|
var satisfies2 = (version2, range, options) => {
|
|
@@ -22235,9 +22235,9 @@ var require_satisfies = __commonJS({
|
|
|
22235
22235
|
}
|
|
22236
22236
|
});
|
|
22237
22237
|
|
|
22238
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22238
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.js
|
|
22239
22239
|
var require_to_comparators = __commonJS({
|
|
22240
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22240
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
|
|
22241
22241
|
"use strict";
|
|
22242
22242
|
var Range2 = require_range();
|
|
22243
22243
|
var toComparators = (range, options) => new Range2(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
@@ -22245,9 +22245,9 @@ var require_to_comparators = __commonJS({
|
|
|
22245
22245
|
}
|
|
22246
22246
|
});
|
|
22247
22247
|
|
|
22248
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22248
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.js
|
|
22249
22249
|
var require_max_satisfying = __commonJS({
|
|
22250
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22250
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
|
|
22251
22251
|
"use strict";
|
|
22252
22252
|
var SemVer = require_semver();
|
|
22253
22253
|
var Range2 = require_range();
|
|
@@ -22274,9 +22274,9 @@ var require_max_satisfying = __commonJS({
|
|
|
22274
22274
|
}
|
|
22275
22275
|
});
|
|
22276
22276
|
|
|
22277
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22277
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.js
|
|
22278
22278
|
var require_min_satisfying = __commonJS({
|
|
22279
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22279
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
|
|
22280
22280
|
"use strict";
|
|
22281
22281
|
var SemVer = require_semver();
|
|
22282
22282
|
var Range2 = require_range();
|
|
@@ -22303,9 +22303,9 @@ var require_min_satisfying = __commonJS({
|
|
|
22303
22303
|
}
|
|
22304
22304
|
});
|
|
22305
22305
|
|
|
22306
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22306
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.js
|
|
22307
22307
|
var require_min_version = __commonJS({
|
|
22308
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22308
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.js"(exports2, module2) {
|
|
22309
22309
|
"use strict";
|
|
22310
22310
|
var SemVer = require_semver();
|
|
22311
22311
|
var Range2 = require_range();
|
|
@@ -22362,9 +22362,9 @@ var require_min_version = __commonJS({
|
|
|
22362
22362
|
}
|
|
22363
22363
|
});
|
|
22364
22364
|
|
|
22365
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22365
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.js
|
|
22366
22366
|
var require_valid2 = __commonJS({
|
|
22367
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22367
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.js"(exports2, module2) {
|
|
22368
22368
|
"use strict";
|
|
22369
22369
|
var Range2 = require_range();
|
|
22370
22370
|
var validRange = (range, options) => {
|
|
@@ -22378,9 +22378,9 @@ var require_valid2 = __commonJS({
|
|
|
22378
22378
|
}
|
|
22379
22379
|
});
|
|
22380
22380
|
|
|
22381
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22381
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.js
|
|
22382
22382
|
var require_outside = __commonJS({
|
|
22383
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22383
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.js"(exports2, module2) {
|
|
22384
22384
|
"use strict";
|
|
22385
22385
|
var SemVer = require_semver();
|
|
22386
22386
|
var Comparator = require_comparator();
|
|
@@ -22447,9 +22447,9 @@ var require_outside = __commonJS({
|
|
|
22447
22447
|
}
|
|
22448
22448
|
});
|
|
22449
22449
|
|
|
22450
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22450
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.js
|
|
22451
22451
|
var require_gtr = __commonJS({
|
|
22452
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22452
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.js"(exports2, module2) {
|
|
22453
22453
|
"use strict";
|
|
22454
22454
|
var outside = require_outside();
|
|
22455
22455
|
var gtr = (version2, range, options) => outside(version2, range, ">", options);
|
|
@@ -22457,9 +22457,9 @@ var require_gtr = __commonJS({
|
|
|
22457
22457
|
}
|
|
22458
22458
|
});
|
|
22459
22459
|
|
|
22460
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22460
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.js
|
|
22461
22461
|
var require_ltr = __commonJS({
|
|
22462
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22462
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.js"(exports2, module2) {
|
|
22463
22463
|
"use strict";
|
|
22464
22464
|
var outside = require_outside();
|
|
22465
22465
|
var ltr = (version2, range, options) => outside(version2, range, "<", options);
|
|
@@ -22467,9 +22467,9 @@ var require_ltr = __commonJS({
|
|
|
22467
22467
|
}
|
|
22468
22468
|
});
|
|
22469
22469
|
|
|
22470
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22470
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.js
|
|
22471
22471
|
var require_intersects = __commonJS({
|
|
22472
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22472
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.js"(exports2, module2) {
|
|
22473
22473
|
"use strict";
|
|
22474
22474
|
var Range2 = require_range();
|
|
22475
22475
|
var intersects = (r1, r2, options) => {
|
|
@@ -22481,9 +22481,9 @@ var require_intersects = __commonJS({
|
|
|
22481
22481
|
}
|
|
22482
22482
|
});
|
|
22483
22483
|
|
|
22484
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22484
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.js
|
|
22485
22485
|
var require_simplify = __commonJS({
|
|
22486
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22486
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.js"(exports2, module2) {
|
|
22487
22487
|
"use strict";
|
|
22488
22488
|
var satisfies2 = require_satisfies();
|
|
22489
22489
|
var compare = require_compare();
|
|
@@ -22531,9 +22531,9 @@ var require_simplify = __commonJS({
|
|
|
22531
22531
|
}
|
|
22532
22532
|
});
|
|
22533
22533
|
|
|
22534
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22534
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.js
|
|
22535
22535
|
var require_subset = __commonJS({
|
|
22536
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22536
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.js"(exports2, module2) {
|
|
22537
22537
|
"use strict";
|
|
22538
22538
|
var Range2 = require_range();
|
|
22539
22539
|
var Comparator = require_comparator();
|
|
@@ -22693,9 +22693,9 @@ var require_subset = __commonJS({
|
|
|
22693
22693
|
}
|
|
22694
22694
|
});
|
|
22695
22695
|
|
|
22696
|
-
// ../../node_modules/.pnpm/semver@7.7.
|
|
22696
|
+
// ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js
|
|
22697
22697
|
var require_semver2 = __commonJS({
|
|
22698
|
-
"../../node_modules/.pnpm/semver@7.7.
|
|
22698
|
+
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js"(exports2, module2) {
|
|
22699
22699
|
"use strict";
|
|
22700
22700
|
var internalRe = require_re();
|
|
22701
22701
|
var constants = require_constants3();
|
|
@@ -54310,7 +54310,7 @@ var require_package6 = __commonJS({
|
|
|
54310
54310
|
"../telemetry/package.json"(exports2, module2) {
|
|
54311
54311
|
module2.exports = {
|
|
54312
54312
|
name: "@sap-ux/telemetry",
|
|
54313
|
-
version: "0.6.
|
|
54313
|
+
version: "0.6.76",
|
|
54314
54314
|
description: "Library for sending usage telemetry data",
|
|
54315
54315
|
repository: {
|
|
54316
54316
|
type: "git",
|
|
@@ -97784,9 +97784,9 @@ var require_js_tokens = __commonJS({
|
|
|
97784
97784
|
}
|
|
97785
97785
|
});
|
|
97786
97786
|
|
|
97787
|
-
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
97787
|
+
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/identifier.js
|
|
97788
97788
|
var require_identifier = __commonJS({
|
|
97789
|
-
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
97789
|
+
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports2) {
|
|
97790
97790
|
"use strict";
|
|
97791
97791
|
Object.defineProperty(exports2, "__esModule", {
|
|
97792
97792
|
value: true
|
|
@@ -97794,13 +97794,13 @@ var require_identifier = __commonJS({
|
|
|
97794
97794
|
exports2.isIdentifierChar = isIdentifierChar;
|
|
97795
97795
|
exports2.isIdentifierName = isIdentifierName;
|
|
97796
97796
|
exports2.isIdentifierStart = isIdentifierStart;
|
|
97797
|
-
var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\
|
|
97798
|
-
var nonASCIIidentifierChars = "\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\
|
|
97797
|
+
var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
|
|
97798
|
+
var nonASCIIidentifierChars = "\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
|
|
97799
97799
|
var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
97800
97800
|
var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
97801
97801
|
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
|
97802
|
-
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25,
|
|
97803
|
-
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1,
|
|
97802
|
+
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 7, 25, 39, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 5, 57, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 24, 43, 261, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 33, 24, 3, 24, 45, 74, 6, 0, 67, 12, 65, 1, 2, 0, 15, 4, 10, 7381, 42, 31, 98, 114, 8702, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 208, 30, 2, 2, 2, 1, 2, 6, 3, 4, 10, 1, 225, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4381, 3, 5773, 3, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 8489];
|
|
97803
|
+
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 78, 5, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 199, 7, 137, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
97804
97804
|
function isInAstralSet(code, set) {
|
|
97805
97805
|
let pos = 65536;
|
|
97806
97806
|
for (let i = 0, length = set.length; i < length; i += 2) {
|
|
@@ -97857,9 +97857,9 @@ var require_identifier = __commonJS({
|
|
|
97857
97857
|
}
|
|
97858
97858
|
});
|
|
97859
97859
|
|
|
97860
|
-
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
97860
|
+
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/keyword.js
|
|
97861
97861
|
var require_keyword = __commonJS({
|
|
97862
|
-
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
97862
|
+
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports2) {
|
|
97863
97863
|
"use strict";
|
|
97864
97864
|
Object.defineProperty(exports2, "__esModule", {
|
|
97865
97865
|
value: true
|
|
@@ -97895,9 +97895,9 @@ var require_keyword = __commonJS({
|
|
|
97895
97895
|
}
|
|
97896
97896
|
});
|
|
97897
97897
|
|
|
97898
|
-
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
97898
|
+
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/index.js
|
|
97899
97899
|
var require_lib3 = __commonJS({
|
|
97900
|
-
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
97900
|
+
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/index.js"(exports2) {
|
|
97901
97901
|
"use strict";
|
|
97902
97902
|
Object.defineProperty(exports2, "__esModule", {
|
|
97903
97903
|
value: true
|
|
@@ -97955,9 +97955,9 @@ var require_lib3 = __commonJS({
|
|
|
97955
97955
|
}
|
|
97956
97956
|
});
|
|
97957
97957
|
|
|
97958
|
-
// ../../node_modules/.pnpm/@babel+code-frame@7.
|
|
97958
|
+
// ../../node_modules/.pnpm/@babel+code-frame@7.29.0/node_modules/@babel/code-frame/lib/index.js
|
|
97959
97959
|
var require_lib4 = __commonJS({
|
|
97960
|
-
"../../node_modules/.pnpm/@babel+code-frame@7.
|
|
97960
|
+
"../../node_modules/.pnpm/@babel+code-frame@7.29.0/node_modules/@babel/code-frame/lib/index.js"(exports2) {
|
|
97961
97961
|
"use strict";
|
|
97962
97962
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
97963
97963
|
var picocolors = require_picocolors();
|
|
@@ -97993,39 +97993,39 @@ var require_lib4 = __commonJS({
|
|
|
97993
97993
|
var NEWLINE$1 = /\r\n|[\n\r\u2028\u2029]/;
|
|
97994
97994
|
var BRACKET = /^[()[\]{}]$/;
|
|
97995
97995
|
var tokenize;
|
|
97996
|
-
|
|
97997
|
-
|
|
97998
|
-
|
|
97999
|
-
|
|
98000
|
-
|
|
98001
|
-
|
|
98002
|
-
}
|
|
98003
|
-
if (JSX_TAG.test(token2.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === "</")) {
|
|
98004
|
-
return "jsxIdentifier";
|
|
98005
|
-
}
|
|
98006
|
-
if (token2.value[0] !== token2.value[0].toLowerCase()) {
|
|
98007
|
-
return "capitalized";
|
|
98008
|
-
}
|
|
98009
|
-
}
|
|
98010
|
-
if (token2.type === "punctuator" && BRACKET.test(token2.value)) {
|
|
98011
|
-
return "bracket";
|
|
97996
|
+
var JSX_TAG = /^[a-z][\w-]*$/i;
|
|
97997
|
+
var getTokenType = function(token2, offset, text) {
|
|
97998
|
+
if (token2.type === "name") {
|
|
97999
|
+
const tokenValue = token2.value;
|
|
98000
|
+
if (helperValidatorIdentifier.isKeyword(tokenValue) || helperValidatorIdentifier.isStrictReservedWord(tokenValue, true) || sometimesKeywords.has(tokenValue)) {
|
|
98001
|
+
return "keyword";
|
|
98012
98002
|
}
|
|
98013
|
-
if (
|
|
98014
|
-
return "
|
|
98003
|
+
if (JSX_TAG.test(tokenValue) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === "</")) {
|
|
98004
|
+
return "jsxIdentifier";
|
|
98015
98005
|
}
|
|
98016
|
-
|
|
98017
|
-
|
|
98018
|
-
|
|
98019
|
-
let match;
|
|
98020
|
-
while (match = jsTokens.default.exec(text)) {
|
|
98021
|
-
const token2 = jsTokens.matchToToken(match);
|
|
98022
|
-
yield {
|
|
98023
|
-
type: getTokenType(token2, match.index, text),
|
|
98024
|
-
value: token2.value
|
|
98025
|
-
};
|
|
98006
|
+
const firstChar = String.fromCodePoint(tokenValue.codePointAt(0));
|
|
98007
|
+
if (firstChar !== firstChar.toLowerCase()) {
|
|
98008
|
+
return "capitalized";
|
|
98026
98009
|
}
|
|
98027
|
-
}
|
|
98028
|
-
|
|
98010
|
+
}
|
|
98011
|
+
if (token2.type === "punctuator" && BRACKET.test(token2.value)) {
|
|
98012
|
+
return "bracket";
|
|
98013
|
+
}
|
|
98014
|
+
if (token2.type === "invalid" && (token2.value === "@" || token2.value === "#")) {
|
|
98015
|
+
return "punctuator";
|
|
98016
|
+
}
|
|
98017
|
+
return token2.type;
|
|
98018
|
+
};
|
|
98019
|
+
tokenize = function* (text) {
|
|
98020
|
+
let match;
|
|
98021
|
+
while (match = jsTokens.default.exec(text)) {
|
|
98022
|
+
const token2 = jsTokens.matchToToken(match);
|
|
98023
|
+
yield {
|
|
98024
|
+
type: getTokenType(token2, match.index, text),
|
|
98025
|
+
value: token2.value
|
|
98026
|
+
};
|
|
98027
|
+
}
|
|
98028
|
+
};
|
|
98029
98029
|
function highlight(text) {
|
|
98030
98030
|
if (text === "") return "";
|
|
98031
98031
|
const defs = getDefs(true);
|
|
@@ -98044,7 +98044,7 @@ var require_lib4 = __commonJS({
|
|
|
98044
98044
|
}
|
|
98045
98045
|
var deprecationWarningShown = false;
|
|
98046
98046
|
var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
|
|
98047
|
-
function getMarkerLines(loc, source, opts) {
|
|
98047
|
+
function getMarkerLines(loc, source, opts, startLineBaseZero) {
|
|
98048
98048
|
const startLoc = Object.assign({
|
|
98049
98049
|
column: 0,
|
|
98050
98050
|
line: -1
|
|
@@ -98054,9 +98054,9 @@ var require_lib4 = __commonJS({
|
|
|
98054
98054
|
linesAbove = 2,
|
|
98055
98055
|
linesBelow = 3
|
|
98056
98056
|
} = opts || {};
|
|
98057
|
-
const startLine = startLoc.line;
|
|
98057
|
+
const startLine = startLoc.line - startLineBaseZero;
|
|
98058
98058
|
const startColumn = startLoc.column;
|
|
98059
|
-
const endLine = endLoc.line;
|
|
98059
|
+
const endLine = endLoc.line - startLineBaseZero;
|
|
98060
98060
|
const endColumn = endLoc.column;
|
|
98061
98061
|
let start = Math.max(startLine - (linesAbove + 1), 0);
|
|
98062
98062
|
let end = Math.min(source.length, endLine + linesBelow);
|
|
@@ -98102,19 +98102,20 @@ var require_lib4 = __commonJS({
|
|
|
98102
98102
|
}
|
|
98103
98103
|
function codeFrameColumns(rawLines, loc, opts = {}) {
|
|
98104
98104
|
const shouldHighlight = opts.forceColor || isColorSupported() && opts.highlightCode;
|
|
98105
|
+
const startLineBaseZero = (opts.startLine || 1) - 1;
|
|
98105
98106
|
const defs = getDefs(shouldHighlight);
|
|
98106
98107
|
const lines = rawLines.split(NEWLINE);
|
|
98107
98108
|
const {
|
|
98108
98109
|
start,
|
|
98109
98110
|
end,
|
|
98110
98111
|
markerLines
|
|
98111
|
-
} = getMarkerLines(loc, lines, opts);
|
|
98112
|
+
} = getMarkerLines(loc, lines, opts, startLineBaseZero);
|
|
98112
98113
|
const hasColumns = loc.start && typeof loc.start.column === "number";
|
|
98113
|
-
const numberMaxWidth = String(end).length;
|
|
98114
|
+
const numberMaxWidth = String(end + startLineBaseZero).length;
|
|
98114
98115
|
const highlightedLines = shouldHighlight ? highlight(rawLines) : rawLines;
|
|
98115
98116
|
let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index2) => {
|
|
98116
98117
|
const number = start + 1 + index2;
|
|
98117
|
-
const paddedNumber = ` ${number}`.slice(-numberMaxWidth);
|
|
98118
|
+
const paddedNumber = ` ${number + startLineBaseZero}`.slice(-numberMaxWidth);
|
|
98118
98119
|
const gutter = ` ${paddedNumber} |`;
|
|
98119
98120
|
const hasMarker = markerLines[number];
|
|
98120
98121
|
const lastMarkerLine = !markerLines[number + 1];
|
|
@@ -141689,44 +141690,44 @@ var require_constants11 = __commonJS({
|
|
|
141689
141690
|
}
|
|
141690
141691
|
});
|
|
141691
141692
|
|
|
141692
|
-
// ../../node_modules/.pnpm/fast-xml-parser@5.3.
|
|
141693
|
+
// ../../node_modules/.pnpm/fast-xml-parser@5.3.6/node_modules/fast-xml-parser/lib/fxp.cjs
|
|
141693
141694
|
var require_fxp = __commonJS({
|
|
141694
|
-
"../../node_modules/.pnpm/fast-xml-parser@5.3.
|
|
141695
|
+
"../../node_modules/.pnpm/fast-xml-parser@5.3.6/node_modules/fast-xml-parser/lib/fxp.cjs"(exports2, module2) {
|
|
141695
141696
|
(() => {
|
|
141696
141697
|
"use strict";
|
|
141697
|
-
var t3 = { d: (e2,
|
|
141698
|
-
for (var
|
|
141698
|
+
var t3 = { d: (e2, n2) => {
|
|
141699
|
+
for (var i2 in n2) t3.o(n2, i2) && !t3.o(e2, i2) && Object.defineProperty(e2, i2, { enumerable: true, get: n2[i2] });
|
|
141699
141700
|
}, o: (t4, e2) => Object.prototype.hasOwnProperty.call(t4, e2), r: (t4) => {
|
|
141700
141701
|
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t4, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t4, "__esModule", { value: true });
|
|
141701
141702
|
} }, e = {};
|
|
141702
|
-
t3.r(e), t3.d(e, { XMLBuilder: () =>
|
|
141703
|
-
const
|
|
141703
|
+
t3.r(e), t3.d(e, { XMLBuilder: () => dt, XMLParser: () => it, XMLValidator: () => gt });
|
|
141704
|
+
const n = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", i = new RegExp("^[" + n + "][" + n + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");
|
|
141704
141705
|
function s(t4, e2) {
|
|
141705
|
-
const
|
|
141706
|
-
let
|
|
141707
|
-
for (;
|
|
141706
|
+
const n2 = [];
|
|
141707
|
+
let i2 = e2.exec(t4);
|
|
141708
|
+
for (; i2; ) {
|
|
141708
141709
|
const s2 = [];
|
|
141709
|
-
s2.startIndex = e2.lastIndex -
|
|
141710
|
-
const r2 =
|
|
141711
|
-
for (let t5 = 0; t5 < r2; t5++) s2.push(
|
|
141712
|
-
|
|
141710
|
+
s2.startIndex = e2.lastIndex - i2[0].length;
|
|
141711
|
+
const r2 = i2.length;
|
|
141712
|
+
for (let t5 = 0; t5 < r2; t5++) s2.push(i2[t5]);
|
|
141713
|
+
n2.push(s2), i2 = e2.exec(t4);
|
|
141713
141714
|
}
|
|
141714
|
-
return
|
|
141715
|
+
return n2;
|
|
141715
141716
|
}
|
|
141716
141717
|
const r = function(t4) {
|
|
141717
|
-
return !(null ==
|
|
141718
|
+
return !(null == i.exec(t4));
|
|
141718
141719
|
}, o = { allowBooleanAttributes: false, unpairedTags: [] };
|
|
141719
141720
|
function a(t4, e2) {
|
|
141720
141721
|
e2 = Object.assign({}, o, e2);
|
|
141721
|
-
const
|
|
141722
|
-
let
|
|
141722
|
+
const n2 = [];
|
|
141723
|
+
let i2 = false, s2 = false;
|
|
141723
141724
|
"\uFEFF" === t4[0] && (t4 = t4.substr(1));
|
|
141724
141725
|
for (let o2 = 0; o2 < t4.length; o2++) if ("<" === t4[o2] && "?" === t4[o2 + 1]) {
|
|
141725
141726
|
if (o2 += 2, o2 = u(t4, o2), o2.err) return o2;
|
|
141726
141727
|
} else {
|
|
141727
141728
|
if ("<" !== t4[o2]) {
|
|
141728
141729
|
if (l(t4[o2])) continue;
|
|
141729
|
-
return
|
|
141730
|
+
return m("InvalidChar", "char '" + t4[o2] + "' is not expected.", b(t4, o2));
|
|
141730
141731
|
}
|
|
141731
141732
|
{
|
|
141732
141733
|
let a2 = o2;
|
|
@@ -141741,34 +141742,34 @@ var require_fxp = __commonJS({
|
|
|
141741
141742
|
for (; o2 < t4.length && ">" !== t4[o2] && " " !== t4[o2] && " " !== t4[o2] && "\n" !== t4[o2] && "\r" !== t4[o2]; o2++) p2 += t4[o2];
|
|
141742
141743
|
if (p2 = p2.trim(), "/" === p2[p2.length - 1] && (p2 = p2.substring(0, p2.length - 1), o2--), !r(p2)) {
|
|
141743
141744
|
let e3;
|
|
141744
|
-
return e3 = 0 === p2.trim().length ? "Invalid space after '<'." : "Tag '" + p2 + "' is an invalid name.",
|
|
141745
|
+
return e3 = 0 === p2.trim().length ? "Invalid space after '<'." : "Tag '" + p2 + "' is an invalid name.", m("InvalidTag", e3, b(t4, o2));
|
|
141745
141746
|
}
|
|
141746
141747
|
const c2 = f(t4, o2);
|
|
141747
|
-
if (false === c2) return
|
|
141748
|
-
let
|
|
141749
|
-
if (o2 = c2.index, "/" ===
|
|
141750
|
-
const
|
|
141751
|
-
|
|
141752
|
-
const s3 = g(
|
|
141753
|
-
if (true !== s3) return
|
|
141754
|
-
|
|
141748
|
+
if (false === c2) return m("InvalidAttr", "Attributes for '" + p2 + "' have open quote.", b(t4, o2));
|
|
141749
|
+
let E2 = c2.value;
|
|
141750
|
+
if (o2 = c2.index, "/" === E2[E2.length - 1]) {
|
|
141751
|
+
const n3 = o2 - E2.length;
|
|
141752
|
+
E2 = E2.substring(0, E2.length - 1);
|
|
141753
|
+
const s3 = g(E2, e2);
|
|
141754
|
+
if (true !== s3) return m(s3.err.code, s3.err.msg, b(t4, n3 + s3.err.line));
|
|
141755
|
+
i2 = true;
|
|
141755
141756
|
} else if (d2) {
|
|
141756
|
-
if (!c2.tagClosed) return
|
|
141757
|
-
if (
|
|
141758
|
-
if (0 ===
|
|
141757
|
+
if (!c2.tagClosed) return m("InvalidTag", "Closing tag '" + p2 + "' doesn't have proper closing.", b(t4, o2));
|
|
141758
|
+
if (E2.trim().length > 0) return m("InvalidTag", "Closing tag '" + p2 + "' can't have attributes or invalid starting.", b(t4, a2));
|
|
141759
|
+
if (0 === n2.length) return m("InvalidTag", "Closing tag '" + p2 + "' has not been opened.", b(t4, a2));
|
|
141759
141760
|
{
|
|
141760
|
-
const e3 =
|
|
141761
|
+
const e3 = n2.pop();
|
|
141761
141762
|
if (p2 !== e3.tagName) {
|
|
141762
|
-
let
|
|
141763
|
-
return
|
|
141763
|
+
let n3 = b(t4, e3.tagStartPos);
|
|
141764
|
+
return m("InvalidTag", "Expected closing tag '" + e3.tagName + "' (opened in line " + n3.line + ", col " + n3.col + ") instead of closing tag '" + p2 + "'.", b(t4, a2));
|
|
141764
141765
|
}
|
|
141765
|
-
0 ==
|
|
141766
|
+
0 == n2.length && (s2 = true);
|
|
141766
141767
|
}
|
|
141767
141768
|
} else {
|
|
141768
|
-
const r2 = g(
|
|
141769
|
-
if (true !== r2) return
|
|
141770
|
-
if (true === s2) return
|
|
141771
|
-
-1 !== e2.unpairedTags.indexOf(p2) ||
|
|
141769
|
+
const r2 = g(E2, e2);
|
|
141770
|
+
if (true !== r2) return m(r2.err.code, r2.err.msg, b(t4, o2 - E2.length + r2.err.line));
|
|
141771
|
+
if (true === s2) return m("InvalidXml", "Multiple possible root nodes found.", b(t4, o2));
|
|
141772
|
+
-1 !== e2.unpairedTags.indexOf(p2) || n2.push({ tagName: p2, tagStartPos: a2 }), i2 = true;
|
|
141772
141773
|
}
|
|
141773
141774
|
for (o2++; o2 < t4.length; o2++) if ("<" === t4[o2]) {
|
|
141774
141775
|
if ("!" === t4[o2 + 1]) {
|
|
@@ -141778,25 +141779,25 @@ var require_fxp = __commonJS({
|
|
|
141778
141779
|
if ("?" !== t4[o2 + 1]) break;
|
|
141779
141780
|
if (o2 = u(t4, ++o2), o2.err) return o2;
|
|
141780
141781
|
} else if ("&" === t4[o2]) {
|
|
141781
|
-
const e3 =
|
|
141782
|
-
if (-1 == e3) return
|
|
141782
|
+
const e3 = x(t4, o2);
|
|
141783
|
+
if (-1 == e3) return m("InvalidChar", "char '&' is not expected.", b(t4, o2));
|
|
141783
141784
|
o2 = e3;
|
|
141784
|
-
} else if (true === s2 && !l(t4[o2])) return
|
|
141785
|
+
} else if (true === s2 && !l(t4[o2])) return m("InvalidXml", "Extra text at the end", b(t4, o2));
|
|
141785
141786
|
"<" === t4[o2] && o2--;
|
|
141786
141787
|
}
|
|
141787
141788
|
}
|
|
141788
141789
|
}
|
|
141789
|
-
return
|
|
141790
|
+
return i2 ? 1 == n2.length ? m("InvalidTag", "Unclosed tag '" + n2[0].tagName + "'.", b(t4, n2[0].tagStartPos)) : !(n2.length > 0) || m("InvalidXml", "Invalid '" + JSON.stringify(n2.map(((t5) => t5.tagName)), null, 4).replace(/\r?\n/g, "") + "' found.", { line: 1, col: 1 }) : m("InvalidXml", "Start tag expected.", 1);
|
|
141790
141791
|
}
|
|
141791
141792
|
function l(t4) {
|
|
141792
141793
|
return " " === t4 || " " === t4 || "\n" === t4 || "\r" === t4;
|
|
141793
141794
|
}
|
|
141794
141795
|
function u(t4, e2) {
|
|
141795
|
-
const
|
|
141796
|
+
const n2 = e2;
|
|
141796
141797
|
for (; e2 < t4.length; e2++) if ("?" != t4[e2] && " " != t4[e2]) ;
|
|
141797
141798
|
else {
|
|
141798
|
-
const
|
|
141799
|
-
if (e2 > 5 && "xml" ===
|
|
141799
|
+
const i2 = t4.substr(n2, e2 - n2);
|
|
141800
|
+
if (e2 > 5 && "xml" === i2) return m("InvalidXml", "XML declaration allowed only at the start of the document.", b(t4, e2));
|
|
141800
141801
|
if ("?" == t4[e2] && ">" == t4[e2 + 1]) {
|
|
141801
141802
|
e2++;
|
|
141802
141803
|
break;
|
|
@@ -141811,9 +141812,9 @@ var require_fxp = __commonJS({
|
|
|
141811
141812
|
break;
|
|
141812
141813
|
}
|
|
141813
141814
|
} else if (t4.length > e2 + 8 && "D" === t4[e2 + 1] && "O" === t4[e2 + 2] && "C" === t4[e2 + 3] && "T" === t4[e2 + 4] && "Y" === t4[e2 + 5] && "P" === t4[e2 + 6] && "E" === t4[e2 + 7]) {
|
|
141814
|
-
let
|
|
141815
|
-
for (e2 += 8; e2 < t4.length; e2++) if ("<" === t4[e2])
|
|
141816
|
-
else if (">" === t4[e2] && (
|
|
141815
|
+
let n2 = 1;
|
|
141816
|
+
for (e2 += 8; e2 < t4.length; e2++) if ("<" === t4[e2]) n2++;
|
|
141817
|
+
else if (">" === t4[e2] && (n2--, 0 === n2)) break;
|
|
141817
141818
|
} else if (t4.length > e2 + 9 && "[" === t4[e2 + 1] && "C" === t4[e2 + 2] && "D" === t4[e2 + 3] && "A" === t4[e2 + 4] && "T" === t4[e2 + 5] && "A" === t4[e2 + 6] && "[" === t4[e2 + 7]) {
|
|
141818
141819
|
for (e2 += 8; e2 < t4.length; e2++) if ("]" === t4[e2] && "]" === t4[e2 + 1] && ">" === t4[e2 + 2]) {
|
|
141819
141820
|
e2 += 2;
|
|
@@ -141824,71 +141825,78 @@ var require_fxp = __commonJS({
|
|
|
141824
141825
|
}
|
|
141825
141826
|
const d = '"', p = "'";
|
|
141826
141827
|
function f(t4, e2) {
|
|
141827
|
-
let
|
|
141828
|
+
let n2 = "", i2 = "", s2 = false;
|
|
141828
141829
|
for (; e2 < t4.length; e2++) {
|
|
141829
|
-
if (t4[e2] === d || t4[e2] === p) "" ===
|
|
141830
|
-
else if (">" === t4[e2] && "" ===
|
|
141830
|
+
if (t4[e2] === d || t4[e2] === p) "" === i2 ? i2 = t4[e2] : i2 !== t4[e2] || (i2 = "");
|
|
141831
|
+
else if (">" === t4[e2] && "" === i2) {
|
|
141831
141832
|
s2 = true;
|
|
141832
141833
|
break;
|
|
141833
141834
|
}
|
|
141834
|
-
|
|
141835
|
+
n2 += t4[e2];
|
|
141835
141836
|
}
|
|
141836
|
-
return "" ===
|
|
141837
|
+
return "" === i2 && { value: n2, index: e2, tagClosed: s2 };
|
|
141837
141838
|
}
|
|
141838
141839
|
const c = new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`, "g");
|
|
141839
141840
|
function g(t4, e2) {
|
|
141840
|
-
const
|
|
141841
|
-
for (let t5 = 0; t5 <
|
|
141842
|
-
if (0 ===
|
|
141843
|
-
if (void 0 !==
|
|
141844
|
-
if (void 0 ===
|
|
141845
|
-
const s2 =
|
|
141846
|
-
if (!
|
|
141847
|
-
if (
|
|
141848
|
-
|
|
141841
|
+
const n2 = s(t4, c), i2 = {};
|
|
141842
|
+
for (let t5 = 0; t5 < n2.length; t5++) {
|
|
141843
|
+
if (0 === n2[t5][1].length) return m("InvalidAttr", "Attribute '" + n2[t5][2] + "' has no space in starting.", N(n2[t5]));
|
|
141844
|
+
if (void 0 !== n2[t5][3] && void 0 === n2[t5][4]) return m("InvalidAttr", "Attribute '" + n2[t5][2] + "' is without value.", N(n2[t5]));
|
|
141845
|
+
if (void 0 === n2[t5][3] && !e2.allowBooleanAttributes) return m("InvalidAttr", "boolean attribute '" + n2[t5][2] + "' is not allowed.", N(n2[t5]));
|
|
141846
|
+
const s2 = n2[t5][2];
|
|
141847
|
+
if (!E(s2)) return m("InvalidAttr", "Attribute '" + s2 + "' is an invalid name.", N(n2[t5]));
|
|
141848
|
+
if (i2.hasOwnProperty(s2)) return m("InvalidAttr", "Attribute '" + s2 + "' is repeated.", N(n2[t5]));
|
|
141849
|
+
i2[s2] = 1;
|
|
141849
141850
|
}
|
|
141850
141851
|
return true;
|
|
141851
141852
|
}
|
|
141852
|
-
function
|
|
141853
|
+
function x(t4, e2) {
|
|
141853
141854
|
if (";" === t4[++e2]) return -1;
|
|
141854
141855
|
if ("#" === t4[e2]) return (function(t5, e3) {
|
|
141855
|
-
let
|
|
141856
|
-
for ("x" === t5[e3] && (e3++,
|
|
141856
|
+
let n3 = /\d/;
|
|
141857
|
+
for ("x" === t5[e3] && (e3++, n3 = /[\da-fA-F]/); e3 < t5.length; e3++) {
|
|
141857
141858
|
if (";" === t5[e3]) return e3;
|
|
141858
|
-
if (!t5[e3].match(
|
|
141859
|
+
if (!t5[e3].match(n3)) break;
|
|
141859
141860
|
}
|
|
141860
141861
|
return -1;
|
|
141861
141862
|
})(t4, ++e2);
|
|
141862
|
-
let
|
|
141863
|
-
for (; e2 < t4.length; e2++,
|
|
141863
|
+
let n2 = 0;
|
|
141864
|
+
for (; e2 < t4.length; e2++, n2++) if (!(t4[e2].match(/\w/) && n2 < 20)) {
|
|
141864
141865
|
if (";" === t4[e2]) break;
|
|
141865
141866
|
return -1;
|
|
141866
141867
|
}
|
|
141867
141868
|
return e2;
|
|
141868
141869
|
}
|
|
141869
|
-
function
|
|
141870
|
-
return { err: { code: t4, msg: e2, line:
|
|
141870
|
+
function m(t4, e2, n2) {
|
|
141871
|
+
return { err: { code: t4, msg: e2, line: n2.line || n2, col: n2.col } };
|
|
141871
141872
|
}
|
|
141872
|
-
function
|
|
141873
|
+
function E(t4) {
|
|
141873
141874
|
return r(t4);
|
|
141874
141875
|
}
|
|
141875
141876
|
function b(t4, e2) {
|
|
141876
|
-
const
|
|
141877
|
-
return { line:
|
|
141877
|
+
const n2 = t4.substring(0, e2).split(/\r?\n/);
|
|
141878
|
+
return { line: n2.length, col: n2[n2.length - 1].length + 1 };
|
|
141878
141879
|
}
|
|
141879
|
-
function
|
|
141880
|
+
function N(t4) {
|
|
141880
141881
|
return t4.startIndex + t4[1].length;
|
|
141881
141882
|
}
|
|
141882
|
-
const
|
|
141883
|
+
const y = { preserveOrder: false, attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, removeNSPrefix: false, allowBooleanAttributes: false, parseTagValue: true, parseAttributeValue: false, trimValues: true, cdataPropName: false, numberParseOptions: { hex: true, leadingZeros: true, eNotation: true }, tagValueProcessor: function(t4, e2) {
|
|
141883
141884
|
return e2;
|
|
141884
141885
|
}, attributeValueProcessor: function(t4, e2) {
|
|
141885
141886
|
return e2;
|
|
141886
|
-
}, stopNodes: [], alwaysCreateTextNode: false, isArray: () => false, commentPropName: false, unpairedTags: [], processEntities: true, htmlEntities: false, ignoreDeclaration: false, ignorePiTags: false, transformTagName: false, transformAttributeName: false, updateTag: function(t4, e2,
|
|
141887
|
+
}, stopNodes: [], alwaysCreateTextNode: false, isArray: () => false, commentPropName: false, unpairedTags: [], processEntities: true, htmlEntities: false, ignoreDeclaration: false, ignorePiTags: false, transformTagName: false, transformAttributeName: false, updateTag: function(t4, e2, n2) {
|
|
141887
141888
|
return t4;
|
|
141888
141889
|
}, captureMetaData: false };
|
|
141889
|
-
|
|
141890
|
-
|
|
141891
|
-
|
|
141890
|
+
function T(t4) {
|
|
141891
|
+
return "boolean" == typeof t4 ? { enabled: t4, maxEntitySize: 1e4, maxExpansionDepth: 10, maxTotalExpansions: 1e3, maxExpandedLength: 1e5, allowedTags: null, tagFilter: null } : "object" == typeof t4 && null !== t4 ? { enabled: false !== t4.enabled, maxEntitySize: t4.maxEntitySize ?? 1e4, maxExpansionDepth: t4.maxExpansionDepth ?? 10, maxTotalExpansions: t4.maxTotalExpansions ?? 1e3, maxExpandedLength: t4.maxExpandedLength ?? 1e5, allowedTags: t4.allowedTags ?? null, tagFilter: t4.tagFilter ?? null } : T(true);
|
|
141892
|
+
}
|
|
141893
|
+
const w = function(t4) {
|
|
141894
|
+
const e2 = Object.assign({}, y, t4);
|
|
141895
|
+
return e2.processEntities = T(e2.processEntities), e2;
|
|
141896
|
+
};
|
|
141897
|
+
let v;
|
|
141898
|
+
v = "function" != typeof Symbol ? "@@xmlMetadata" : /* @__PURE__ */ Symbol("XML Node Metadata");
|
|
141899
|
+
class I {
|
|
141892
141900
|
constructor(t4) {
|
|
141893
141901
|
this.tagname = t4, this.child = [], this[":@"] = {};
|
|
141894
141902
|
}
|
|
@@ -141896,151 +141904,155 @@ var require_fxp = __commonJS({
|
|
|
141896
141904
|
"__proto__" === t4 && (t4 = "#__proto__"), this.child.push({ [t4]: e2 });
|
|
141897
141905
|
}
|
|
141898
141906
|
addChild(t4, e2) {
|
|
141899
|
-
"__proto__" === t4.tagname && (t4.tagname = "#__proto__"), t4[":@"] && Object.keys(t4[":@"]).length > 0 ? this.child.push({ [t4.tagname]: t4.child, ":@": t4[":@"] }) : this.child.push({ [t4.tagname]: t4.child }), void 0 !== e2 && (this.child[this.child.length - 1][
|
|
141907
|
+
"__proto__" === t4.tagname && (t4.tagname = "#__proto__"), t4[":@"] && Object.keys(t4[":@"]).length > 0 ? this.child.push({ [t4.tagname]: t4.child, ":@": t4[":@"] }) : this.child.push({ [t4.tagname]: t4.child }), void 0 !== e2 && (this.child[this.child.length - 1][v] = { startIndex: e2 });
|
|
141900
141908
|
}
|
|
141901
141909
|
static getMetaDataSymbol() {
|
|
141902
|
-
return
|
|
141910
|
+
return v;
|
|
141903
141911
|
}
|
|
141904
141912
|
}
|
|
141905
|
-
class
|
|
141913
|
+
class O {
|
|
141906
141914
|
constructor(t4) {
|
|
141907
|
-
this.suppressValidationErr = !t4;
|
|
141915
|
+
this.suppressValidationErr = !t4, this.options = t4;
|
|
141908
141916
|
}
|
|
141909
141917
|
readDocType(t4, e2) {
|
|
141910
|
-
const
|
|
141918
|
+
const n2 = {};
|
|
141911
141919
|
if ("O" !== t4[e2 + 3] || "C" !== t4[e2 + 4] || "T" !== t4[e2 + 5] || "Y" !== t4[e2 + 6] || "P" !== t4[e2 + 7] || "E" !== t4[e2 + 8]) throw new Error("Invalid Tag instead of DOCTYPE");
|
|
141912
141920
|
{
|
|
141913
141921
|
e2 += 9;
|
|
141914
|
-
let
|
|
141922
|
+
let i2 = 1, s2 = false, r2 = false, o2 = "";
|
|
141915
141923
|
for (; e2 < t4.length; e2++) if ("<" !== t4[e2] || r2) if (">" === t4[e2]) {
|
|
141916
|
-
if (r2 ? "-" === t4[e2 - 1] && "-" === t4[e2 - 2] && (r2 = false,
|
|
141924
|
+
if (r2 ? "-" === t4[e2 - 1] && "-" === t4[e2 - 2] && (r2 = false, i2--) : i2--, 0 === i2) break;
|
|
141917
141925
|
} else "[" === t4[e2] ? s2 = true : o2 += t4[e2];
|
|
141918
141926
|
else {
|
|
141919
|
-
if (s2 &&
|
|
141920
|
-
let
|
|
141921
|
-
e2 += 7, [
|
|
141922
|
-
|
|
141927
|
+
if (s2 && A(t4, "!ENTITY", e2)) {
|
|
141928
|
+
let i3, s3;
|
|
141929
|
+
if (e2 += 7, [i3, s3, e2] = this.readEntityExp(t4, e2 + 1, this.suppressValidationErr), -1 === s3.indexOf("&")) {
|
|
141930
|
+
const t5 = i3.replace(/[.\-+*:]/g, "\\.");
|
|
141931
|
+
n2[i3] = { regx: RegExp(`&${t5};`, "g"), val: s3 };
|
|
141932
|
+
}
|
|
141933
|
+
} else if (s2 && A(t4, "!ELEMENT", e2)) {
|
|
141923
141934
|
e2 += 8;
|
|
141924
|
-
const { index:
|
|
141925
|
-
e2 =
|
|
141926
|
-
} else if (s2 &&
|
|
141927
|
-
else if (s2 &&
|
|
141935
|
+
const { index: n3 } = this.readElementExp(t4, e2 + 1);
|
|
141936
|
+
e2 = n3;
|
|
141937
|
+
} else if (s2 && A(t4, "!ATTLIST", e2)) e2 += 8;
|
|
141938
|
+
else if (s2 && A(t4, "!NOTATION", e2)) {
|
|
141928
141939
|
e2 += 9;
|
|
141929
|
-
const { index:
|
|
141930
|
-
e2 =
|
|
141940
|
+
const { index: n3 } = this.readNotationExp(t4, e2 + 1, this.suppressValidationErr);
|
|
141941
|
+
e2 = n3;
|
|
141931
141942
|
} else {
|
|
141932
|
-
if (!
|
|
141943
|
+
if (!A(t4, "!--", e2)) throw new Error("Invalid DOCTYPE");
|
|
141933
141944
|
r2 = true;
|
|
141934
141945
|
}
|
|
141935
|
-
|
|
141946
|
+
i2++, o2 = "";
|
|
141936
141947
|
}
|
|
141937
|
-
if (0 !==
|
|
141948
|
+
if (0 !== i2) throw new Error("Unclosed DOCTYPE");
|
|
141938
141949
|
}
|
|
141939
|
-
return { entities:
|
|
141950
|
+
return { entities: n2, i: e2 };
|
|
141940
141951
|
}
|
|
141941
141952
|
readEntityExp(t4, e2) {
|
|
141942
|
-
e2 =
|
|
141943
|
-
let
|
|
141944
|
-
for (; e2 < t4.length && !/\s/.test(t4[e2]) && '"' !== t4[e2] && "'" !== t4[e2]; )
|
|
141945
|
-
if (
|
|
141953
|
+
e2 = P(t4, e2);
|
|
141954
|
+
let n2 = "";
|
|
141955
|
+
for (; e2 < t4.length && !/\s/.test(t4[e2]) && '"' !== t4[e2] && "'" !== t4[e2]; ) n2 += t4[e2], e2++;
|
|
141956
|
+
if (S(n2), e2 = P(t4, e2), !this.suppressValidationErr) {
|
|
141946
141957
|
if ("SYSTEM" === t4.substring(e2, e2 + 6).toUpperCase()) throw new Error("External entities are not supported");
|
|
141947
141958
|
if ("%" === t4[e2]) throw new Error("Parameter entities are not supported");
|
|
141948
141959
|
}
|
|
141949
|
-
let
|
|
141950
|
-
|
|
141960
|
+
let i2 = "";
|
|
141961
|
+
if ([e2, i2] = this.readIdentifierVal(t4, e2, "entity"), false !== this.options.enabled && this.options.maxEntitySize && i2.length > this.options.maxEntitySize) throw new Error(`Entity "${n2}" size (${i2.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);
|
|
141962
|
+
return [n2, i2, --e2];
|
|
141951
141963
|
}
|
|
141952
141964
|
readNotationExp(t4, e2) {
|
|
141953
|
-
e2 =
|
|
141954
|
-
let
|
|
141955
|
-
for (; e2 < t4.length && !/\s/.test(t4[e2]); )
|
|
141956
|
-
!this.suppressValidationErr &&
|
|
141957
|
-
const
|
|
141958
|
-
if (!this.suppressValidationErr && "SYSTEM" !==
|
|
141959
|
-
e2 +=
|
|
141965
|
+
e2 = P(t4, e2);
|
|
141966
|
+
let n2 = "";
|
|
141967
|
+
for (; e2 < t4.length && !/\s/.test(t4[e2]); ) n2 += t4[e2], e2++;
|
|
141968
|
+
!this.suppressValidationErr && S(n2), e2 = P(t4, e2);
|
|
141969
|
+
const i2 = t4.substring(e2, e2 + 6).toUpperCase();
|
|
141970
|
+
if (!this.suppressValidationErr && "SYSTEM" !== i2 && "PUBLIC" !== i2) throw new Error(`Expected SYSTEM or PUBLIC, found "${i2}"`);
|
|
141971
|
+
e2 += i2.length, e2 = P(t4, e2);
|
|
141960
141972
|
let s2 = null, r2 = null;
|
|
141961
|
-
if ("PUBLIC" ===
|
|
141962
|
-
else if ("SYSTEM" ===
|
|
141963
|
-
return { notationName:
|
|
141973
|
+
if ("PUBLIC" === i2) [e2, s2] = this.readIdentifierVal(t4, e2, "publicIdentifier"), '"' !== t4[e2 = P(t4, e2)] && "'" !== t4[e2] || ([e2, r2] = this.readIdentifierVal(t4, e2, "systemIdentifier"));
|
|
141974
|
+
else if ("SYSTEM" === i2 && ([e2, r2] = this.readIdentifierVal(t4, e2, "systemIdentifier"), !this.suppressValidationErr && !r2)) throw new Error("Missing mandatory system identifier for SYSTEM notation");
|
|
141975
|
+
return { notationName: n2, publicIdentifier: s2, systemIdentifier: r2, index: --e2 };
|
|
141964
141976
|
}
|
|
141965
|
-
readIdentifierVal(t4, e2,
|
|
141966
|
-
let
|
|
141977
|
+
readIdentifierVal(t4, e2, n2) {
|
|
141978
|
+
let i2 = "";
|
|
141967
141979
|
const s2 = t4[e2];
|
|
141968
141980
|
if ('"' !== s2 && "'" !== s2) throw new Error(`Expected quoted string, found "${s2}"`);
|
|
141969
|
-
for (e2++; e2 < t4.length && t4[e2] !== s2; )
|
|
141970
|
-
if (t4[e2] !== s2) throw new Error(`Unterminated ${
|
|
141971
|
-
return [++e2,
|
|
141981
|
+
for (e2++; e2 < t4.length && t4[e2] !== s2; ) i2 += t4[e2], e2++;
|
|
141982
|
+
if (t4[e2] !== s2) throw new Error(`Unterminated ${n2} value`);
|
|
141983
|
+
return [++e2, i2];
|
|
141972
141984
|
}
|
|
141973
141985
|
readElementExp(t4, e2) {
|
|
141974
|
-
e2 =
|
|
141975
|
-
let i2 = "";
|
|
141976
|
-
for (; e2 < t4.length && !/\s/.test(t4[e2]); ) i2 += t4[e2], e2++;
|
|
141977
|
-
if (!this.suppressValidationErr && !r(i2)) throw new Error(`Invalid element name: "${i2}"`);
|
|
141986
|
+
e2 = P(t4, e2);
|
|
141978
141987
|
let n2 = "";
|
|
141979
|
-
|
|
141980
|
-
|
|
141988
|
+
for (; e2 < t4.length && !/\s/.test(t4[e2]); ) n2 += t4[e2], e2++;
|
|
141989
|
+
if (!this.suppressValidationErr && !r(n2)) throw new Error(`Invalid element name: "${n2}"`);
|
|
141990
|
+
let i2 = "";
|
|
141991
|
+
if ("E" === t4[e2 = P(t4, e2)] && A(t4, "MPTY", e2)) e2 += 4;
|
|
141992
|
+
else if ("A" === t4[e2] && A(t4, "NY", e2)) e2 += 2;
|
|
141981
141993
|
else if ("(" === t4[e2]) {
|
|
141982
|
-
for (e2++; e2 < t4.length && ")" !== t4[e2]; )
|
|
141994
|
+
for (e2++; e2 < t4.length && ")" !== t4[e2]; ) i2 += t4[e2], e2++;
|
|
141983
141995
|
if (")" !== t4[e2]) throw new Error("Unterminated content model");
|
|
141984
141996
|
} else if (!this.suppressValidationErr) throw new Error(`Invalid Element Expression, found "${t4[e2]}"`);
|
|
141985
|
-
return { elementName:
|
|
141997
|
+
return { elementName: n2, contentModel: i2.trim(), index: e2 };
|
|
141986
141998
|
}
|
|
141987
141999
|
readAttlistExp(t4, e2) {
|
|
141988
|
-
e2 =
|
|
141989
|
-
let i2 = "";
|
|
141990
|
-
for (; e2 < t4.length && !/\s/.test(t4[e2]); ) i2 += t4[e2], e2++;
|
|
141991
|
-
O(i2), e2 = I(t4, e2);
|
|
142000
|
+
e2 = P(t4, e2);
|
|
141992
142001
|
let n2 = "";
|
|
141993
142002
|
for (; e2 < t4.length && !/\s/.test(t4[e2]); ) n2 += t4[e2], e2++;
|
|
141994
|
-
|
|
141995
|
-
|
|
142003
|
+
S(n2), e2 = P(t4, e2);
|
|
142004
|
+
let i2 = "";
|
|
142005
|
+
for (; e2 < t4.length && !/\s/.test(t4[e2]); ) i2 += t4[e2], e2++;
|
|
142006
|
+
if (!S(i2)) throw new Error(`Invalid attribute name: "${i2}"`);
|
|
142007
|
+
e2 = P(t4, e2);
|
|
141996
142008
|
let s2 = "";
|
|
141997
142009
|
if ("NOTATION" === t4.substring(e2, e2 + 8).toUpperCase()) {
|
|
141998
|
-
if (s2 = "NOTATION", "(" !== t4[e2 =
|
|
142010
|
+
if (s2 = "NOTATION", "(" !== t4[e2 = P(t4, e2 += 8)]) throw new Error(`Expected '(', found "${t4[e2]}"`);
|
|
141999
142011
|
e2++;
|
|
142000
|
-
let
|
|
142012
|
+
let n3 = [];
|
|
142001
142013
|
for (; e2 < t4.length && ")" !== t4[e2]; ) {
|
|
142002
|
-
let
|
|
142003
|
-
for (; e2 < t4.length && "|" !== t4[e2] && ")" !== t4[e2]; )
|
|
142004
|
-
if (
|
|
142005
|
-
|
|
142014
|
+
let i3 = "";
|
|
142015
|
+
for (; e2 < t4.length && "|" !== t4[e2] && ")" !== t4[e2]; ) i3 += t4[e2], e2++;
|
|
142016
|
+
if (i3 = i3.trim(), !S(i3)) throw new Error(`Invalid notation name: "${i3}"`);
|
|
142017
|
+
n3.push(i3), "|" === t4[e2] && (e2++, e2 = P(t4, e2));
|
|
142006
142018
|
}
|
|
142007
142019
|
if (")" !== t4[e2]) throw new Error("Unterminated list of notations");
|
|
142008
|
-
e2++, s2 += " (" +
|
|
142020
|
+
e2++, s2 += " (" + n3.join("|") + ")";
|
|
142009
142021
|
} else {
|
|
142010
142022
|
for (; e2 < t4.length && !/\s/.test(t4[e2]); ) s2 += t4[e2], e2++;
|
|
142011
|
-
const
|
|
142012
|
-
if (!this.suppressValidationErr && !
|
|
142023
|
+
const n3 = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
|
|
142024
|
+
if (!this.suppressValidationErr && !n3.includes(s2.toUpperCase())) throw new Error(`Invalid attribute type: "${s2}"`);
|
|
142013
142025
|
}
|
|
142014
|
-
e2 =
|
|
142026
|
+
e2 = P(t4, e2);
|
|
142015
142027
|
let r2 = "";
|
|
142016
|
-
return "#REQUIRED" === t4.substring(e2, e2 + 8).toUpperCase() ? (r2 = "#REQUIRED", e2 += 8) : "#IMPLIED" === t4.substring(e2, e2 + 7).toUpperCase() ? (r2 = "#IMPLIED", e2 += 7) : [e2, r2] = this.readIdentifierVal(t4, e2, "ATTLIST"), { elementName:
|
|
142028
|
+
return "#REQUIRED" === t4.substring(e2, e2 + 8).toUpperCase() ? (r2 = "#REQUIRED", e2 += 8) : "#IMPLIED" === t4.substring(e2, e2 + 7).toUpperCase() ? (r2 = "#IMPLIED", e2 += 7) : [e2, r2] = this.readIdentifierVal(t4, e2, "ATTLIST"), { elementName: n2, attributeName: i2, attributeType: s2, defaultValue: r2, index: e2 };
|
|
142017
142029
|
}
|
|
142018
142030
|
}
|
|
142019
|
-
const
|
|
142031
|
+
const P = (t4, e2) => {
|
|
142020
142032
|
for (; e2 < t4.length && /\s/.test(t4[e2]); ) e2++;
|
|
142021
142033
|
return e2;
|
|
142022
142034
|
};
|
|
142023
|
-
function
|
|
142024
|
-
for (let
|
|
142035
|
+
function A(t4, e2, n2) {
|
|
142036
|
+
for (let i2 = 0; i2 < e2.length; i2++) if (e2[i2] !== t4[n2 + i2 + 1]) return false;
|
|
142025
142037
|
return true;
|
|
142026
142038
|
}
|
|
142027
|
-
function
|
|
142039
|
+
function S(t4) {
|
|
142028
142040
|
if (r(t4)) return t4;
|
|
142029
142041
|
throw new Error(`Invalid entity name ${t4}`);
|
|
142030
142042
|
}
|
|
142031
|
-
const
|
|
142032
|
-
const
|
|
142033
|
-
function
|
|
142043
|
+
const C = /^[-+]?0x[a-fA-F0-9]+$/, $ = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, V = { hex: true, leadingZeros: true, decimalPoint: ".", eNotation: true };
|
|
142044
|
+
const D = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
|
|
142045
|
+
function L(t4) {
|
|
142034
142046
|
return "function" == typeof t4 ? t4 : Array.isArray(t4) ? (e2) => {
|
|
142035
|
-
for (const
|
|
142036
|
-
if ("string" == typeof
|
|
142037
|
-
if (
|
|
142047
|
+
for (const n2 of t4) {
|
|
142048
|
+
if ("string" == typeof n2 && e2 === n2) return true;
|
|
142049
|
+
if (n2 instanceof RegExp && n2.test(e2)) return true;
|
|
142038
142050
|
}
|
|
142039
142051
|
} : () => false;
|
|
142040
142052
|
}
|
|
142041
|
-
class
|
|
142053
|
+
class F {
|
|
142042
142054
|
constructor(t4) {
|
|
142043
|
-
if (this.options = t4, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: "'" }, gt: { regex: /&(gt|#62|#x3E);/g, val: ">" }, lt: { regex: /&(lt|#60|#x3C);/g, val: "<" }, quot: { regex: /&(quot|#34|#x22);/g, val: '"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: " " }, cent: { regex: /&(cent|#162);/g, val: "\xA2" }, pound: { regex: /&(pound|#163);/g, val: "\xA3" }, yen: { regex: /&(yen|#165);/g, val: "\xA5" }, euro: { regex: /&(euro|#8364);/g, val: "\u20AC" }, copyright: { regex: /&(copy|#169);/g, val: "\xA9" }, reg: { regex: /&(reg|#174);/g, val: "\xAE" }, inr: { regex: /&(inr|#8377);/g, val: "\u20B9" }, num_dec: { regex: /&#([0-9]{1,7});/g, val: (t5, e2) =>
|
|
142055
|
+
if (this.options = t4, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: "'" }, gt: { regex: /&(gt|#62|#x3E);/g, val: ">" }, lt: { regex: /&(lt|#60|#x3C);/g, val: "<" }, quot: { regex: /&(quot|#34|#x22);/g, val: '"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: " " }, cent: { regex: /&(cent|#162);/g, val: "\xA2" }, pound: { regex: /&(pound|#163);/g, val: "\xA3" }, yen: { regex: /&(yen|#165);/g, val: "\xA5" }, euro: { regex: /&(euro|#8364);/g, val: "\u20AC" }, copyright: { regex: /&(copy|#169);/g, val: "\xA9" }, reg: { regex: /&(reg|#174);/g, val: "\xAE" }, inr: { regex: /&(inr|#8377);/g, val: "\u20B9" }, num_dec: { regex: /&#([0-9]{1,7});/g, val: (t5, e2) => K(e2, 10, "&#") }, num_hex: { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (t5, e2) => K(e2, 16, "&#x") } }, this.addExternalEntities = j, this.parseXml = B, this.parseTextData = M, this.resolveNameSpace = _, this.buildAttributesMap = U, this.isItStopNode = X, this.replaceEntitiesValue = Y, this.readStopNodeData = q, this.saveTextToParentTag = G, this.addChild = R, this.ignoreAttributesFn = L(this.options.ignoreAttributes), this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.options.stopNodes && this.options.stopNodes.length > 0) {
|
|
142044
142056
|
this.stopNodesExact = /* @__PURE__ */ new Set(), this.stopNodesWildcard = /* @__PURE__ */ new Set();
|
|
142045
142057
|
for (let t5 = 0; t5 < this.options.stopNodes.length; t5++) {
|
|
142046
142058
|
const e2 = this.options.stopNodes[t5];
|
|
@@ -142051,316 +142063,323 @@ var require_fxp = __commonJS({
|
|
|
142051
142063
|
}
|
|
142052
142064
|
function j(t4) {
|
|
142053
142065
|
const e2 = Object.keys(t4);
|
|
142054
|
-
for (let
|
|
142055
|
-
const
|
|
142056
|
-
this.lastEntities[
|
|
142066
|
+
for (let n2 = 0; n2 < e2.length; n2++) {
|
|
142067
|
+
const i2 = e2[n2], s2 = i2.replace(/[.\-+*:]/g, "\\.");
|
|
142068
|
+
this.lastEntities[i2] = { regex: new RegExp("&" + s2 + ";", "g"), val: t4[i2] };
|
|
142057
142069
|
}
|
|
142058
142070
|
}
|
|
142059
|
-
function M(t4, e2,
|
|
142060
|
-
if (void 0 !== t4 && (this.options.trimValues && !
|
|
142061
|
-
o2 || (t4 = this.replaceEntitiesValue(t4));
|
|
142062
|
-
const
|
|
142063
|
-
return null ==
|
|
142071
|
+
function M(t4, e2, n2, i2, s2, r2, o2) {
|
|
142072
|
+
if (void 0 !== t4 && (this.options.trimValues && !i2 && (t4 = t4.trim()), t4.length > 0)) {
|
|
142073
|
+
o2 || (t4 = this.replaceEntitiesValue(t4, e2, n2));
|
|
142074
|
+
const i3 = this.options.tagValueProcessor(e2, t4, n2, s2, r2);
|
|
142075
|
+
return null == i3 ? t4 : typeof i3 != typeof t4 || i3 !== t4 ? i3 : this.options.trimValues || t4.trim() === t4 ? Z(t4, this.options.parseTagValue, this.options.numberParseOptions) : t4;
|
|
142064
142076
|
}
|
|
142065
142077
|
}
|
|
142066
|
-
function
|
|
142078
|
+
function _(t4) {
|
|
142067
142079
|
if (this.options.removeNSPrefix) {
|
|
142068
|
-
const e2 = t4.split(":"),
|
|
142080
|
+
const e2 = t4.split(":"), n2 = "/" === t4.charAt(0) ? "/" : "";
|
|
142069
142081
|
if ("xmlns" === e2[0]) return "";
|
|
142070
|
-
2 === e2.length && (t4 =
|
|
142082
|
+
2 === e2.length && (t4 = n2 + e2[1]);
|
|
142071
142083
|
}
|
|
142072
142084
|
return t4;
|
|
142073
142085
|
}
|
|
142074
|
-
const
|
|
142075
|
-
function
|
|
142086
|
+
const k = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
|
|
142087
|
+
function U(t4, e2, n2) {
|
|
142076
142088
|
if (true !== this.options.ignoreAttributes && "string" == typeof t4) {
|
|
142077
|
-
const i2 = s(t4,
|
|
142078
|
-
for (let t5 = 0; t5 <
|
|
142079
|
-
const
|
|
142080
|
-
if (this.ignoreAttributesFn(
|
|
142081
|
-
let
|
|
142082
|
-
if (
|
|
142083
|
-
this.options.trimValues && (
|
|
142084
|
-
const t6 = this.options.attributeValueProcessor(
|
|
142085
|
-
|
|
142086
|
-
} else this.options.allowBooleanAttributes && (
|
|
142087
|
-
}
|
|
142088
|
-
if (!Object.keys(
|
|
142089
|
+
const i2 = s(t4, k), r2 = i2.length, o2 = {};
|
|
142090
|
+
for (let t5 = 0; t5 < r2; t5++) {
|
|
142091
|
+
const s2 = this.resolveNameSpace(i2[t5][1]);
|
|
142092
|
+
if (this.ignoreAttributesFn(s2, e2)) continue;
|
|
142093
|
+
let r3 = i2[t5][4], a2 = this.options.attributeNamePrefix + s2;
|
|
142094
|
+
if (s2.length) if (this.options.transformAttributeName && (a2 = this.options.transformAttributeName(a2)), "__proto__" === a2 && (a2 = "#__proto__"), void 0 !== r3) {
|
|
142095
|
+
this.options.trimValues && (r3 = r3.trim()), r3 = this.replaceEntitiesValue(r3, n2, e2);
|
|
142096
|
+
const t6 = this.options.attributeValueProcessor(s2, r3, e2);
|
|
142097
|
+
o2[a2] = null == t6 ? r3 : typeof t6 != typeof r3 || t6 !== r3 ? t6 : Z(r3, this.options.parseAttributeValue, this.options.numberParseOptions);
|
|
142098
|
+
} else this.options.allowBooleanAttributes && (o2[a2] = true);
|
|
142099
|
+
}
|
|
142100
|
+
if (!Object.keys(o2).length) return;
|
|
142089
142101
|
if (this.options.attributesGroupName) {
|
|
142090
142102
|
const t5 = {};
|
|
142091
|
-
return t5[this.options.attributesGroupName] =
|
|
142103
|
+
return t5[this.options.attributesGroupName] = o2, t5;
|
|
142092
142104
|
}
|
|
142093
|
-
return
|
|
142105
|
+
return o2;
|
|
142094
142106
|
}
|
|
142095
142107
|
}
|
|
142096
|
-
const
|
|
142108
|
+
const B = function(t4) {
|
|
142097
142109
|
t4 = t4.replace(/\r\n?/g, "\n");
|
|
142098
|
-
const e2 = new
|
|
142099
|
-
let
|
|
142100
|
-
|
|
142110
|
+
const e2 = new I("!xml");
|
|
142111
|
+
let n2 = e2, i2 = "", s2 = "";
|
|
142112
|
+
this.entityExpansionCount = 0, this.currentExpandedLength = 0;
|
|
142113
|
+
const r2 = new O(this.options.processEntities);
|
|
142101
142114
|
for (let o2 = 0; o2 < t4.length; o2++) if ("<" === t4[o2]) if ("/" === t4[o2 + 1]) {
|
|
142102
|
-
const e3 =
|
|
142115
|
+
const e3 = z(t4, ">", o2, "Closing Tag is not closed.");
|
|
142103
142116
|
let r3 = t4.substring(o2 + 2, e3).trim();
|
|
142104
142117
|
if (this.options.removeNSPrefix) {
|
|
142105
142118
|
const t5 = r3.indexOf(":");
|
|
142106
142119
|
-1 !== t5 && (r3 = r3.substr(t5 + 1));
|
|
142107
142120
|
}
|
|
142108
|
-
this.options.transformTagName && (r3 = this.options.transformTagName(r3)),
|
|
142121
|
+
this.options.transformTagName && (r3 = this.options.transformTagName(r3)), n2 && (i2 = this.saveTextToParentTag(i2, n2, s2));
|
|
142109
142122
|
const a2 = s2.substring(s2.lastIndexOf(".") + 1);
|
|
142110
142123
|
if (r3 && -1 !== this.options.unpairedTags.indexOf(r3)) throw new Error(`Unpaired tag can not be used as closing tag: </${r3}>`);
|
|
142111
142124
|
let l2 = 0;
|
|
142112
|
-
a2 && -1 !== this.options.unpairedTags.indexOf(a2) ? (l2 = s2.lastIndexOf(".", s2.lastIndexOf(".") - 1), this.tagsNodeStack.pop()) : l2 = s2.lastIndexOf("."), s2 = s2.substring(0, l2),
|
|
142125
|
+
a2 && -1 !== this.options.unpairedTags.indexOf(a2) ? (l2 = s2.lastIndexOf(".", s2.lastIndexOf(".") - 1), this.tagsNodeStack.pop()) : l2 = s2.lastIndexOf("."), s2 = s2.substring(0, l2), n2 = this.tagsNodeStack.pop(), i2 = "", o2 = e3;
|
|
142113
142126
|
} else if ("?" === t4[o2 + 1]) {
|
|
142114
|
-
let e3 =
|
|
142127
|
+
let e3 = W(t4, o2, false, "?>");
|
|
142115
142128
|
if (!e3) throw new Error("Pi Tag is not closed.");
|
|
142116
|
-
if (
|
|
142129
|
+
if (i2 = this.saveTextToParentTag(i2, n2, s2), this.options.ignoreDeclaration && "?xml" === e3.tagName || this.options.ignorePiTags) ;
|
|
142117
142130
|
else {
|
|
142118
|
-
const t5 = new
|
|
142119
|
-
t5.add(this.options.textNodeName, ""), e3.tagName !== e3.tagExp && e3.attrExpPresent && (t5[":@"] = this.buildAttributesMap(e3.tagExp, s2)), this.addChild(
|
|
142131
|
+
const t5 = new I(e3.tagName);
|
|
142132
|
+
t5.add(this.options.textNodeName, ""), e3.tagName !== e3.tagExp && e3.attrExpPresent && (t5[":@"] = this.buildAttributesMap(e3.tagExp, s2, e3.tagName)), this.addChild(n2, t5, s2, o2);
|
|
142120
142133
|
}
|
|
142121
142134
|
o2 = e3.closeIndex + 1;
|
|
142122
142135
|
} else if ("!--" === t4.substr(o2 + 1, 3)) {
|
|
142123
|
-
const e3 =
|
|
142136
|
+
const e3 = z(t4, "-->", o2 + 4, "Comment is not closed.");
|
|
142124
142137
|
if (this.options.commentPropName) {
|
|
142125
142138
|
const r3 = t4.substring(o2 + 4, e3 - 2);
|
|
142126
|
-
|
|
142139
|
+
i2 = this.saveTextToParentTag(i2, n2, s2), n2.add(this.options.commentPropName, [{ [this.options.textNodeName]: r3 }]);
|
|
142127
142140
|
}
|
|
142128
142141
|
o2 = e3;
|
|
142129
142142
|
} else if ("!D" === t4.substr(o2 + 1, 2)) {
|
|
142130
142143
|
const e3 = r2.readDocType(t4, o2);
|
|
142131
142144
|
this.docTypeEntities = e3.entities, o2 = e3.i;
|
|
142132
142145
|
} else if ("![" === t4.substr(o2 + 1, 2)) {
|
|
142133
|
-
const e3 =
|
|
142134
|
-
|
|
142135
|
-
let a2 = this.parseTextData(r3,
|
|
142136
|
-
null == a2 && (a2 = ""), this.options.cdataPropName ?
|
|
142146
|
+
const e3 = z(t4, "]]>", o2, "CDATA is not closed.") - 2, r3 = t4.substring(o2 + 9, e3);
|
|
142147
|
+
i2 = this.saveTextToParentTag(i2, n2, s2);
|
|
142148
|
+
let a2 = this.parseTextData(r3, n2.tagname, s2, true, false, true, true);
|
|
142149
|
+
null == a2 && (a2 = ""), this.options.cdataPropName ? n2.add(this.options.cdataPropName, [{ [this.options.textNodeName]: r3 }]) : n2.add(this.options.textNodeName, a2), o2 = e3 + 2;
|
|
142137
142150
|
} else {
|
|
142138
|
-
let r3 =
|
|
142151
|
+
let r3 = W(t4, o2, this.options.removeNSPrefix), a2 = r3.tagName;
|
|
142139
142152
|
const l2 = r3.rawTagName;
|
|
142140
142153
|
let u2 = r3.tagExp, h2 = r3.attrExpPresent, d2 = r3.closeIndex;
|
|
142141
142154
|
if (this.options.transformTagName) {
|
|
142142
142155
|
const t5 = this.options.transformTagName(a2);
|
|
142143
142156
|
u2 === a2 && (u2 = t5), a2 = t5;
|
|
142144
142157
|
}
|
|
142145
|
-
|
|
142146
|
-
const p2 =
|
|
142147
|
-
p2 && -1 !== this.options.unpairedTags.indexOf(p2.tagname) && (
|
|
142158
|
+
n2 && i2 && "!xml" !== n2.tagname && (i2 = this.saveTextToParentTag(i2, n2, s2, false));
|
|
142159
|
+
const p2 = n2;
|
|
142160
|
+
p2 && -1 !== this.options.unpairedTags.indexOf(p2.tagname) && (n2 = this.tagsNodeStack.pop(), s2 = s2.substring(0, s2.lastIndexOf("."))), a2 !== e2.tagname && (s2 += s2 ? "." + a2 : a2);
|
|
142148
142161
|
const f2 = o2;
|
|
142149
142162
|
if (this.isItStopNode(this.stopNodesExact, this.stopNodesWildcard, s2, a2)) {
|
|
142150
142163
|
let e3 = "";
|
|
142151
142164
|
if (u2.length > 0 && u2.lastIndexOf("/") === u2.length - 1) "/" === a2[a2.length - 1] ? (a2 = a2.substr(0, a2.length - 1), s2 = s2.substr(0, s2.length - 1), u2 = a2) : u2 = u2.substr(0, u2.length - 1), o2 = r3.closeIndex;
|
|
142152
142165
|
else if (-1 !== this.options.unpairedTags.indexOf(a2)) o2 = r3.closeIndex;
|
|
142153
142166
|
else {
|
|
142154
|
-
const
|
|
142155
|
-
if (!
|
|
142156
|
-
o2 =
|
|
142167
|
+
const n3 = this.readStopNodeData(t4, l2, d2 + 1);
|
|
142168
|
+
if (!n3) throw new Error(`Unexpected end of ${l2}`);
|
|
142169
|
+
o2 = n3.i, e3 = n3.tagContent;
|
|
142157
142170
|
}
|
|
142158
|
-
const
|
|
142159
|
-
a2 !== u2 && h2 && (
|
|
142171
|
+
const i3 = new I(a2);
|
|
142172
|
+
a2 !== u2 && h2 && (i3[":@"] = this.buildAttributesMap(u2, s2, a2)), e3 && (e3 = this.parseTextData(e3, a2, s2, true, h2, true, true)), s2 = s2.substr(0, s2.lastIndexOf(".")), i3.add(this.options.textNodeName, e3), this.addChild(n2, i3, s2, f2);
|
|
142160
142173
|
} else {
|
|
142161
142174
|
if (u2.length > 0 && u2.lastIndexOf("/") === u2.length - 1) {
|
|
142162
142175
|
if ("/" === a2[a2.length - 1] ? (a2 = a2.substr(0, a2.length - 1), s2 = s2.substr(0, s2.length - 1), u2 = a2) : u2 = u2.substr(0, u2.length - 1), this.options.transformTagName) {
|
|
142163
142176
|
const t6 = this.options.transformTagName(a2);
|
|
142164
142177
|
u2 === a2 && (u2 = t6), a2 = t6;
|
|
142165
142178
|
}
|
|
142166
|
-
const t5 = new
|
|
142167
|
-
a2 !== u2 && h2 && (t5[":@"] = this.buildAttributesMap(u2, s2)), this.addChild(
|
|
142179
|
+
const t5 = new I(a2);
|
|
142180
|
+
a2 !== u2 && h2 && (t5[":@"] = this.buildAttributesMap(u2, s2, a2)), this.addChild(n2, t5, s2, f2), s2 = s2.substr(0, s2.lastIndexOf("."));
|
|
142168
142181
|
} else {
|
|
142169
|
-
const t5 = new
|
|
142170
|
-
this.tagsNodeStack.push(
|
|
142182
|
+
const t5 = new I(a2);
|
|
142183
|
+
this.tagsNodeStack.push(n2), a2 !== u2 && h2 && (t5[":@"] = this.buildAttributesMap(u2, s2, a2)), this.addChild(n2, t5, s2, f2), n2 = t5;
|
|
142171
142184
|
}
|
|
142172
|
-
|
|
142185
|
+
i2 = "", o2 = d2;
|
|
142173
142186
|
}
|
|
142174
142187
|
}
|
|
142175
|
-
else
|
|
142188
|
+
else i2 += t4[o2];
|
|
142176
142189
|
return e2.child;
|
|
142177
142190
|
};
|
|
142178
|
-
function
|
|
142179
|
-
this.options.captureMetaData || (
|
|
142180
|
-
const s2 = this.options.updateTag(e2.tagname,
|
|
142181
|
-
false === s2 || ("string" == typeof s2 ? (e2.tagname = s2, t4.addChild(e2,
|
|
142182
|
-
}
|
|
142183
|
-
const
|
|
142184
|
-
if (
|
|
142185
|
-
|
|
142186
|
-
|
|
142187
|
-
|
|
142188
|
-
|
|
142189
|
-
|
|
142190
|
-
|
|
142191
|
-
|
|
142192
|
-
|
|
142193
|
-
|
|
142194
|
-
|
|
142195
|
-
|
|
142196
|
-
|
|
142197
|
-
|
|
142198
|
-
|
|
142199
|
-
|
|
142200
|
-
|
|
142201
|
-
|
|
142202
|
-
|
|
142203
|
-
|
|
142204
|
-
|
|
142205
|
-
|
|
142206
|
-
|
|
142207
|
-
|
|
142208
|
-
|
|
142209
|
-
|
|
142191
|
+
function R(t4, e2, n2, i2) {
|
|
142192
|
+
this.options.captureMetaData || (i2 = void 0);
|
|
142193
|
+
const s2 = this.options.updateTag(e2.tagname, n2, e2[":@"]);
|
|
142194
|
+
false === s2 || ("string" == typeof s2 ? (e2.tagname = s2, t4.addChild(e2, i2)) : t4.addChild(e2, i2));
|
|
142195
|
+
}
|
|
142196
|
+
const Y = function(t4, e2, n2) {
|
|
142197
|
+
if (-1 === t4.indexOf("&")) return t4;
|
|
142198
|
+
const i2 = this.options.processEntities;
|
|
142199
|
+
if (!i2.enabled) return t4;
|
|
142200
|
+
if (i2.allowedTags && !i2.allowedTags.includes(e2)) return t4;
|
|
142201
|
+
if (i2.tagFilter && !i2.tagFilter(e2, n2)) return t4;
|
|
142202
|
+
for (let e3 in this.docTypeEntities) {
|
|
142203
|
+
const n3 = this.docTypeEntities[e3], s2 = t4.match(n3.regx);
|
|
142204
|
+
if (s2) {
|
|
142205
|
+
if (this.entityExpansionCount += s2.length, i2.maxTotalExpansions && this.entityExpansionCount > i2.maxTotalExpansions) throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${i2.maxTotalExpansions}`);
|
|
142206
|
+
const e4 = t4.length;
|
|
142207
|
+
if (t4 = t4.replace(n3.regx, n3.val), i2.maxExpandedLength && (this.currentExpandedLength += t4.length - e4, this.currentExpandedLength > i2.maxExpandedLength)) throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${i2.maxExpandedLength}`);
|
|
142208
|
+
}
|
|
142209
|
+
}
|
|
142210
|
+
if (-1 === t4.indexOf("&")) return t4;
|
|
142211
|
+
for (let e3 in this.lastEntities) {
|
|
142212
|
+
const n3 = this.lastEntities[e3];
|
|
142213
|
+
t4 = t4.replace(n3.regex, n3.val);
|
|
142214
|
+
}
|
|
142215
|
+
if (-1 === t4.indexOf("&")) return t4;
|
|
142216
|
+
if (this.options.htmlEntities) for (let e3 in this.htmlEntities) {
|
|
142217
|
+
const n3 = this.htmlEntities[e3];
|
|
142218
|
+
t4 = t4.replace(n3.regex, n3.val);
|
|
142219
|
+
}
|
|
142220
|
+
return t4.replace(this.ampEntity.regex, this.ampEntity.val);
|
|
142221
|
+
};
|
|
142222
|
+
function G(t4, e2, n2, i2) {
|
|
142223
|
+
return t4 && (void 0 === i2 && (i2 = 0 === e2.child.length), void 0 !== (t4 = this.parseTextData(t4, e2.tagname, n2, false, !!e2[":@"] && 0 !== Object.keys(e2[":@"]).length, i2)) && "" !== t4 && e2.add(this.options.textNodeName, t4), t4 = ""), t4;
|
|
142224
|
+
}
|
|
142225
|
+
function X(t4, e2, n2, i2) {
|
|
142226
|
+
return !(!e2 || !e2.has(i2)) || !(!t4 || !t4.has(n2));
|
|
142227
|
+
}
|
|
142228
|
+
function z(t4, e2, n2, i2) {
|
|
142229
|
+
const s2 = t4.indexOf(e2, n2);
|
|
142230
|
+
if (-1 === s2) throw new Error(i2);
|
|
142210
142231
|
return s2 + e2.length - 1;
|
|
142211
142232
|
}
|
|
142212
|
-
function
|
|
142213
|
-
const s2 = (function(t5, e3,
|
|
142214
|
-
let
|
|
142233
|
+
function W(t4, e2, n2, i2 = ">") {
|
|
142234
|
+
const s2 = (function(t5, e3, n3 = ">") {
|
|
142235
|
+
let i3, s3 = "";
|
|
142215
142236
|
for (let r3 = e3; r3 < t5.length; r3++) {
|
|
142216
142237
|
let e4 = t5[r3];
|
|
142217
|
-
if (
|
|
142218
|
-
else if ('"' === e4 || "'" === e4)
|
|
142219
|
-
else if (e4 ===
|
|
142220
|
-
if (!
|
|
142221
|
-
if (t5[r3 + 1] ===
|
|
142238
|
+
if (i3) e4 === i3 && (i3 = "");
|
|
142239
|
+
else if ('"' === e4 || "'" === e4) i3 = e4;
|
|
142240
|
+
else if (e4 === n3[0]) {
|
|
142241
|
+
if (!n3[1]) return { data: s3, index: r3 };
|
|
142242
|
+
if (t5[r3 + 1] === n3[1]) return { data: s3, index: r3 };
|
|
142222
142243
|
} else " " === e4 && (e4 = " ");
|
|
142223
142244
|
s3 += e4;
|
|
142224
142245
|
}
|
|
142225
|
-
})(t4, e2 + 1,
|
|
142246
|
+
})(t4, e2 + 1, i2);
|
|
142226
142247
|
if (!s2) return;
|
|
142227
142248
|
let r2 = s2.data;
|
|
142228
142249
|
const o2 = s2.index, a2 = r2.search(/\s/);
|
|
142229
142250
|
let l2 = r2, u2 = true;
|
|
142230
142251
|
-1 !== a2 && (l2 = r2.substring(0, a2), r2 = r2.substring(a2 + 1).trimStart());
|
|
142231
142252
|
const h2 = l2;
|
|
142232
|
-
if (
|
|
142253
|
+
if (n2) {
|
|
142233
142254
|
const t5 = l2.indexOf(":");
|
|
142234
142255
|
-1 !== t5 && (l2 = l2.substr(t5 + 1), u2 = l2 !== s2.data.substr(t5 + 1));
|
|
142235
142256
|
}
|
|
142236
142257
|
return { tagName: l2, tagExp: r2, closeIndex: o2, attrExpPresent: u2, rawTagName: h2 };
|
|
142237
142258
|
}
|
|
142238
|
-
function
|
|
142239
|
-
const
|
|
142259
|
+
function q(t4, e2, n2) {
|
|
142260
|
+
const i2 = n2;
|
|
142240
142261
|
let s2 = 1;
|
|
142241
|
-
for (;
|
|
142242
|
-
const r2 =
|
|
142243
|
-
if (t4.substring(
|
|
142244
|
-
|
|
142245
|
-
} else if ("?" === t4[
|
|
142246
|
-
else if ("!--" === t4.substr(
|
|
142247
|
-
else if ("![" === t4.substr(
|
|
142262
|
+
for (; n2 < t4.length; n2++) if ("<" === t4[n2]) if ("/" === t4[n2 + 1]) {
|
|
142263
|
+
const r2 = z(t4, ">", n2, `${e2} is not closed`);
|
|
142264
|
+
if (t4.substring(n2 + 2, r2).trim() === e2 && (s2--, 0 === s2)) return { tagContent: t4.substring(i2, n2), i: r2 };
|
|
142265
|
+
n2 = r2;
|
|
142266
|
+
} else if ("?" === t4[n2 + 1]) n2 = z(t4, "?>", n2 + 1, "StopNode is not closed.");
|
|
142267
|
+
else if ("!--" === t4.substr(n2 + 1, 3)) n2 = z(t4, "-->", n2 + 3, "StopNode is not closed.");
|
|
142268
|
+
else if ("![" === t4.substr(n2 + 1, 2)) n2 = z(t4, "]]>", n2, "StopNode is not closed.") - 2;
|
|
142248
142269
|
else {
|
|
142249
|
-
const
|
|
142250
|
-
|
|
142270
|
+
const i3 = W(t4, n2, ">");
|
|
142271
|
+
i3 && ((i3 && i3.tagName) === e2 && "/" !== i3.tagExp[i3.tagExp.length - 1] && s2++, n2 = i3.closeIndex);
|
|
142251
142272
|
}
|
|
142252
142273
|
}
|
|
142253
|
-
function
|
|
142274
|
+
function Z(t4, e2, n2) {
|
|
142254
142275
|
if (e2 && "string" == typeof t4) {
|
|
142255
142276
|
const e3 = t4.trim();
|
|
142256
142277
|
return "true" === e3 || "false" !== e3 && (function(t5, e4 = {}) {
|
|
142257
|
-
if (e4 = Object.assign({},
|
|
142258
|
-
let
|
|
142259
|
-
if (void 0 !== e4.skipLike && e4.skipLike.test(
|
|
142278
|
+
if (e4 = Object.assign({}, V, e4), !t5 || "string" != typeof t5) return t5;
|
|
142279
|
+
let n3 = t5.trim();
|
|
142280
|
+
if (void 0 !== e4.skipLike && e4.skipLike.test(n3)) return t5;
|
|
142260
142281
|
if ("0" === t5) return 0;
|
|
142261
|
-
if (e4.hex &&
|
|
142282
|
+
if (e4.hex && C.test(n3)) return (function(t6) {
|
|
142262
142283
|
if (parseInt) return parseInt(t6, 16);
|
|
142263
142284
|
if (Number.parseInt) return Number.parseInt(t6, 16);
|
|
142264
142285
|
if (window && window.parseInt) return window.parseInt(t6, 16);
|
|
142265
142286
|
throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
|
|
142266
|
-
})(
|
|
142267
|
-
if (-1 !==
|
|
142268
|
-
if (!
|
|
142269
|
-
const
|
|
142270
|
-
if (
|
|
142271
|
-
let s2 =
|
|
142272
|
-
const r2 = -1 ===
|
|
142273
|
-
return o2.length > 1 && a2 ? t6 : 1 !== o2.length || !
|
|
142287
|
+
})(n3);
|
|
142288
|
+
if (-1 !== n3.search(/.+[eE].+/)) return (function(t6, e5, n4) {
|
|
142289
|
+
if (!n4.eNotation) return t6;
|
|
142290
|
+
const i3 = e5.match(D);
|
|
142291
|
+
if (i3) {
|
|
142292
|
+
let s2 = i3[1] || "";
|
|
142293
|
+
const r2 = -1 === i3[3].indexOf("e") ? "E" : "e", o2 = i3[2], a2 = s2 ? t6[o2.length + 1] === r2 : t6[o2.length] === r2;
|
|
142294
|
+
return o2.length > 1 && a2 ? t6 : 1 !== o2.length || !i3[3].startsWith(`.${r2}`) && i3[3][0] !== r2 ? n4.leadingZeros && !a2 ? (e5 = (i3[1] || "") + i3[3], Number(e5)) : t6 : Number(e5);
|
|
142274
142295
|
}
|
|
142275
142296
|
return t6;
|
|
142276
|
-
})(t5,
|
|
142297
|
+
})(t5, n3, e4);
|
|
142277
142298
|
{
|
|
142278
|
-
const s2 =
|
|
142299
|
+
const s2 = $.exec(n3);
|
|
142279
142300
|
if (s2) {
|
|
142280
142301
|
const r2 = s2[1] || "", o2 = s2[2];
|
|
142281
|
-
let a2 = (
|
|
142302
|
+
let a2 = (i2 = s2[3]) && -1 !== i2.indexOf(".") ? ("." === (i2 = i2.replace(/0+$/, "")) ? i2 = "0" : "." === i2[0] ? i2 = "0" + i2 : "." === i2[i2.length - 1] && (i2 = i2.substring(0, i2.length - 1)), i2) : i2;
|
|
142282
142303
|
const l2 = r2 ? "." === t5[o2.length + 1] : "." === t5[o2.length];
|
|
142283
142304
|
if (!e4.leadingZeros && (o2.length > 1 || 1 === o2.length && !l2)) return t5;
|
|
142284
142305
|
{
|
|
142285
|
-
const
|
|
142286
|
-
if (0 ===
|
|
142287
|
-
if (-1 !== s3.search(/[eE]/)) return e4.eNotation ?
|
|
142288
|
-
if (-1 !==
|
|
142289
|
-
let l3 = o2 ? a2 :
|
|
142290
|
-
return o2 ? l3 === s3 || r2 + l3 === s3 ?
|
|
142306
|
+
const i3 = Number(n3), s3 = String(i3);
|
|
142307
|
+
if (0 === i3 || -0 === i3) return i3;
|
|
142308
|
+
if (-1 !== s3.search(/[eE]/)) return e4.eNotation ? i3 : t5;
|
|
142309
|
+
if (-1 !== n3.indexOf(".")) return "0" === s3 || s3 === a2 || s3 === `${r2}${a2}` ? i3 : t5;
|
|
142310
|
+
let l3 = o2 ? a2 : n3;
|
|
142311
|
+
return o2 ? l3 === s3 || r2 + l3 === s3 ? i3 : t5 : l3 === s3 || l3 === r2 + s3 ? i3 : t5;
|
|
142291
142312
|
}
|
|
142292
142313
|
}
|
|
142293
142314
|
return t5;
|
|
142294
142315
|
}
|
|
142295
|
-
var
|
|
142296
|
-
})(t4,
|
|
142316
|
+
var i2;
|
|
142317
|
+
})(t4, n2);
|
|
142297
142318
|
}
|
|
142298
142319
|
return void 0 !== t4 ? t4 : "";
|
|
142299
142320
|
}
|
|
142300
|
-
function
|
|
142301
|
-
const
|
|
142302
|
-
return
|
|
142321
|
+
function K(t4, e2, n2) {
|
|
142322
|
+
const i2 = Number.parseInt(t4, e2);
|
|
142323
|
+
return i2 >= 0 && i2 <= 1114111 ? String.fromCodePoint(i2) : n2 + t4 + ";";
|
|
142303
142324
|
}
|
|
142304
|
-
const
|
|
142305
|
-
function
|
|
142306
|
-
return
|
|
142325
|
+
const Q = I.getMetaDataSymbol();
|
|
142326
|
+
function J(t4, e2) {
|
|
142327
|
+
return H(t4, e2);
|
|
142307
142328
|
}
|
|
142308
|
-
function
|
|
142309
|
-
let
|
|
142329
|
+
function H(t4, e2, n2) {
|
|
142330
|
+
let i2;
|
|
142310
142331
|
const s2 = {};
|
|
142311
142332
|
for (let r2 = 0; r2 < t4.length; r2++) {
|
|
142312
|
-
const o2 = t4[r2], a2 =
|
|
142333
|
+
const o2 = t4[r2], a2 = tt(o2);
|
|
142313
142334
|
let l2 = "";
|
|
142314
|
-
if (l2 = void 0 ===
|
|
142335
|
+
if (l2 = void 0 === n2 ? a2 : n2 + "." + a2, a2 === e2.textNodeName) void 0 === i2 ? i2 = o2[a2] : i2 += "" + o2[a2];
|
|
142315
142336
|
else {
|
|
142316
142337
|
if (void 0 === a2) continue;
|
|
142317
142338
|
if (o2[a2]) {
|
|
142318
|
-
let t5 =
|
|
142319
|
-
const
|
|
142320
|
-
void 0 !== o2[
|
|
142339
|
+
let t5 = H(o2[a2], e2, l2);
|
|
142340
|
+
const n3 = nt(t5, e2);
|
|
142341
|
+
void 0 !== o2[Q] && (t5[Q] = o2[Q]), o2[":@"] ? et(t5, o2[":@"], l2, e2) : 1 !== Object.keys(t5).length || void 0 === t5[e2.textNodeName] || e2.alwaysCreateTextNode ? 0 === Object.keys(t5).length && (e2.alwaysCreateTextNode ? t5[e2.textNodeName] = "" : t5 = "") : t5 = t5[e2.textNodeName], void 0 !== s2[a2] && s2.hasOwnProperty(a2) ? (Array.isArray(s2[a2]) || (s2[a2] = [s2[a2]]), s2[a2].push(t5)) : e2.isArray(a2, l2, n3) ? s2[a2] = [t5] : s2[a2] = t5;
|
|
142321
142342
|
}
|
|
142322
142343
|
}
|
|
142323
142344
|
}
|
|
142324
|
-
return "string" == typeof
|
|
142345
|
+
return "string" == typeof i2 ? i2.length > 0 && (s2[e2.textNodeName] = i2) : void 0 !== i2 && (s2[e2.textNodeName] = i2), s2;
|
|
142325
142346
|
}
|
|
142326
|
-
function
|
|
142347
|
+
function tt(t4) {
|
|
142327
142348
|
const e2 = Object.keys(t4);
|
|
142328
142349
|
for (let t5 = 0; t5 < e2.length; t5++) {
|
|
142329
|
-
const
|
|
142330
|
-
if (":@" !==
|
|
142350
|
+
const n2 = e2[t5];
|
|
142351
|
+
if (":@" !== n2) return n2;
|
|
142331
142352
|
}
|
|
142332
142353
|
}
|
|
142333
|
-
function
|
|
142354
|
+
function et(t4, e2, n2, i2) {
|
|
142334
142355
|
if (e2) {
|
|
142335
142356
|
const s2 = Object.keys(e2), r2 = s2.length;
|
|
142336
142357
|
for (let o2 = 0; o2 < r2; o2++) {
|
|
142337
142358
|
const r3 = s2[o2];
|
|
142338
|
-
|
|
142359
|
+
i2.isArray(r3, n2 + "." + r3, true, true) ? t4[r3] = [e2[r3]] : t4[r3] = e2[r3];
|
|
142339
142360
|
}
|
|
142340
142361
|
}
|
|
142341
142362
|
}
|
|
142342
|
-
function
|
|
142343
|
-
const { textNodeName:
|
|
142344
|
-
return 0 ===
|
|
142363
|
+
function nt(t4, e2) {
|
|
142364
|
+
const { textNodeName: n2 } = e2, i2 = Object.keys(t4).length;
|
|
142365
|
+
return 0 === i2 || !(1 !== i2 || !t4[n2] && "boolean" != typeof t4[n2] && 0 !== t4[n2]);
|
|
142345
142366
|
}
|
|
142346
|
-
class
|
|
142367
|
+
class it {
|
|
142347
142368
|
constructor(t4) {
|
|
142348
|
-
this.externalEntities = {}, this.options = (
|
|
142349
|
-
return Object.assign({}, v, t5);
|
|
142350
|
-
})(t4);
|
|
142369
|
+
this.externalEntities = {}, this.options = w(t4);
|
|
142351
142370
|
}
|
|
142352
142371
|
parse(t4, e2) {
|
|
142353
142372
|
if ("string" != typeof t4 && t4.toString) t4 = t4.toString();
|
|
142354
142373
|
else if ("string" != typeof t4) throw new Error("XML data is accepted in String or Bytes[] form.");
|
|
142355
142374
|
if (e2) {
|
|
142356
142375
|
true === e2 && (e2 = {});
|
|
142357
|
-
const
|
|
142358
|
-
if (true !==
|
|
142376
|
+
const n3 = a(t4, e2);
|
|
142377
|
+
if (true !== n3) throw Error(`${n3.err.msg}:${n3.err.line}:${n3.err.col}`);
|
|
142359
142378
|
}
|
|
142360
|
-
const
|
|
142361
|
-
|
|
142362
|
-
const
|
|
142363
|
-
return this.options.preserveOrder || void 0 ===
|
|
142379
|
+
const n2 = new F(this.options);
|
|
142380
|
+
n2.addExternalEntities(this.externalEntities);
|
|
142381
|
+
const i2 = n2.parseXml(t4);
|
|
142382
|
+
return this.options.preserveOrder || void 0 === i2 ? i2 : J(i2, this.options);
|
|
142364
142383
|
}
|
|
142365
142384
|
addEntity(t4, e2) {
|
|
142366
142385
|
if (-1 !== e2.indexOf("&")) throw new Error("Entity value can't have '&'");
|
|
@@ -142369,159 +142388,159 @@ var require_fxp = __commonJS({
|
|
|
142369
142388
|
this.externalEntities[t4] = e2;
|
|
142370
142389
|
}
|
|
142371
142390
|
static getMetaDataSymbol() {
|
|
142372
|
-
return
|
|
142391
|
+
return I.getMetaDataSymbol();
|
|
142373
142392
|
}
|
|
142374
142393
|
}
|
|
142375
|
-
function
|
|
142376
|
-
let
|
|
142377
|
-
return e2.format && e2.indentBy.length > 0 && (
|
|
142394
|
+
function st(t4, e2) {
|
|
142395
|
+
let n2 = "";
|
|
142396
|
+
return e2.format && e2.indentBy.length > 0 && (n2 = "\n"), rt(t4, e2, "", n2);
|
|
142378
142397
|
}
|
|
142379
|
-
function
|
|
142398
|
+
function rt(t4, e2, n2, i2) {
|
|
142380
142399
|
let s2 = "", r2 = false;
|
|
142381
142400
|
for (let o2 = 0; o2 < t4.length; o2++) {
|
|
142382
|
-
const a2 = t4[o2], l2 =
|
|
142401
|
+
const a2 = t4[o2], l2 = ot(a2);
|
|
142383
142402
|
if (void 0 === l2) continue;
|
|
142384
142403
|
let u2 = "";
|
|
142385
|
-
if (u2 = 0 ===
|
|
142404
|
+
if (u2 = 0 === n2.length ? l2 : `${n2}.${l2}`, l2 === e2.textNodeName) {
|
|
142386
142405
|
let t5 = a2[l2];
|
|
142387
|
-
|
|
142406
|
+
lt(u2, e2) || (t5 = e2.tagValueProcessor(l2, t5), t5 = ut(t5, e2)), r2 && (s2 += i2), s2 += t5, r2 = false;
|
|
142388
142407
|
continue;
|
|
142389
142408
|
}
|
|
142390
142409
|
if (l2 === e2.cdataPropName) {
|
|
142391
|
-
r2 && (s2 +=
|
|
142410
|
+
r2 && (s2 += i2), s2 += `<![CDATA[${a2[l2][0][e2.textNodeName]}]]>`, r2 = false;
|
|
142392
142411
|
continue;
|
|
142393
142412
|
}
|
|
142394
142413
|
if (l2 === e2.commentPropName) {
|
|
142395
|
-
s2 +=
|
|
142414
|
+
s2 += i2 + `<!--${a2[l2][0][e2.textNodeName]}-->`, r2 = true;
|
|
142396
142415
|
continue;
|
|
142397
142416
|
}
|
|
142398
142417
|
if ("?" === l2[0]) {
|
|
142399
|
-
const t5 =
|
|
142418
|
+
const t5 = at(a2[":@"], e2), n3 = "?xml" === l2 ? "" : i2;
|
|
142400
142419
|
let o3 = a2[l2][0][e2.textNodeName];
|
|
142401
|
-
o3 = 0 !== o3.length ? " " + o3 : "", s2 +=
|
|
142420
|
+
o3 = 0 !== o3.length ? " " + o3 : "", s2 += n3 + `<${l2}${o3}${t5}?>`, r2 = true;
|
|
142402
142421
|
continue;
|
|
142403
142422
|
}
|
|
142404
|
-
let h2 =
|
|
142423
|
+
let h2 = i2;
|
|
142405
142424
|
"" !== h2 && (h2 += e2.indentBy);
|
|
142406
|
-
const d2 =
|
|
142407
|
-
-1 !== e2.unpairedTags.indexOf(l2) ? e2.suppressUnpairedNode ? s2 += d2 + ">" : s2 += d2 + "/>" : p2 && 0 !== p2.length || !e2.suppressEmptyNode ? p2 && p2.endsWith(">") ? s2 += d2 + `>${p2}${
|
|
142425
|
+
const d2 = i2 + `<${l2}${at(a2[":@"], e2)}`, p2 = rt(a2[l2], e2, u2, h2);
|
|
142426
|
+
-1 !== e2.unpairedTags.indexOf(l2) ? e2.suppressUnpairedNode ? s2 += d2 + ">" : s2 += d2 + "/>" : p2 && 0 !== p2.length || !e2.suppressEmptyNode ? p2 && p2.endsWith(">") ? s2 += d2 + `>${p2}${i2}</${l2}>` : (s2 += d2 + ">", p2 && "" !== i2 && (p2.includes("/>") || p2.includes("</")) ? s2 += i2 + e2.indentBy + p2 + i2 : s2 += p2, s2 += `</${l2}>`) : s2 += d2 + "/>", r2 = true;
|
|
142408
142427
|
}
|
|
142409
142428
|
return s2;
|
|
142410
142429
|
}
|
|
142411
|
-
function
|
|
142430
|
+
function ot(t4) {
|
|
142412
142431
|
const e2 = Object.keys(t4);
|
|
142413
|
-
for (let
|
|
142414
|
-
const
|
|
142415
|
-
if (t4.hasOwnProperty(
|
|
142432
|
+
for (let n2 = 0; n2 < e2.length; n2++) {
|
|
142433
|
+
const i2 = e2[n2];
|
|
142434
|
+
if (t4.hasOwnProperty(i2) && ":@" !== i2) return i2;
|
|
142416
142435
|
}
|
|
142417
142436
|
}
|
|
142418
|
-
function
|
|
142419
|
-
let
|
|
142420
|
-
if (t4 && !e2.ignoreAttributes) for (let
|
|
142421
|
-
if (!t4.hasOwnProperty(
|
|
142422
|
-
let s2 = e2.attributeValueProcessor(
|
|
142423
|
-
s2 =
|
|
142437
|
+
function at(t4, e2) {
|
|
142438
|
+
let n2 = "";
|
|
142439
|
+
if (t4 && !e2.ignoreAttributes) for (let i2 in t4) {
|
|
142440
|
+
if (!t4.hasOwnProperty(i2)) continue;
|
|
142441
|
+
let s2 = e2.attributeValueProcessor(i2, t4[i2]);
|
|
142442
|
+
s2 = ut(s2, e2), true === s2 && e2.suppressBooleanAttributes ? n2 += ` ${i2.substr(e2.attributeNamePrefix.length)}` : n2 += ` ${i2.substr(e2.attributeNamePrefix.length)}="${s2}"`;
|
|
142424
142443
|
}
|
|
142425
|
-
return
|
|
142444
|
+
return n2;
|
|
142426
142445
|
}
|
|
142427
|
-
function
|
|
142428
|
-
let
|
|
142429
|
-
for (let
|
|
142446
|
+
function lt(t4, e2) {
|
|
142447
|
+
let n2 = (t4 = t4.substr(0, t4.length - e2.textNodeName.length - 1)).substr(t4.lastIndexOf(".") + 1);
|
|
142448
|
+
for (let i2 in e2.stopNodes) if (e2.stopNodes[i2] === t4 || e2.stopNodes[i2] === "*." + n2) return true;
|
|
142430
142449
|
return false;
|
|
142431
142450
|
}
|
|
142432
|
-
function
|
|
142433
|
-
if (t4 && t4.length > 0 && e2.processEntities) for (let
|
|
142434
|
-
const
|
|
142435
|
-
t4 = t4.replace(
|
|
142451
|
+
function ut(t4, e2) {
|
|
142452
|
+
if (t4 && t4.length > 0 && e2.processEntities) for (let n2 = 0; n2 < e2.entities.length; n2++) {
|
|
142453
|
+
const i2 = e2.entities[n2];
|
|
142454
|
+
t4 = t4.replace(i2.regex, i2.val);
|
|
142436
142455
|
}
|
|
142437
142456
|
return t4;
|
|
142438
142457
|
}
|
|
142439
|
-
const
|
|
142458
|
+
const ht = { attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, cdataPropName: false, format: false, indentBy: " ", suppressEmptyNode: false, suppressUnpairedNode: true, suppressBooleanAttributes: true, tagValueProcessor: function(t4, e2) {
|
|
142440
142459
|
return e2;
|
|
142441
142460
|
}, attributeValueProcessor: function(t4, e2) {
|
|
142442
142461
|
return e2;
|
|
142443
142462
|
}, preserveOrder: false, commentPropName: false, unpairedTags: [], entities: [{ regex: new RegExp("&", "g"), val: "&" }, { regex: new RegExp(">", "g"), val: ">" }, { regex: new RegExp("<", "g"), val: "<" }, { regex: new RegExp("'", "g"), val: "'" }, { regex: new RegExp('"', "g"), val: """ }], processEntities: true, stopNodes: [], oneListGroup: false };
|
|
142444
|
-
function
|
|
142445
|
-
this.options = Object.assign({},
|
|
142463
|
+
function dt(t4) {
|
|
142464
|
+
this.options = Object.assign({}, ht, t4), true === this.options.ignoreAttributes || this.options.attributesGroupName ? this.isAttribute = function() {
|
|
142446
142465
|
return false;
|
|
142447
|
-
} : (this.ignoreAttributesFn =
|
|
142466
|
+
} : (this.ignoreAttributesFn = L(this.options.ignoreAttributes), this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = ct), this.processTextOrObjNode = pt, this.options.format ? (this.indentate = ft, this.tagEndChar = ">\n", this.newLine = "\n") : (this.indentate = function() {
|
|
142448
142467
|
return "";
|
|
142449
142468
|
}, this.tagEndChar = ">", this.newLine = "");
|
|
142450
142469
|
}
|
|
142451
|
-
function
|
|
142452
|
-
const s2 = this.j2x(t4,
|
|
142453
|
-
return void 0 !== t4[this.options.textNodeName] && 1 === Object.keys(t4).length ? this.buildTextValNode(t4[this.options.textNodeName], e2, s2.attrStr,
|
|
142470
|
+
function pt(t4, e2, n2, i2) {
|
|
142471
|
+
const s2 = this.j2x(t4, n2 + 1, i2.concat(e2));
|
|
142472
|
+
return void 0 !== t4[this.options.textNodeName] && 1 === Object.keys(t4).length ? this.buildTextValNode(t4[this.options.textNodeName], e2, s2.attrStr, n2) : this.buildObjectNode(s2.val, e2, s2.attrStr, n2);
|
|
142454
142473
|
}
|
|
142455
|
-
function
|
|
142474
|
+
function ft(t4) {
|
|
142456
142475
|
return this.options.indentBy.repeat(t4);
|
|
142457
142476
|
}
|
|
142458
|
-
function
|
|
142477
|
+
function ct(t4) {
|
|
142459
142478
|
return !(!t4.startsWith(this.options.attributeNamePrefix) || t4 === this.options.textNodeName) && t4.substr(this.attrPrefixLen);
|
|
142460
142479
|
}
|
|
142461
|
-
|
|
142462
|
-
return this.options.preserveOrder ?
|
|
142463
|
-
},
|
|
142464
|
-
let
|
|
142465
|
-
const r2 =
|
|
142480
|
+
dt.prototype.build = function(t4) {
|
|
142481
|
+
return this.options.preserveOrder ? st(t4, this.options) : (Array.isArray(t4) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (t4 = { [this.options.arrayNodeName]: t4 }), this.j2x(t4, 0, []).val);
|
|
142482
|
+
}, dt.prototype.j2x = function(t4, e2, n2) {
|
|
142483
|
+
let i2 = "", s2 = "";
|
|
142484
|
+
const r2 = n2.join(".");
|
|
142466
142485
|
for (let o2 in t4) if (Object.prototype.hasOwnProperty.call(t4, o2)) if (void 0 === t4[o2]) this.isAttribute(o2) && (s2 += "");
|
|
142467
142486
|
else if (null === t4[o2]) this.isAttribute(o2) || o2 === this.options.cdataPropName ? s2 += "" : "?" === o2[0] ? s2 += this.indentate(e2) + "<" + o2 + "?" + this.tagEndChar : s2 += this.indentate(e2) + "<" + o2 + "/" + this.tagEndChar;
|
|
142468
142487
|
else if (t4[o2] instanceof Date) s2 += this.buildTextValNode(t4[o2], o2, "", e2);
|
|
142469
142488
|
else if ("object" != typeof t4[o2]) {
|
|
142470
|
-
const
|
|
142471
|
-
if (
|
|
142472
|
-
else if (!
|
|
142489
|
+
const n3 = this.isAttribute(o2);
|
|
142490
|
+
if (n3 && !this.ignoreAttributesFn(n3, r2)) i2 += this.buildAttrPairStr(n3, "" + t4[o2]);
|
|
142491
|
+
else if (!n3) if (o2 === this.options.textNodeName) {
|
|
142473
142492
|
let e3 = this.options.tagValueProcessor(o2, "" + t4[o2]);
|
|
142474
142493
|
s2 += this.replaceEntitiesValue(e3);
|
|
142475
142494
|
} else s2 += this.buildTextValNode(t4[o2], o2, "", e2);
|
|
142476
142495
|
} else if (Array.isArray(t4[o2])) {
|
|
142477
|
-
const
|
|
142496
|
+
const i3 = t4[o2].length;
|
|
142478
142497
|
let r3 = "", a2 = "";
|
|
142479
|
-
for (let l2 = 0; l2 <
|
|
142480
|
-
const
|
|
142481
|
-
if (void 0 ===
|
|
142482
|
-
else if (null ===
|
|
142483
|
-
else if ("object" == typeof
|
|
142484
|
-
const t5 = this.j2x(
|
|
142485
|
-
r3 += t5.val, this.options.attributesGroupName &&
|
|
142486
|
-
} else r3 += this.processTextOrObjNode(
|
|
142498
|
+
for (let l2 = 0; l2 < i3; l2++) {
|
|
142499
|
+
const i4 = t4[o2][l2];
|
|
142500
|
+
if (void 0 === i4) ;
|
|
142501
|
+
else if (null === i4) "?" === o2[0] ? s2 += this.indentate(e2) + "<" + o2 + "?" + this.tagEndChar : s2 += this.indentate(e2) + "<" + o2 + "/" + this.tagEndChar;
|
|
142502
|
+
else if ("object" == typeof i4) if (this.options.oneListGroup) {
|
|
142503
|
+
const t5 = this.j2x(i4, e2 + 1, n2.concat(o2));
|
|
142504
|
+
r3 += t5.val, this.options.attributesGroupName && i4.hasOwnProperty(this.options.attributesGroupName) && (a2 += t5.attrStr);
|
|
142505
|
+
} else r3 += this.processTextOrObjNode(i4, o2, e2, n2);
|
|
142487
142506
|
else if (this.options.oneListGroup) {
|
|
142488
|
-
let t5 = this.options.tagValueProcessor(o2,
|
|
142507
|
+
let t5 = this.options.tagValueProcessor(o2, i4);
|
|
142489
142508
|
t5 = this.replaceEntitiesValue(t5), r3 += t5;
|
|
142490
|
-
} else r3 += this.buildTextValNode(
|
|
142509
|
+
} else r3 += this.buildTextValNode(i4, o2, "", e2);
|
|
142491
142510
|
}
|
|
142492
142511
|
this.options.oneListGroup && (r3 = this.buildObjectNode(r3, o2, a2, e2)), s2 += r3;
|
|
142493
142512
|
} else if (this.options.attributesGroupName && o2 === this.options.attributesGroupName) {
|
|
142494
|
-
const e3 = Object.keys(t4[o2]),
|
|
142495
|
-
for (let s3 = 0; s3 <
|
|
142496
|
-
} else s2 += this.processTextOrObjNode(t4[o2], o2, e2,
|
|
142497
|
-
return { attrStr:
|
|
142498
|
-
},
|
|
142513
|
+
const e3 = Object.keys(t4[o2]), n3 = e3.length;
|
|
142514
|
+
for (let s3 = 0; s3 < n3; s3++) i2 += this.buildAttrPairStr(e3[s3], "" + t4[o2][e3[s3]]);
|
|
142515
|
+
} else s2 += this.processTextOrObjNode(t4[o2], o2, e2, n2);
|
|
142516
|
+
return { attrStr: i2, val: s2 };
|
|
142517
|
+
}, dt.prototype.buildAttrPairStr = function(t4, e2) {
|
|
142499
142518
|
return e2 = this.options.attributeValueProcessor(t4, "" + e2), e2 = this.replaceEntitiesValue(e2), this.options.suppressBooleanAttributes && "true" === e2 ? " " + t4 : " " + t4 + '="' + e2 + '"';
|
|
142500
|
-
},
|
|
142501
|
-
if ("" === t4) return "?" === e2[0] ? this.indentate(
|
|
142519
|
+
}, dt.prototype.buildObjectNode = function(t4, e2, n2, i2) {
|
|
142520
|
+
if ("" === t4) return "?" === e2[0] ? this.indentate(i2) + "<" + e2 + n2 + "?" + this.tagEndChar : this.indentate(i2) + "<" + e2 + n2 + this.closeTag(e2) + this.tagEndChar;
|
|
142502
142521
|
{
|
|
142503
142522
|
let s2 = "</" + e2 + this.tagEndChar, r2 = "";
|
|
142504
|
-
return "?" === e2[0] && (r2 = "?", s2 = ""), !
|
|
142523
|
+
return "?" === e2[0] && (r2 = "?", s2 = ""), !n2 && "" !== n2 || -1 !== t4.indexOf("<") ? false !== this.options.commentPropName && e2 === this.options.commentPropName && 0 === r2.length ? this.indentate(i2) + `<!--${t4}-->` + this.newLine : this.indentate(i2) + "<" + e2 + n2 + r2 + this.tagEndChar + t4 + this.indentate(i2) + s2 : this.indentate(i2) + "<" + e2 + n2 + r2 + ">" + t4 + s2;
|
|
142505
142524
|
}
|
|
142506
|
-
},
|
|
142525
|
+
}, dt.prototype.closeTag = function(t4) {
|
|
142507
142526
|
let e2 = "";
|
|
142508
142527
|
return -1 !== this.options.unpairedTags.indexOf(t4) ? this.options.suppressUnpairedNode || (e2 = "/") : e2 = this.options.suppressEmptyNode ? "/" : `></${t4}`, e2;
|
|
142509
|
-
},
|
|
142510
|
-
if (false !== this.options.cdataPropName && e2 === this.options.cdataPropName) return this.indentate(
|
|
142511
|
-
if (false !== this.options.commentPropName && e2 === this.options.commentPropName) return this.indentate(
|
|
142512
|
-
if ("?" === e2[0]) return this.indentate(
|
|
142528
|
+
}, dt.prototype.buildTextValNode = function(t4, e2, n2, i2) {
|
|
142529
|
+
if (false !== this.options.cdataPropName && e2 === this.options.cdataPropName) return this.indentate(i2) + `<![CDATA[${t4}]]>` + this.newLine;
|
|
142530
|
+
if (false !== this.options.commentPropName && e2 === this.options.commentPropName) return this.indentate(i2) + `<!--${t4}-->` + this.newLine;
|
|
142531
|
+
if ("?" === e2[0]) return this.indentate(i2) + "<" + e2 + n2 + "?" + this.tagEndChar;
|
|
142513
142532
|
{
|
|
142514
142533
|
let s2 = this.options.tagValueProcessor(e2, t4);
|
|
142515
|
-
return s2 = this.replaceEntitiesValue(s2), "" === s2 ? this.indentate(
|
|
142534
|
+
return s2 = this.replaceEntitiesValue(s2), "" === s2 ? this.indentate(i2) + "<" + e2 + n2 + this.closeTag(e2) + this.tagEndChar : this.indentate(i2) + "<" + e2 + n2 + ">" + s2 + "</" + e2 + this.tagEndChar;
|
|
142516
142535
|
}
|
|
142517
|
-
},
|
|
142536
|
+
}, dt.prototype.replaceEntitiesValue = function(t4) {
|
|
142518
142537
|
if (t4 && t4.length > 0 && this.options.processEntities) for (let e2 = 0; e2 < this.options.entities.length; e2++) {
|
|
142519
|
-
const
|
|
142520
|
-
t4 = t4.replace(
|
|
142538
|
+
const n2 = this.options.entities[e2];
|
|
142539
|
+
t4 = t4.replace(n2.regex, n2.val);
|
|
142521
142540
|
}
|
|
142522
142541
|
return t4;
|
|
142523
142542
|
};
|
|
142524
|
-
const
|
|
142543
|
+
const gt = { validate: a };
|
|
142525
142544
|
module2.exports = e;
|
|
142526
142545
|
})();
|
|
142527
142546
|
}
|
|
@@ -163721,7 +163740,7 @@ function shouldStoreSystemInfo(system) {
|
|
|
163721
163740
|
var import_telemetry = __toESM(require_dist15());
|
|
163722
163741
|
|
|
163723
163742
|
// package.json
|
|
163724
|
-
var version = "0.3.
|
|
163743
|
+
var version = "0.3.2";
|
|
163725
163744
|
|
|
163726
163745
|
// src/utils/telemetryHelper.ts
|
|
163727
163746
|
var import_feature_toggle = __toESM(require_dist16());
|