sap-ux-sap-systems-ext 0.3.1 → 0.3.3

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 CHANGED
@@ -47,9 +47,9 @@ var require_constants = __commonJS({
47
47
  }
48
48
  });
49
49
 
50
- // ../../node_modules/.pnpm/i18next@25.8.0_typescript@5.9.3/node_modules/i18next/dist/cjs/i18next.js
50
+ // ../../node_modules/.pnpm/i18next@25.8.12_typescript@5.9.3/node_modules/i18next/dist/cjs/i18next.js
51
51
  var require_i18next = __commonJS({
52
- "../../node_modules/.pnpm/i18next@25.8.0_typescript@5.9.3/node_modules/i18next/dist/cjs/i18next.js"(exports2, module2) {
52
+ "../../node_modules/.pnpm/i18next@25.8.12_typescript@5.9.3/node_modules/i18next/dist/cjs/i18next.js"(exports2, module2) {
53
53
  "use strict";
54
54
  var isString2 = (obj) => typeof obj === "string";
55
55
  var defer2 = () => {
@@ -1074,7 +1074,7 @@ var require_i18next = __commonJS({
1074
1074
  type
1075
1075
  });
1076
1076
  } catch (err) {
1077
- if (!Intl) {
1077
+ if (typeof Intl === "undefined") {
1078
1078
  this.logger.error("No Intl support, please use an Intl polyfill!");
1079
1079
  return dummyRule2;
1080
1080
  }
@@ -1254,13 +1254,13 @@ var require_i18next = __commonJS({
1254
1254
  const handleHasOptions = (key, inheritedOptions) => {
1255
1255
  const sep2 = this.nestingOptionsSeparator;
1256
1256
  if (key.indexOf(sep2) < 0) return key;
1257
- const c = key.split(new RegExp(`${sep2}[ ]*{`));
1257
+ const c = key.split(new RegExp(`${regexEscape3(sep2)}[ ]*{`));
1258
1258
  let optionsString = `{${c[1]}`;
1259
1259
  key = c[0];
1260
1260
  optionsString = this.interpolate(optionsString, clonedOptions);
1261
1261
  const matchedSingleQuotes = optionsString.match(/'/g);
1262
1262
  const matchedDoubleQuotes = optionsString.match(/"/g);
1263
- if ((matchedSingleQuotes?.length ?? 0) % 2 === 0 && !matchedDoubleQuotes || matchedDoubleQuotes.length % 2 !== 0) {
1263
+ if ((matchedSingleQuotes?.length ?? 0) % 2 === 0 && !matchedDoubleQuotes || (matchedDoubleQuotes?.length ?? 0) % 2 !== 0) {
1264
1264
  optionsString = optionsString.replace(/'/g, '"');
1265
1265
  }
1266
1266
  try {
@@ -1741,6 +1741,19 @@ var require_i18next = __commonJS({
1741
1741
  }
1742
1742
  });
1743
1743
  };
1744
+ var SUPPORT_NOTICE_KEY2 = "__i18next_supportNoticeShown";
1745
+ var getSupportNoticeShown2 = () => typeof globalThis !== "undefined" && !!globalThis[SUPPORT_NOTICE_KEY2];
1746
+ var setSupportNoticeShown2 = () => {
1747
+ if (typeof globalThis !== "undefined") globalThis[SUPPORT_NOTICE_KEY2] = true;
1748
+ };
1749
+ var usesLocize2 = (inst) => {
1750
+ if (inst?.modules?.backend?.name?.indexOf("Locize") > 0) return true;
1751
+ if (inst?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0) return true;
1752
+ if (inst?.options?.backend?.backends) {
1753
+ if (inst.options.backend.backends.some((b) => b?.name?.indexOf("Locize") > 0 || b?.constructor?.name?.indexOf("Locize") > 0)) return true;
1754
+ }
1755
+ return false;
1756
+ };
1744
1757
  var I18n2 = class _I18n extends EventEmitter3 {
1745
1758
  constructor(options = {}, callback) {
1746
1759
  super();
@@ -1793,8 +1806,9 @@ var require_i18next = __commonJS({
1793
1806
  if (typeof this.options.overloadTranslationOptionHandler !== "function") {
1794
1807
  this.options.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
1795
1808
  }
1796
- if (this.options.debug === true) {
1797
- if (typeof console !== "undefined") console.warn("i18next is maintained with support from locize.com \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");
1809
+ if (this.options.showSupportNotice !== false && !usesLocize2(this) && !getSupportNoticeShown2()) {
1810
+ if (typeof console !== "undefined" && typeof console.info !== "undefined") console.info("\u{1F310} i18next is maintained with support from Locize \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \u{1F499}");
1811
+ setSupportNoticeShown2();
1798
1812
  }
1799
1813
  const createClassOnDemand = (ClassOrObject) => {
1800
1814
  if (!ClassOrObject) return null;
@@ -20858,9 +20872,9 @@ var require_JsonConfig = __commonJS({
20858
20872
  }
20859
20873
  });
20860
20874
 
20861
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js
20875
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js
20862
20876
  var require_constants3 = __commonJS({
20863
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js"(exports2, module2) {
20877
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js"(exports2, module2) {
20864
20878
  "use strict";
20865
20879
  var SEMVER_SPEC_VERSION = "2.0.0";
20866
20880
  var MAX_LENGTH = 256;
@@ -20890,9 +20904,9 @@ var require_constants3 = __commonJS({
20890
20904
  }
20891
20905
  });
20892
20906
 
20893
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js
20907
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js
20894
20908
  var require_debug = __commonJS({
20895
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js"(exports2, module2) {
20909
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js"(exports2, module2) {
20896
20910
  "use strict";
20897
20911
  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
20912
  };
@@ -20900,9 +20914,9 @@ var require_debug = __commonJS({
20900
20914
  }
20901
20915
  });
20902
20916
 
20903
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.js
20917
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js
20904
20918
  var require_re = __commonJS({
20905
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.js"(exports2, module2) {
20919
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js"(exports2, module2) {
20906
20920
  "use strict";
20907
20921
  var {
20908
20922
  MAX_SAFE_COMPONENT_LENGTH,
@@ -20988,9 +21002,9 @@ var require_re = __commonJS({
20988
21002
  }
20989
21003
  });
20990
21004
 
20991
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.js
21005
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js
20992
21006
  var require_parse_options = __commonJS({
20993
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.js"(exports2, module2) {
21007
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js"(exports2, module2) {
20994
21008
  "use strict";
20995
21009
  var looseOption = Object.freeze({ loose: true });
20996
21010
  var emptyOpts = Object.freeze({});
@@ -21007,9 +21021,9 @@ var require_parse_options = __commonJS({
21007
21021
  }
21008
21022
  });
21009
21023
 
21010
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.js
21024
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js
21011
21025
  var require_identifiers = __commonJS({
21012
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.js"(exports2, module2) {
21026
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js"(exports2, module2) {
21013
21027
  "use strict";
21014
21028
  var numeric = /^[0-9]+$/;
21015
21029
  var compareIdentifiers = (a, b) => {
@@ -21032,9 +21046,9 @@ var require_identifiers = __commonJS({
21032
21046
  }
21033
21047
  });
21034
21048
 
21035
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.js
21049
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js
21036
21050
  var require_semver = __commonJS({
21037
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.js"(exports2, module2) {
21051
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js"(exports2, module2) {
21038
21052
  "use strict";
21039
21053
  var debug = require_debug();
21040
21054
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants3();
@@ -21311,9 +21325,9 @@ var require_semver = __commonJS({
21311
21325
  }
21312
21326
  });
21313
21327
 
21314
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.js
21328
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js
21315
21329
  var require_parse = __commonJS({
21316
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.js"(exports2, module2) {
21330
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js"(exports2, module2) {
21317
21331
  "use strict";
21318
21332
  var SemVer = require_semver();
21319
21333
  var parse4 = (version2, options, throwErrors = false) => {
@@ -21333,9 +21347,9 @@ var require_parse = __commonJS({
21333
21347
  }
21334
21348
  });
21335
21349
 
21336
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.js
21350
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js
21337
21351
  var require_valid = __commonJS({
21338
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.js"(exports2, module2) {
21352
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js"(exports2, module2) {
21339
21353
  "use strict";
21340
21354
  var parse4 = require_parse();
21341
21355
  var valid = (version2, options) => {
@@ -21346,9 +21360,9 @@ var require_valid = __commonJS({
21346
21360
  }
21347
21361
  });
21348
21362
 
21349
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.js
21363
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js
21350
21364
  var require_clean = __commonJS({
21351
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.js"(exports2, module2) {
21365
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js"(exports2, module2) {
21352
21366
  "use strict";
21353
21367
  var parse4 = require_parse();
21354
21368
  var clean = (version2, options) => {
@@ -21359,9 +21373,9 @@ var require_clean = __commonJS({
21359
21373
  }
21360
21374
  });
21361
21375
 
21362
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.js
21376
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js
21363
21377
  var require_inc = __commonJS({
21364
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.js"(exports2, module2) {
21378
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js"(exports2, module2) {
21365
21379
  "use strict";
21366
21380
  var SemVer = require_semver();
21367
21381
  var inc = (version2, release2, options, identifier, identifierBase) => {
@@ -21383,9 +21397,9 @@ var require_inc = __commonJS({
21383
21397
  }
21384
21398
  });
21385
21399
 
21386
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.js
21400
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js
21387
21401
  var require_diff = __commonJS({
21388
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.js"(exports2, module2) {
21402
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js"(exports2, module2) {
21389
21403
  "use strict";
21390
21404
  var parse4 = require_parse();
21391
21405
  var diff = (version1, version2) => {
@@ -21427,9 +21441,9 @@ var require_diff = __commonJS({
21427
21441
  }
21428
21442
  });
21429
21443
 
21430
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.js
21444
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.js
21431
21445
  var require_major = __commonJS({
21432
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.js"(exports2, module2) {
21446
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.js"(exports2, module2) {
21433
21447
  "use strict";
21434
21448
  var SemVer = require_semver();
21435
21449
  var major2 = (a, loose) => new SemVer(a, loose).major;
@@ -21437,9 +21451,9 @@ var require_major = __commonJS({
21437
21451
  }
21438
21452
  });
21439
21453
 
21440
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.js
21454
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.js
21441
21455
  var require_minor = __commonJS({
21442
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.js"(exports2, module2) {
21456
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.js"(exports2, module2) {
21443
21457
  "use strict";
21444
21458
  var SemVer = require_semver();
21445
21459
  var minor = (a, loose) => new SemVer(a, loose).minor;
@@ -21447,9 +21461,9 @@ var require_minor = __commonJS({
21447
21461
  }
21448
21462
  });
21449
21463
 
21450
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.js
21464
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.js
21451
21465
  var require_patch = __commonJS({
21452
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.js"(exports2, module2) {
21466
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.js"(exports2, module2) {
21453
21467
  "use strict";
21454
21468
  var SemVer = require_semver();
21455
21469
  var patch = (a, loose) => new SemVer(a, loose).patch;
@@ -21457,9 +21471,9 @@ var require_patch = __commonJS({
21457
21471
  }
21458
21472
  });
21459
21473
 
21460
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.js
21474
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js
21461
21475
  var require_prerelease = __commonJS({
21462
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.js"(exports2, module2) {
21476
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js"(exports2, module2) {
21463
21477
  "use strict";
21464
21478
  var parse4 = require_parse();
21465
21479
  var prerelease = (version2, options) => {
@@ -21470,9 +21484,9 @@ var require_prerelease = __commonJS({
21470
21484
  }
21471
21485
  });
21472
21486
 
21473
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.js
21487
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js
21474
21488
  var require_compare = __commonJS({
21475
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.js"(exports2, module2) {
21489
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js"(exports2, module2) {
21476
21490
  "use strict";
21477
21491
  var SemVer = require_semver();
21478
21492
  var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
@@ -21480,9 +21494,9 @@ var require_compare = __commonJS({
21480
21494
  }
21481
21495
  });
21482
21496
 
21483
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.js
21497
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.js
21484
21498
  var require_rcompare = __commonJS({
21485
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.js"(exports2, module2) {
21499
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.js"(exports2, module2) {
21486
21500
  "use strict";
21487
21501
  var compare = require_compare();
21488
21502
  var rcompare = (a, b, loose) => compare(b, a, loose);
@@ -21490,9 +21504,9 @@ var require_rcompare = __commonJS({
21490
21504
  }
21491
21505
  });
21492
21506
 
21493
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.js
21507
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.js
21494
21508
  var require_compare_loose = __commonJS({
21495
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.js"(exports2, module2) {
21509
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.js"(exports2, module2) {
21496
21510
  "use strict";
21497
21511
  var compare = require_compare();
21498
21512
  var compareLoose = (a, b) => compare(a, b, true);
@@ -21500,9 +21514,9 @@ var require_compare_loose = __commonJS({
21500
21514
  }
21501
21515
  });
21502
21516
 
21503
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.js
21517
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.js
21504
21518
  var require_compare_build = __commonJS({
21505
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.js"(exports2, module2) {
21519
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.js"(exports2, module2) {
21506
21520
  "use strict";
21507
21521
  var SemVer = require_semver();
21508
21522
  var compareBuild = (a, b, loose) => {
@@ -21514,9 +21528,9 @@ var require_compare_build = __commonJS({
21514
21528
  }
21515
21529
  });
21516
21530
 
21517
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.js
21531
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.js
21518
21532
  var require_sort = __commonJS({
21519
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.js"(exports2, module2) {
21533
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.js"(exports2, module2) {
21520
21534
  "use strict";
21521
21535
  var compareBuild = require_compare_build();
21522
21536
  var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
@@ -21524,9 +21538,9 @@ var require_sort = __commonJS({
21524
21538
  }
21525
21539
  });
21526
21540
 
21527
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.js
21541
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.js
21528
21542
  var require_rsort = __commonJS({
21529
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.js"(exports2, module2) {
21543
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.js"(exports2, module2) {
21530
21544
  "use strict";
21531
21545
  var compareBuild = require_compare_build();
21532
21546
  var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
@@ -21534,9 +21548,9 @@ var require_rsort = __commonJS({
21534
21548
  }
21535
21549
  });
21536
21550
 
21537
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.js
21551
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.js
21538
21552
  var require_gt = __commonJS({
21539
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.js"(exports2, module2) {
21553
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.js"(exports2, module2) {
21540
21554
  "use strict";
21541
21555
  var compare = require_compare();
21542
21556
  var gt = (a, b, loose) => compare(a, b, loose) > 0;
@@ -21544,9 +21558,9 @@ var require_gt = __commonJS({
21544
21558
  }
21545
21559
  });
21546
21560
 
21547
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.js
21561
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js
21548
21562
  var require_lt = __commonJS({
21549
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.js"(exports2, module2) {
21563
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js"(exports2, module2) {
21550
21564
  "use strict";
21551
21565
  var compare = require_compare();
21552
21566
  var lt = (a, b, loose) => compare(a, b, loose) < 0;
@@ -21554,9 +21568,9 @@ var require_lt = __commonJS({
21554
21568
  }
21555
21569
  });
21556
21570
 
21557
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.js
21571
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.js
21558
21572
  var require_eq2 = __commonJS({
21559
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.js"(exports2, module2) {
21573
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.js"(exports2, module2) {
21560
21574
  "use strict";
21561
21575
  var compare = require_compare();
21562
21576
  var eq = (a, b, loose) => compare(a, b, loose) === 0;
@@ -21564,9 +21578,9 @@ var require_eq2 = __commonJS({
21564
21578
  }
21565
21579
  });
21566
21580
 
21567
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.js
21581
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.js
21568
21582
  var require_neq = __commonJS({
21569
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.js"(exports2, module2) {
21583
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.js"(exports2, module2) {
21570
21584
  "use strict";
21571
21585
  var compare = require_compare();
21572
21586
  var neq = (a, b, loose) => compare(a, b, loose) !== 0;
@@ -21574,9 +21588,9 @@ var require_neq = __commonJS({
21574
21588
  }
21575
21589
  });
21576
21590
 
21577
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.js
21591
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.js
21578
21592
  var require_gte = __commonJS({
21579
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.js"(exports2, module2) {
21593
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.js"(exports2, module2) {
21580
21594
  "use strict";
21581
21595
  var compare = require_compare();
21582
21596
  var gte = (a, b, loose) => compare(a, b, loose) >= 0;
@@ -21584,9 +21598,9 @@ var require_gte = __commonJS({
21584
21598
  }
21585
21599
  });
21586
21600
 
21587
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.js
21601
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.js
21588
21602
  var require_lte = __commonJS({
21589
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.js"(exports2, module2) {
21603
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.js"(exports2, module2) {
21590
21604
  "use strict";
21591
21605
  var compare = require_compare();
21592
21606
  var lte = (a, b, loose) => compare(a, b, loose) <= 0;
@@ -21594,9 +21608,9 @@ var require_lte = __commonJS({
21594
21608
  }
21595
21609
  });
21596
21610
 
21597
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.js
21611
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.js
21598
21612
  var require_cmp = __commonJS({
21599
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.js"(exports2, module2) {
21613
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.js"(exports2, module2) {
21600
21614
  "use strict";
21601
21615
  var eq = require_eq2();
21602
21616
  var neq = require_neq();
@@ -21644,9 +21658,9 @@ var require_cmp = __commonJS({
21644
21658
  }
21645
21659
  });
21646
21660
 
21647
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.js
21661
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js
21648
21662
  var require_coerce = __commonJS({
21649
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.js"(exports2, module2) {
21663
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js"(exports2, module2) {
21650
21664
  "use strict";
21651
21665
  var SemVer = require_semver();
21652
21666
  var parse4 = require_parse();
@@ -21690,9 +21704,9 @@ var require_coerce = __commonJS({
21690
21704
  }
21691
21705
  });
21692
21706
 
21693
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.js
21707
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.js
21694
21708
  var require_lrucache = __commonJS({
21695
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.js"(exports2, module2) {
21709
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.js"(exports2, module2) {
21696
21710
  "use strict";
21697
21711
  var LRUCache = class {
21698
21712
  constructor() {
@@ -21728,9 +21742,9 @@ var require_lrucache = __commonJS({
21728
21742
  }
21729
21743
  });
21730
21744
 
21731
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.js
21745
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.js
21732
21746
  var require_range = __commonJS({
21733
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.js"(exports2, module2) {
21747
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.js"(exports2, module2) {
21734
21748
  "use strict";
21735
21749
  var SPACE_CHARACTERS = /\s+/g;
21736
21750
  var Range2 = class _Range {
@@ -22105,9 +22119,9 @@ var require_range = __commonJS({
22105
22119
  }
22106
22120
  });
22107
22121
 
22108
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.js
22122
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js
22109
22123
  var require_comparator = __commonJS({
22110
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.js"(exports2, module2) {
22124
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js"(exports2, module2) {
22111
22125
  "use strict";
22112
22126
  var ANY = /* @__PURE__ */ Symbol("SemVer ANY");
22113
22127
  var Comparator = class _Comparator {
@@ -22218,9 +22232,9 @@ var require_comparator = __commonJS({
22218
22232
  }
22219
22233
  });
22220
22234
 
22221
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.js
22235
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.js
22222
22236
  var require_satisfies = __commonJS({
22223
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.js"(exports2, module2) {
22237
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.js"(exports2, module2) {
22224
22238
  "use strict";
22225
22239
  var Range2 = require_range();
22226
22240
  var satisfies2 = (version2, range, options) => {
@@ -22235,9 +22249,9 @@ var require_satisfies = __commonJS({
22235
22249
  }
22236
22250
  });
22237
22251
 
22238
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.js
22252
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.js
22239
22253
  var require_to_comparators = __commonJS({
22240
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
22254
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
22241
22255
  "use strict";
22242
22256
  var Range2 = require_range();
22243
22257
  var toComparators = (range, options) => new Range2(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
@@ -22245,9 +22259,9 @@ var require_to_comparators = __commonJS({
22245
22259
  }
22246
22260
  });
22247
22261
 
22248
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.js
22262
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.js
22249
22263
  var require_max_satisfying = __commonJS({
22250
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
22264
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
22251
22265
  "use strict";
22252
22266
  var SemVer = require_semver();
22253
22267
  var Range2 = require_range();
@@ -22274,9 +22288,9 @@ var require_max_satisfying = __commonJS({
22274
22288
  }
22275
22289
  });
22276
22290
 
22277
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.js
22291
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.js
22278
22292
  var require_min_satisfying = __commonJS({
22279
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
22293
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
22280
22294
  "use strict";
22281
22295
  var SemVer = require_semver();
22282
22296
  var Range2 = require_range();
@@ -22303,9 +22317,9 @@ var require_min_satisfying = __commonJS({
22303
22317
  }
22304
22318
  });
22305
22319
 
22306
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.js
22320
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.js
22307
22321
  var require_min_version = __commonJS({
22308
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.js"(exports2, module2) {
22322
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.js"(exports2, module2) {
22309
22323
  "use strict";
22310
22324
  var SemVer = require_semver();
22311
22325
  var Range2 = require_range();
@@ -22362,9 +22376,9 @@ var require_min_version = __commonJS({
22362
22376
  }
22363
22377
  });
22364
22378
 
22365
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.js
22379
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.js
22366
22380
  var require_valid2 = __commonJS({
22367
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.js"(exports2, module2) {
22381
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.js"(exports2, module2) {
22368
22382
  "use strict";
22369
22383
  var Range2 = require_range();
22370
22384
  var validRange = (range, options) => {
@@ -22378,9 +22392,9 @@ var require_valid2 = __commonJS({
22378
22392
  }
22379
22393
  });
22380
22394
 
22381
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.js
22395
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.js
22382
22396
  var require_outside = __commonJS({
22383
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.js"(exports2, module2) {
22397
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.js"(exports2, module2) {
22384
22398
  "use strict";
22385
22399
  var SemVer = require_semver();
22386
22400
  var Comparator = require_comparator();
@@ -22447,9 +22461,9 @@ var require_outside = __commonJS({
22447
22461
  }
22448
22462
  });
22449
22463
 
22450
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.js
22464
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.js
22451
22465
  var require_gtr = __commonJS({
22452
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.js"(exports2, module2) {
22466
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.js"(exports2, module2) {
22453
22467
  "use strict";
22454
22468
  var outside = require_outside();
22455
22469
  var gtr = (version2, range, options) => outside(version2, range, ">", options);
@@ -22457,9 +22471,9 @@ var require_gtr = __commonJS({
22457
22471
  }
22458
22472
  });
22459
22473
 
22460
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.js
22474
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.js
22461
22475
  var require_ltr = __commonJS({
22462
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.js"(exports2, module2) {
22476
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.js"(exports2, module2) {
22463
22477
  "use strict";
22464
22478
  var outside = require_outside();
22465
22479
  var ltr = (version2, range, options) => outside(version2, range, "<", options);
@@ -22467,9 +22481,9 @@ var require_ltr = __commonJS({
22467
22481
  }
22468
22482
  });
22469
22483
 
22470
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.js
22484
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.js
22471
22485
  var require_intersects = __commonJS({
22472
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.js"(exports2, module2) {
22486
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.js"(exports2, module2) {
22473
22487
  "use strict";
22474
22488
  var Range2 = require_range();
22475
22489
  var intersects = (r1, r2, options) => {
@@ -22481,9 +22495,9 @@ var require_intersects = __commonJS({
22481
22495
  }
22482
22496
  });
22483
22497
 
22484
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.js
22498
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.js
22485
22499
  var require_simplify = __commonJS({
22486
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.js"(exports2, module2) {
22500
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.js"(exports2, module2) {
22487
22501
  "use strict";
22488
22502
  var satisfies2 = require_satisfies();
22489
22503
  var compare = require_compare();
@@ -22531,9 +22545,9 @@ var require_simplify = __commonJS({
22531
22545
  }
22532
22546
  });
22533
22547
 
22534
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.js
22548
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.js
22535
22549
  var require_subset = __commonJS({
22536
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.js"(exports2, module2) {
22550
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.js"(exports2, module2) {
22537
22551
  "use strict";
22538
22552
  var Range2 = require_range();
22539
22553
  var Comparator = require_comparator();
@@ -22693,9 +22707,9 @@ var require_subset = __commonJS({
22693
22707
  }
22694
22708
  });
22695
22709
 
22696
- // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.js
22710
+ // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js
22697
22711
  var require_semver2 = __commonJS({
22698
- "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.js"(exports2, module2) {
22712
+ "../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js"(exports2, module2) {
22699
22713
  "use strict";
22700
22714
  var internalRe = require_re();
22701
22715
  var constants = require_constants3();
@@ -54310,7 +54324,7 @@ var require_package6 = __commonJS({
54310
54324
  "../telemetry/package.json"(exports2, module2) {
54311
54325
  module2.exports = {
54312
54326
  name: "@sap-ux/telemetry",
54313
- version: "0.6.74",
54327
+ version: "0.6.77",
54314
54328
  description: "Library for sending usage telemetry data",
54315
54329
  repository: {
54316
54330
  type: "git",
@@ -97784,9 +97798,9 @@ var require_js_tokens = __commonJS({
97784
97798
  }
97785
97799
  });
97786
97800
 
97787
- // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js
97801
+ // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/identifier.js
97788
97802
  var require_identifier = __commonJS({
97789
- "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports2) {
97803
+ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports2) {
97790
97804
  "use strict";
97791
97805
  Object.defineProperty(exports2, "__esModule", {
97792
97806
  value: true
@@ -97794,13 +97808,13 @@ var require_identifier = __commonJS({
97794
97808
  exports2.isIdentifierChar = isIdentifierChar;
97795
97809
  exports2.isIdentifierName = isIdentifierName;
97796
97810
  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-\u088E\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\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-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\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-\u1ACE\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";
97811
+ 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";
97812
+ 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
97813
  var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
97800
97814
  var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
97801
97815
  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, 71, 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, 2, 60, 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, 328, 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, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 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, 496, 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, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
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, 80, 3, 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, 343, 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, 330, 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, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
97816
+ 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];
97817
+ 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
97818
  function isInAstralSet(code, set) {
97805
97819
  let pos = 65536;
97806
97820
  for (let i = 0, length = set.length; i < length; i += 2) {
@@ -97857,9 +97871,9 @@ var require_identifier = __commonJS({
97857
97871
  }
97858
97872
  });
97859
97873
 
97860
- // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js
97874
+ // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/keyword.js
97861
97875
  var require_keyword = __commonJS({
97862
- "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports2) {
97876
+ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports2) {
97863
97877
  "use strict";
97864
97878
  Object.defineProperty(exports2, "__esModule", {
97865
97879
  value: true
@@ -97895,9 +97909,9 @@ var require_keyword = __commonJS({
97895
97909
  }
97896
97910
  });
97897
97911
 
97898
- // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js
97912
+ // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/index.js
97899
97913
  var require_lib3 = __commonJS({
97900
- "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js"(exports2) {
97914
+ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/index.js"(exports2) {
97901
97915
  "use strict";
97902
97916
  Object.defineProperty(exports2, "__esModule", {
97903
97917
  value: true
@@ -97955,9 +97969,9 @@ var require_lib3 = __commonJS({
97955
97969
  }
97956
97970
  });
97957
97971
 
97958
- // ../../node_modules/.pnpm/@babel+code-frame@7.27.1/node_modules/@babel/code-frame/lib/index.js
97972
+ // ../../node_modules/.pnpm/@babel+code-frame@7.29.0/node_modules/@babel/code-frame/lib/index.js
97959
97973
  var require_lib4 = __commonJS({
97960
- "../../node_modules/.pnpm/@babel+code-frame@7.27.1/node_modules/@babel/code-frame/lib/index.js"(exports2) {
97974
+ "../../node_modules/.pnpm/@babel+code-frame@7.29.0/node_modules/@babel/code-frame/lib/index.js"(exports2) {
97961
97975
  "use strict";
97962
97976
  Object.defineProperty(exports2, "__esModule", { value: true });
97963
97977
  var picocolors = require_picocolors();
@@ -97993,39 +98007,39 @@ var require_lib4 = __commonJS({
97993
98007
  var NEWLINE$1 = /\r\n|[\n\r\u2028\u2029]/;
97994
98008
  var BRACKET = /^[()[\]{}]$/;
97995
98009
  var tokenize;
97996
- {
97997
- const JSX_TAG = /^[a-z][\w-]*$/i;
97998
- const getTokenType = function(token2, offset, text) {
97999
- if (token2.type === "name") {
98000
- if (helperValidatorIdentifier.isKeyword(token2.value) || helperValidatorIdentifier.isStrictReservedWord(token2.value, true) || sometimesKeywords.has(token2.value)) {
98001
- return "keyword";
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
- }
98010
+ var JSX_TAG = /^[a-z][\w-]*$/i;
98011
+ var getTokenType = function(token2, offset, text) {
98012
+ if (token2.type === "name") {
98013
+ const tokenValue = token2.value;
98014
+ if (helperValidatorIdentifier.isKeyword(tokenValue) || helperValidatorIdentifier.isStrictReservedWord(tokenValue, true) || sometimesKeywords.has(tokenValue)) {
98015
+ return "keyword";
98009
98016
  }
98010
- if (token2.type === "punctuator" && BRACKET.test(token2.value)) {
98011
- return "bracket";
98017
+ if (JSX_TAG.test(tokenValue) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === "</")) {
98018
+ return "jsxIdentifier";
98012
98019
  }
98013
- if (token2.type === "invalid" && (token2.value === "@" || token2.value === "#")) {
98014
- return "punctuator";
98020
+ const firstChar = String.fromCodePoint(tokenValue.codePointAt(0));
98021
+ if (firstChar !== firstChar.toLowerCase()) {
98022
+ return "capitalized";
98015
98023
  }
98016
- return token2.type;
98017
- };
98018
- tokenize = function* (text) {
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
- };
98026
- }
98027
- };
98028
- }
98024
+ }
98025
+ if (token2.type === "punctuator" && BRACKET.test(token2.value)) {
98026
+ return "bracket";
98027
+ }
98028
+ if (token2.type === "invalid" && (token2.value === "@" || token2.value === "#")) {
98029
+ return "punctuator";
98030
+ }
98031
+ return token2.type;
98032
+ };
98033
+ tokenize = function* (text) {
98034
+ let match;
98035
+ while (match = jsTokens.default.exec(text)) {
98036
+ const token2 = jsTokens.matchToToken(match);
98037
+ yield {
98038
+ type: getTokenType(token2, match.index, text),
98039
+ value: token2.value
98040
+ };
98041
+ }
98042
+ };
98029
98043
  function highlight(text) {
98030
98044
  if (text === "") return "";
98031
98045
  const defs = getDefs(true);
@@ -98044,7 +98058,7 @@ var require_lib4 = __commonJS({
98044
98058
  }
98045
98059
  var deprecationWarningShown = false;
98046
98060
  var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
98047
- function getMarkerLines(loc, source, opts) {
98061
+ function getMarkerLines(loc, source, opts, startLineBaseZero) {
98048
98062
  const startLoc = Object.assign({
98049
98063
  column: 0,
98050
98064
  line: -1
@@ -98054,9 +98068,9 @@ var require_lib4 = __commonJS({
98054
98068
  linesAbove = 2,
98055
98069
  linesBelow = 3
98056
98070
  } = opts || {};
98057
- const startLine = startLoc.line;
98071
+ const startLine = startLoc.line - startLineBaseZero;
98058
98072
  const startColumn = startLoc.column;
98059
- const endLine = endLoc.line;
98073
+ const endLine = endLoc.line - startLineBaseZero;
98060
98074
  const endColumn = endLoc.column;
98061
98075
  let start = Math.max(startLine - (linesAbove + 1), 0);
98062
98076
  let end = Math.min(source.length, endLine + linesBelow);
@@ -98102,19 +98116,20 @@ var require_lib4 = __commonJS({
98102
98116
  }
98103
98117
  function codeFrameColumns(rawLines, loc, opts = {}) {
98104
98118
  const shouldHighlight = opts.forceColor || isColorSupported() && opts.highlightCode;
98119
+ const startLineBaseZero = (opts.startLine || 1) - 1;
98105
98120
  const defs = getDefs(shouldHighlight);
98106
98121
  const lines = rawLines.split(NEWLINE);
98107
98122
  const {
98108
98123
  start,
98109
98124
  end,
98110
98125
  markerLines
98111
- } = getMarkerLines(loc, lines, opts);
98126
+ } = getMarkerLines(loc, lines, opts, startLineBaseZero);
98112
98127
  const hasColumns = loc.start && typeof loc.start.column === "number";
98113
- const numberMaxWidth = String(end).length;
98128
+ const numberMaxWidth = String(end + startLineBaseZero).length;
98114
98129
  const highlightedLines = shouldHighlight ? highlight(rawLines) : rawLines;
98115
98130
  let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index2) => {
98116
98131
  const number = start + 1 + index2;
98117
- const paddedNumber = ` ${number}`.slice(-numberMaxWidth);
98132
+ const paddedNumber = ` ${number + startLineBaseZero}`.slice(-numberMaxWidth);
98118
98133
  const gutter = ` ${paddedNumber} |`;
98119
98134
  const hasMarker = markerLines[number];
98120
98135
  const lastMarkerLine = !markerLines[number + 1];
@@ -141689,44 +141704,44 @@ var require_constants11 = __commonJS({
141689
141704
  }
141690
141705
  });
141691
141706
 
141692
- // ../../node_modules/.pnpm/fast-xml-parser@5.3.4/node_modules/fast-xml-parser/lib/fxp.cjs
141707
+ // ../../node_modules/.pnpm/fast-xml-parser@5.3.6/node_modules/fast-xml-parser/lib/fxp.cjs
141693
141708
  var require_fxp = __commonJS({
141694
- "../../node_modules/.pnpm/fast-xml-parser@5.3.4/node_modules/fast-xml-parser/lib/fxp.cjs"(exports2, module2) {
141709
+ "../../node_modules/.pnpm/fast-xml-parser@5.3.6/node_modules/fast-xml-parser/lib/fxp.cjs"(exports2, module2) {
141695
141710
  (() => {
141696
141711
  "use strict";
141697
- var t3 = { d: (e2, i2) => {
141698
- for (var n2 in i2) t3.o(i2, n2) && !t3.o(e2, n2) && Object.defineProperty(e2, n2, { enumerable: true, get: i2[n2] });
141712
+ var t3 = { d: (e2, n2) => {
141713
+ for (var i2 in n2) t3.o(n2, i2) && !t3.o(e2, i2) && Object.defineProperty(e2, i2, { enumerable: true, get: n2[i2] });
141699
141714
  }, o: (t4, e2) => Object.prototype.hasOwnProperty.call(t4, e2), r: (t4) => {
141700
141715
  "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t4, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t4, "__esModule", { value: true });
141701
141716
  } }, e = {};
141702
- t3.r(e), t3.d(e, { XMLBuilder: () => ut, XMLParser: () => et, XMLValidator: () => ft });
141703
- const i = ":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", n = new RegExp("^[" + i + "][" + i + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");
141717
+ t3.r(e), t3.d(e, { XMLBuilder: () => dt, XMLParser: () => it, XMLValidator: () => gt });
141718
+ 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
141719
  function s(t4, e2) {
141705
- const i2 = [];
141706
- let n2 = e2.exec(t4);
141707
- for (; n2; ) {
141720
+ const n2 = [];
141721
+ let i2 = e2.exec(t4);
141722
+ for (; i2; ) {
141708
141723
  const s2 = [];
141709
- s2.startIndex = e2.lastIndex - n2[0].length;
141710
- const r2 = n2.length;
141711
- for (let t5 = 0; t5 < r2; t5++) s2.push(n2[t5]);
141712
- i2.push(s2), n2 = e2.exec(t4);
141724
+ s2.startIndex = e2.lastIndex - i2[0].length;
141725
+ const r2 = i2.length;
141726
+ for (let t5 = 0; t5 < r2; t5++) s2.push(i2[t5]);
141727
+ n2.push(s2), i2 = e2.exec(t4);
141713
141728
  }
141714
- return i2;
141729
+ return n2;
141715
141730
  }
141716
141731
  const r = function(t4) {
141717
- return !(null == n.exec(t4));
141732
+ return !(null == i.exec(t4));
141718
141733
  }, o = { allowBooleanAttributes: false, unpairedTags: [] };
141719
141734
  function a(t4, e2) {
141720
141735
  e2 = Object.assign({}, o, e2);
141721
- const i2 = [];
141722
- let n2 = false, s2 = false;
141736
+ const n2 = [];
141737
+ let i2 = false, s2 = false;
141723
141738
  "\uFEFF" === t4[0] && (t4 = t4.substr(1));
141724
141739
  for (let o2 = 0; o2 < t4.length; o2++) if ("<" === t4[o2] && "?" === t4[o2 + 1]) {
141725
141740
  if (o2 += 2, o2 = u(t4, o2), o2.err) return o2;
141726
141741
  } else {
141727
141742
  if ("<" !== t4[o2]) {
141728
141743
  if (l(t4[o2])) continue;
141729
- return x("InvalidChar", "char '" + t4[o2] + "' is not expected.", b(t4, o2));
141744
+ return m("InvalidChar", "char '" + t4[o2] + "' is not expected.", b(t4, o2));
141730
141745
  }
141731
141746
  {
141732
141747
  let a2 = o2;
@@ -141741,34 +141756,34 @@ var require_fxp = __commonJS({
141741
141756
  for (; o2 < t4.length && ">" !== t4[o2] && " " !== t4[o2] && " " !== t4[o2] && "\n" !== t4[o2] && "\r" !== t4[o2]; o2++) p2 += t4[o2];
141742
141757
  if (p2 = p2.trim(), "/" === p2[p2.length - 1] && (p2 = p2.substring(0, p2.length - 1), o2--), !r(p2)) {
141743
141758
  let e3;
141744
- return e3 = 0 === p2.trim().length ? "Invalid space after '<'." : "Tag '" + p2 + "' is an invalid name.", x("InvalidTag", e3, b(t4, o2));
141759
+ return e3 = 0 === p2.trim().length ? "Invalid space after '<'." : "Tag '" + p2 + "' is an invalid name.", m("InvalidTag", e3, b(t4, o2));
141745
141760
  }
141746
141761
  const c2 = f(t4, o2);
141747
- if (false === c2) return x("InvalidAttr", "Attributes for '" + p2 + "' have open quote.", b(t4, o2));
141748
- let N2 = c2.value;
141749
- if (o2 = c2.index, "/" === N2[N2.length - 1]) {
141750
- const i3 = o2 - N2.length;
141751
- N2 = N2.substring(0, N2.length - 1);
141752
- const s3 = g(N2, e2);
141753
- if (true !== s3) return x(s3.err.code, s3.err.msg, b(t4, i3 + s3.err.line));
141754
- n2 = true;
141762
+ if (false === c2) return m("InvalidAttr", "Attributes for '" + p2 + "' have open quote.", b(t4, o2));
141763
+ let E2 = c2.value;
141764
+ if (o2 = c2.index, "/" === E2[E2.length - 1]) {
141765
+ const n3 = o2 - E2.length;
141766
+ E2 = E2.substring(0, E2.length - 1);
141767
+ const s3 = g(E2, e2);
141768
+ if (true !== s3) return m(s3.err.code, s3.err.msg, b(t4, n3 + s3.err.line));
141769
+ i2 = true;
141755
141770
  } else if (d2) {
141756
- if (!c2.tagClosed) return x("InvalidTag", "Closing tag '" + p2 + "' doesn't have proper closing.", b(t4, o2));
141757
- if (N2.trim().length > 0) return x("InvalidTag", "Closing tag '" + p2 + "' can't have attributes or invalid starting.", b(t4, a2));
141758
- if (0 === i2.length) return x("InvalidTag", "Closing tag '" + p2 + "' has not been opened.", b(t4, a2));
141771
+ if (!c2.tagClosed) return m("InvalidTag", "Closing tag '" + p2 + "' doesn't have proper closing.", b(t4, o2));
141772
+ if (E2.trim().length > 0) return m("InvalidTag", "Closing tag '" + p2 + "' can't have attributes or invalid starting.", b(t4, a2));
141773
+ if (0 === n2.length) return m("InvalidTag", "Closing tag '" + p2 + "' has not been opened.", b(t4, a2));
141759
141774
  {
141760
- const e3 = i2.pop();
141775
+ const e3 = n2.pop();
141761
141776
  if (p2 !== e3.tagName) {
141762
- let i3 = b(t4, e3.tagStartPos);
141763
- return x("InvalidTag", "Expected closing tag '" + e3.tagName + "' (opened in line " + i3.line + ", col " + i3.col + ") instead of closing tag '" + p2 + "'.", b(t4, a2));
141777
+ let n3 = b(t4, e3.tagStartPos);
141778
+ 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
141779
  }
141765
- 0 == i2.length && (s2 = true);
141780
+ 0 == n2.length && (s2 = true);
141766
141781
  }
141767
141782
  } else {
141768
- const r2 = g(N2, e2);
141769
- if (true !== r2) return x(r2.err.code, r2.err.msg, b(t4, o2 - N2.length + r2.err.line));
141770
- if (true === s2) return x("InvalidXml", "Multiple possible root nodes found.", b(t4, o2));
141771
- -1 !== e2.unpairedTags.indexOf(p2) || i2.push({ tagName: p2, tagStartPos: a2 }), n2 = true;
141783
+ const r2 = g(E2, e2);
141784
+ if (true !== r2) return m(r2.err.code, r2.err.msg, b(t4, o2 - E2.length + r2.err.line));
141785
+ if (true === s2) return m("InvalidXml", "Multiple possible root nodes found.", b(t4, o2));
141786
+ -1 !== e2.unpairedTags.indexOf(p2) || n2.push({ tagName: p2, tagStartPos: a2 }), i2 = true;
141772
141787
  }
141773
141788
  for (o2++; o2 < t4.length; o2++) if ("<" === t4[o2]) {
141774
141789
  if ("!" === t4[o2 + 1]) {
@@ -141778,25 +141793,25 @@ var require_fxp = __commonJS({
141778
141793
  if ("?" !== t4[o2 + 1]) break;
141779
141794
  if (o2 = u(t4, ++o2), o2.err) return o2;
141780
141795
  } else if ("&" === t4[o2]) {
141781
- const e3 = m(t4, o2);
141782
- if (-1 == e3) return x("InvalidChar", "char '&' is not expected.", b(t4, o2));
141796
+ const e3 = x(t4, o2);
141797
+ if (-1 == e3) return m("InvalidChar", "char '&' is not expected.", b(t4, o2));
141783
141798
  o2 = e3;
141784
- } else if (true === s2 && !l(t4[o2])) return x("InvalidXml", "Extra text at the end", b(t4, o2));
141799
+ } else if (true === s2 && !l(t4[o2])) return m("InvalidXml", "Extra text at the end", b(t4, o2));
141785
141800
  "<" === t4[o2] && o2--;
141786
141801
  }
141787
141802
  }
141788
141803
  }
141789
- return n2 ? 1 == i2.length ? x("InvalidTag", "Unclosed tag '" + i2[0].tagName + "'.", b(t4, i2[0].tagStartPos)) : !(i2.length > 0) || x("InvalidXml", "Invalid '" + JSON.stringify(i2.map(((t5) => t5.tagName)), null, 4).replace(/\r?\n/g, "") + "' found.", { line: 1, col: 1 }) : x("InvalidXml", "Start tag expected.", 1);
141804
+ 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
141805
  }
141791
141806
  function l(t4) {
141792
141807
  return " " === t4 || " " === t4 || "\n" === t4 || "\r" === t4;
141793
141808
  }
141794
141809
  function u(t4, e2) {
141795
- const i2 = e2;
141810
+ const n2 = e2;
141796
141811
  for (; e2 < t4.length; e2++) if ("?" != t4[e2] && " " != t4[e2]) ;
141797
141812
  else {
141798
- const n2 = t4.substr(i2, e2 - i2);
141799
- if (e2 > 5 && "xml" === n2) return x("InvalidXml", "XML declaration allowed only at the start of the document.", b(t4, e2));
141813
+ const i2 = t4.substr(n2, e2 - n2);
141814
+ if (e2 > 5 && "xml" === i2) return m("InvalidXml", "XML declaration allowed only at the start of the document.", b(t4, e2));
141800
141815
  if ("?" == t4[e2] && ">" == t4[e2 + 1]) {
141801
141816
  e2++;
141802
141817
  break;
@@ -141811,9 +141826,9 @@ var require_fxp = __commonJS({
141811
141826
  break;
141812
141827
  }
141813
141828
  } 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 i2 = 1;
141815
- for (e2 += 8; e2 < t4.length; e2++) if ("<" === t4[e2]) i2++;
141816
- else if (">" === t4[e2] && (i2--, 0 === i2)) break;
141829
+ let n2 = 1;
141830
+ for (e2 += 8; e2 < t4.length; e2++) if ("<" === t4[e2]) n2++;
141831
+ else if (">" === t4[e2] && (n2--, 0 === n2)) break;
141817
141832
  } 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
141833
  for (e2 += 8; e2 < t4.length; e2++) if ("]" === t4[e2] && "]" === t4[e2 + 1] && ">" === t4[e2 + 2]) {
141819
141834
  e2 += 2;
@@ -141824,71 +141839,78 @@ var require_fxp = __commonJS({
141824
141839
  }
141825
141840
  const d = '"', p = "'";
141826
141841
  function f(t4, e2) {
141827
- let i2 = "", n2 = "", s2 = false;
141842
+ let n2 = "", i2 = "", s2 = false;
141828
141843
  for (; e2 < t4.length; e2++) {
141829
- if (t4[e2] === d || t4[e2] === p) "" === n2 ? n2 = t4[e2] : n2 !== t4[e2] || (n2 = "");
141830
- else if (">" === t4[e2] && "" === n2) {
141844
+ if (t4[e2] === d || t4[e2] === p) "" === i2 ? i2 = t4[e2] : i2 !== t4[e2] || (i2 = "");
141845
+ else if (">" === t4[e2] && "" === i2) {
141831
141846
  s2 = true;
141832
141847
  break;
141833
141848
  }
141834
- i2 += t4[e2];
141849
+ n2 += t4[e2];
141835
141850
  }
141836
- return "" === n2 && { value: i2, index: e2, tagClosed: s2 };
141851
+ return "" === i2 && { value: n2, index: e2, tagClosed: s2 };
141837
141852
  }
141838
141853
  const c = new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`, "g");
141839
141854
  function g(t4, e2) {
141840
- const i2 = s(t4, c), n2 = {};
141841
- for (let t5 = 0; t5 < i2.length; t5++) {
141842
- if (0 === i2[t5][1].length) return x("InvalidAttr", "Attribute '" + i2[t5][2] + "' has no space in starting.", E(i2[t5]));
141843
- if (void 0 !== i2[t5][3] && void 0 === i2[t5][4]) return x("InvalidAttr", "Attribute '" + i2[t5][2] + "' is without value.", E(i2[t5]));
141844
- if (void 0 === i2[t5][3] && !e2.allowBooleanAttributes) return x("InvalidAttr", "boolean attribute '" + i2[t5][2] + "' is not allowed.", E(i2[t5]));
141845
- const s2 = i2[t5][2];
141846
- if (!N(s2)) return x("InvalidAttr", "Attribute '" + s2 + "' is an invalid name.", E(i2[t5]));
141847
- if (n2.hasOwnProperty(s2)) return x("InvalidAttr", "Attribute '" + s2 + "' is repeated.", E(i2[t5]));
141848
- n2[s2] = 1;
141855
+ const n2 = s(t4, c), i2 = {};
141856
+ for (let t5 = 0; t5 < n2.length; t5++) {
141857
+ if (0 === n2[t5][1].length) return m("InvalidAttr", "Attribute '" + n2[t5][2] + "' has no space in starting.", N(n2[t5]));
141858
+ if (void 0 !== n2[t5][3] && void 0 === n2[t5][4]) return m("InvalidAttr", "Attribute '" + n2[t5][2] + "' is without value.", N(n2[t5]));
141859
+ if (void 0 === n2[t5][3] && !e2.allowBooleanAttributes) return m("InvalidAttr", "boolean attribute '" + n2[t5][2] + "' is not allowed.", N(n2[t5]));
141860
+ const s2 = n2[t5][2];
141861
+ if (!E(s2)) return m("InvalidAttr", "Attribute '" + s2 + "' is an invalid name.", N(n2[t5]));
141862
+ if (i2.hasOwnProperty(s2)) return m("InvalidAttr", "Attribute '" + s2 + "' is repeated.", N(n2[t5]));
141863
+ i2[s2] = 1;
141849
141864
  }
141850
141865
  return true;
141851
141866
  }
141852
- function m(t4, e2) {
141867
+ function x(t4, e2) {
141853
141868
  if (";" === t4[++e2]) return -1;
141854
141869
  if ("#" === t4[e2]) return (function(t5, e3) {
141855
- let i3 = /\d/;
141856
- for ("x" === t5[e3] && (e3++, i3 = /[\da-fA-F]/); e3 < t5.length; e3++) {
141870
+ let n3 = /\d/;
141871
+ for ("x" === t5[e3] && (e3++, n3 = /[\da-fA-F]/); e3 < t5.length; e3++) {
141857
141872
  if (";" === t5[e3]) return e3;
141858
- if (!t5[e3].match(i3)) break;
141873
+ if (!t5[e3].match(n3)) break;
141859
141874
  }
141860
141875
  return -1;
141861
141876
  })(t4, ++e2);
141862
- let i2 = 0;
141863
- for (; e2 < t4.length; e2++, i2++) if (!(t4[e2].match(/\w/) && i2 < 20)) {
141877
+ let n2 = 0;
141878
+ for (; e2 < t4.length; e2++, n2++) if (!(t4[e2].match(/\w/) && n2 < 20)) {
141864
141879
  if (";" === t4[e2]) break;
141865
141880
  return -1;
141866
141881
  }
141867
141882
  return e2;
141868
141883
  }
141869
- function x(t4, e2, i2) {
141870
- return { err: { code: t4, msg: e2, line: i2.line || i2, col: i2.col } };
141884
+ function m(t4, e2, n2) {
141885
+ return { err: { code: t4, msg: e2, line: n2.line || n2, col: n2.col } };
141871
141886
  }
141872
- function N(t4) {
141887
+ function E(t4) {
141873
141888
  return r(t4);
141874
141889
  }
141875
141890
  function b(t4, e2) {
141876
- const i2 = t4.substring(0, e2).split(/\r?\n/);
141877
- return { line: i2.length, col: i2[i2.length - 1].length + 1 };
141891
+ const n2 = t4.substring(0, e2).split(/\r?\n/);
141892
+ return { line: n2.length, col: n2[n2.length - 1].length + 1 };
141878
141893
  }
141879
- function E(t4) {
141894
+ function N(t4) {
141880
141895
  return t4.startIndex + t4[1].length;
141881
141896
  }
141882
- const v = { 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) {
141897
+ 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
141898
  return e2;
141884
141899
  }, attributeValueProcessor: function(t4, e2) {
141885
141900
  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, i2) {
141901
+ }, 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
141902
  return t4;
141888
141903
  }, captureMetaData: false };
141889
- let T;
141890
- T = "function" != typeof Symbol ? "@@xmlMetadata" : /* @__PURE__ */ Symbol("XML Node Metadata");
141891
- class y {
141904
+ function T(t4) {
141905
+ 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);
141906
+ }
141907
+ const w = function(t4) {
141908
+ const e2 = Object.assign({}, y, t4);
141909
+ return e2.processEntities = T(e2.processEntities), e2;
141910
+ };
141911
+ let v;
141912
+ v = "function" != typeof Symbol ? "@@xmlMetadata" : /* @__PURE__ */ Symbol("XML Node Metadata");
141913
+ class I {
141892
141914
  constructor(t4) {
141893
141915
  this.tagname = t4, this.child = [], this[":@"] = {};
141894
141916
  }
@@ -141896,151 +141918,155 @@ var require_fxp = __commonJS({
141896
141918
  "__proto__" === t4 && (t4 = "#__proto__"), this.child.push({ [t4]: e2 });
141897
141919
  }
141898
141920
  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][T] = { startIndex: e2 });
141921
+ "__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
141922
  }
141901
141923
  static getMetaDataSymbol() {
141902
- return T;
141924
+ return v;
141903
141925
  }
141904
141926
  }
141905
- class w {
141927
+ class O {
141906
141928
  constructor(t4) {
141907
- this.suppressValidationErr = !t4;
141929
+ this.suppressValidationErr = !t4, this.options = t4;
141908
141930
  }
141909
141931
  readDocType(t4, e2) {
141910
- const i2 = {};
141932
+ const n2 = {};
141911
141933
  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
141934
  {
141913
141935
  e2 += 9;
141914
- let n2 = 1, s2 = false, r2 = false, o2 = "";
141936
+ let i2 = 1, s2 = false, r2 = false, o2 = "";
141915
141937
  for (; e2 < t4.length; e2++) if ("<" !== t4[e2] || r2) if (">" === t4[e2]) {
141916
- if (r2 ? "-" === t4[e2 - 1] && "-" === t4[e2 - 2] && (r2 = false, n2--) : n2--, 0 === n2) break;
141938
+ if (r2 ? "-" === t4[e2 - 1] && "-" === t4[e2 - 2] && (r2 = false, i2--) : i2--, 0 === i2) break;
141917
141939
  } else "[" === t4[e2] ? s2 = true : o2 += t4[e2];
141918
141940
  else {
141919
- if (s2 && P(t4, "!ENTITY", e2)) {
141920
- let n3, s3;
141921
- e2 += 7, [n3, s3, e2] = this.readEntityExp(t4, e2 + 1, this.suppressValidationErr), -1 === s3.indexOf("&") && (i2[n3] = { regx: RegExp(`&${n3};`, "g"), val: s3 });
141922
- } else if (s2 && P(t4, "!ELEMENT", e2)) {
141941
+ if (s2 && A(t4, "!ENTITY", e2)) {
141942
+ let i3, s3;
141943
+ if (e2 += 7, [i3, s3, e2] = this.readEntityExp(t4, e2 + 1, this.suppressValidationErr), -1 === s3.indexOf("&")) {
141944
+ const t5 = i3.replace(/[.\-+*:]/g, "\\.");
141945
+ n2[i3] = { regx: RegExp(`&${t5};`, "g"), val: s3 };
141946
+ }
141947
+ } else if (s2 && A(t4, "!ELEMENT", e2)) {
141923
141948
  e2 += 8;
141924
- const { index: i3 } = this.readElementExp(t4, e2 + 1);
141925
- e2 = i3;
141926
- } else if (s2 && P(t4, "!ATTLIST", e2)) e2 += 8;
141927
- else if (s2 && P(t4, "!NOTATION", e2)) {
141949
+ const { index: n3 } = this.readElementExp(t4, e2 + 1);
141950
+ e2 = n3;
141951
+ } else if (s2 && A(t4, "!ATTLIST", e2)) e2 += 8;
141952
+ else if (s2 && A(t4, "!NOTATION", e2)) {
141928
141953
  e2 += 9;
141929
- const { index: i3 } = this.readNotationExp(t4, e2 + 1, this.suppressValidationErr);
141930
- e2 = i3;
141954
+ const { index: n3 } = this.readNotationExp(t4, e2 + 1, this.suppressValidationErr);
141955
+ e2 = n3;
141931
141956
  } else {
141932
- if (!P(t4, "!--", e2)) throw new Error("Invalid DOCTYPE");
141957
+ if (!A(t4, "!--", e2)) throw new Error("Invalid DOCTYPE");
141933
141958
  r2 = true;
141934
141959
  }
141935
- n2++, o2 = "";
141960
+ i2++, o2 = "";
141936
141961
  }
141937
- if (0 !== n2) throw new Error("Unclosed DOCTYPE");
141962
+ if (0 !== i2) throw new Error("Unclosed DOCTYPE");
141938
141963
  }
141939
- return { entities: i2, i: e2 };
141964
+ return { entities: n2, i: e2 };
141940
141965
  }
141941
141966
  readEntityExp(t4, e2) {
141942
- e2 = I(t4, e2);
141943
- let i2 = "";
141944
- for (; e2 < t4.length && !/\s/.test(t4[e2]) && '"' !== t4[e2] && "'" !== t4[e2]; ) i2 += t4[e2], e2++;
141945
- if (O(i2), e2 = I(t4, e2), !this.suppressValidationErr) {
141967
+ e2 = P(t4, e2);
141968
+ let n2 = "";
141969
+ for (; e2 < t4.length && !/\s/.test(t4[e2]) && '"' !== t4[e2] && "'" !== t4[e2]; ) n2 += t4[e2], e2++;
141970
+ if (S(n2), e2 = P(t4, e2), !this.suppressValidationErr) {
141946
141971
  if ("SYSTEM" === t4.substring(e2, e2 + 6).toUpperCase()) throw new Error("External entities are not supported");
141947
141972
  if ("%" === t4[e2]) throw new Error("Parameter entities are not supported");
141948
141973
  }
141949
- let n2 = "";
141950
- return [e2, n2] = this.readIdentifierVal(t4, e2, "entity"), [i2, n2, --e2];
141974
+ let i2 = "";
141975
+ 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})`);
141976
+ return [n2, i2, --e2];
141951
141977
  }
141952
141978
  readNotationExp(t4, e2) {
141953
- e2 = I(t4, e2);
141954
- let i2 = "";
141955
- for (; e2 < t4.length && !/\s/.test(t4[e2]); ) i2 += t4[e2], e2++;
141956
- !this.suppressValidationErr && O(i2), e2 = I(t4, e2);
141957
- const n2 = t4.substring(e2, e2 + 6).toUpperCase();
141958
- if (!this.suppressValidationErr && "SYSTEM" !== n2 && "PUBLIC" !== n2) throw new Error(`Expected SYSTEM or PUBLIC, found "${n2}"`);
141959
- e2 += n2.length, e2 = I(t4, e2);
141979
+ e2 = P(t4, e2);
141980
+ let n2 = "";
141981
+ for (; e2 < t4.length && !/\s/.test(t4[e2]); ) n2 += t4[e2], e2++;
141982
+ !this.suppressValidationErr && S(n2), e2 = P(t4, e2);
141983
+ const i2 = t4.substring(e2, e2 + 6).toUpperCase();
141984
+ if (!this.suppressValidationErr && "SYSTEM" !== i2 && "PUBLIC" !== i2) throw new Error(`Expected SYSTEM or PUBLIC, found "${i2}"`);
141985
+ e2 += i2.length, e2 = P(t4, e2);
141960
141986
  let s2 = null, r2 = null;
141961
- if ("PUBLIC" === n2) [e2, s2] = this.readIdentifierVal(t4, e2, "publicIdentifier"), '"' !== t4[e2 = I(t4, e2)] && "'" !== t4[e2] || ([e2, r2] = this.readIdentifierVal(t4, e2, "systemIdentifier"));
141962
- else if ("SYSTEM" === n2 && ([e2, r2] = this.readIdentifierVal(t4, e2, "systemIdentifier"), !this.suppressValidationErr && !r2)) throw new Error("Missing mandatory system identifier for SYSTEM notation");
141963
- return { notationName: i2, publicIdentifier: s2, systemIdentifier: r2, index: --e2 };
141987
+ if ("PUBLIC" === i2) [e2, s2] = this.readIdentifierVal(t4, e2, "publicIdentifier"), '"' !== t4[e2 = P(t4, e2)] && "'" !== t4[e2] || ([e2, r2] = this.readIdentifierVal(t4, e2, "systemIdentifier"));
141988
+ else if ("SYSTEM" === i2 && ([e2, r2] = this.readIdentifierVal(t4, e2, "systemIdentifier"), !this.suppressValidationErr && !r2)) throw new Error("Missing mandatory system identifier for SYSTEM notation");
141989
+ return { notationName: n2, publicIdentifier: s2, systemIdentifier: r2, index: --e2 };
141964
141990
  }
141965
- readIdentifierVal(t4, e2, i2) {
141966
- let n2 = "";
141991
+ readIdentifierVal(t4, e2, n2) {
141992
+ let i2 = "";
141967
141993
  const s2 = t4[e2];
141968
141994
  if ('"' !== s2 && "'" !== s2) throw new Error(`Expected quoted string, found "${s2}"`);
141969
- for (e2++; e2 < t4.length && t4[e2] !== s2; ) n2 += t4[e2], e2++;
141970
- if (t4[e2] !== s2) throw new Error(`Unterminated ${i2} value`);
141971
- return [++e2, n2];
141995
+ for (e2++; e2 < t4.length && t4[e2] !== s2; ) i2 += t4[e2], e2++;
141996
+ if (t4[e2] !== s2) throw new Error(`Unterminated ${n2} value`);
141997
+ return [++e2, i2];
141972
141998
  }
141973
141999
  readElementExp(t4, e2) {
141974
- e2 = I(t4, 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}"`);
142000
+ e2 = P(t4, e2);
141978
142001
  let n2 = "";
141979
- if ("E" === t4[e2 = I(t4, e2)] && P(t4, "MPTY", e2)) e2 += 4;
141980
- else if ("A" === t4[e2] && P(t4, "NY", e2)) e2 += 2;
142002
+ for (; e2 < t4.length && !/\s/.test(t4[e2]); ) n2 += t4[e2], e2++;
142003
+ if (!this.suppressValidationErr && !r(n2)) throw new Error(`Invalid element name: "${n2}"`);
142004
+ let i2 = "";
142005
+ if ("E" === t4[e2 = P(t4, e2)] && A(t4, "MPTY", e2)) e2 += 4;
142006
+ else if ("A" === t4[e2] && A(t4, "NY", e2)) e2 += 2;
141981
142007
  else if ("(" === t4[e2]) {
141982
- for (e2++; e2 < t4.length && ")" !== t4[e2]; ) n2 += t4[e2], e2++;
142008
+ for (e2++; e2 < t4.length && ")" !== t4[e2]; ) i2 += t4[e2], e2++;
141983
142009
  if (")" !== t4[e2]) throw new Error("Unterminated content model");
141984
142010
  } else if (!this.suppressValidationErr) throw new Error(`Invalid Element Expression, found "${t4[e2]}"`);
141985
- return { elementName: i2, contentModel: n2.trim(), index: e2 };
142011
+ return { elementName: n2, contentModel: i2.trim(), index: e2 };
141986
142012
  }
141987
142013
  readAttlistExp(t4, e2) {
141988
- e2 = I(t4, e2);
141989
- let i2 = "";
141990
- for (; e2 < t4.length && !/\s/.test(t4[e2]); ) i2 += t4[e2], e2++;
141991
- O(i2), e2 = I(t4, e2);
142014
+ e2 = P(t4, e2);
141992
142015
  let n2 = "";
141993
142016
  for (; e2 < t4.length && !/\s/.test(t4[e2]); ) n2 += t4[e2], e2++;
141994
- if (!O(n2)) throw new Error(`Invalid attribute name: "${n2}"`);
141995
- e2 = I(t4, e2);
142017
+ S(n2), e2 = P(t4, e2);
142018
+ let i2 = "";
142019
+ for (; e2 < t4.length && !/\s/.test(t4[e2]); ) i2 += t4[e2], e2++;
142020
+ if (!S(i2)) throw new Error(`Invalid attribute name: "${i2}"`);
142021
+ e2 = P(t4, e2);
141996
142022
  let s2 = "";
141997
142023
  if ("NOTATION" === t4.substring(e2, e2 + 8).toUpperCase()) {
141998
- if (s2 = "NOTATION", "(" !== t4[e2 = I(t4, e2 += 8)]) throw new Error(`Expected '(', found "${t4[e2]}"`);
142024
+ if (s2 = "NOTATION", "(" !== t4[e2 = P(t4, e2 += 8)]) throw new Error(`Expected '(', found "${t4[e2]}"`);
141999
142025
  e2++;
142000
- let i3 = [];
142026
+ let n3 = [];
142001
142027
  for (; e2 < t4.length && ")" !== t4[e2]; ) {
142002
- let n3 = "";
142003
- for (; e2 < t4.length && "|" !== t4[e2] && ")" !== t4[e2]; ) n3 += t4[e2], e2++;
142004
- if (n3 = n3.trim(), !O(n3)) throw new Error(`Invalid notation name: "${n3}"`);
142005
- i3.push(n3), "|" === t4[e2] && (e2++, e2 = I(t4, e2));
142028
+ let i3 = "";
142029
+ for (; e2 < t4.length && "|" !== t4[e2] && ")" !== t4[e2]; ) i3 += t4[e2], e2++;
142030
+ if (i3 = i3.trim(), !S(i3)) throw new Error(`Invalid notation name: "${i3}"`);
142031
+ n3.push(i3), "|" === t4[e2] && (e2++, e2 = P(t4, e2));
142006
142032
  }
142007
142033
  if (")" !== t4[e2]) throw new Error("Unterminated list of notations");
142008
- e2++, s2 += " (" + i3.join("|") + ")";
142034
+ e2++, s2 += " (" + n3.join("|") + ")";
142009
142035
  } else {
142010
142036
  for (; e2 < t4.length && !/\s/.test(t4[e2]); ) s2 += t4[e2], e2++;
142011
- const i3 = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
142012
- if (!this.suppressValidationErr && !i3.includes(s2.toUpperCase())) throw new Error(`Invalid attribute type: "${s2}"`);
142037
+ const n3 = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
142038
+ if (!this.suppressValidationErr && !n3.includes(s2.toUpperCase())) throw new Error(`Invalid attribute type: "${s2}"`);
142013
142039
  }
142014
- e2 = I(t4, e2);
142040
+ e2 = P(t4, e2);
142015
142041
  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: i2, attributeName: n2, attributeType: s2, defaultValue: r2, index: e2 };
142042
+ 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
142043
  }
142018
142044
  }
142019
- const I = (t4, e2) => {
142045
+ const P = (t4, e2) => {
142020
142046
  for (; e2 < t4.length && /\s/.test(t4[e2]); ) e2++;
142021
142047
  return e2;
142022
142048
  };
142023
- function P(t4, e2, i2) {
142024
- for (let n2 = 0; n2 < e2.length; n2++) if (e2[n2] !== t4[i2 + n2 + 1]) return false;
142049
+ function A(t4, e2, n2) {
142050
+ for (let i2 = 0; i2 < e2.length; i2++) if (e2[i2] !== t4[n2 + i2 + 1]) return false;
142025
142051
  return true;
142026
142052
  }
142027
- function O(t4) {
142053
+ function S(t4) {
142028
142054
  if (r(t4)) return t4;
142029
142055
  throw new Error(`Invalid entity name ${t4}`);
142030
142056
  }
142031
- const A = /^[-+]?0x[a-fA-F0-9]+$/, S = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, C = { hex: true, leadingZeros: true, decimalPoint: ".", eNotation: true };
142032
- const V = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
142033
- function $(t4) {
142057
+ const C = /^[-+]?0x[a-fA-F0-9]+$/, $ = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, V = { hex: true, leadingZeros: true, decimalPoint: ".", eNotation: true };
142058
+ const D = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
142059
+ function L(t4) {
142034
142060
  return "function" == typeof t4 ? t4 : Array.isArray(t4) ? (e2) => {
142035
- for (const i2 of t4) {
142036
- if ("string" == typeof i2 && e2 === i2) return true;
142037
- if (i2 instanceof RegExp && i2.test(e2)) return true;
142061
+ for (const n2 of t4) {
142062
+ if ("string" == typeof n2 && e2 === n2) return true;
142063
+ if (n2 instanceof RegExp && n2.test(e2)) return true;
142038
142064
  }
142039
142065
  } : () => false;
142040
142066
  }
142041
- class D {
142067
+ class F {
142042
142068
  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) => Z(e2, 10, "&#") }, num_hex: { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (t5, e2) => Z(e2, 16, "&#x") } }, this.addExternalEntities = j, this.parseXml = L, this.parseTextData = M, this.resolveNameSpace = F, this.buildAttributesMap = k, this.isItStopNode = Y, this.replaceEntitiesValue = B, this.readStopNodeData = W, this.saveTextToParentTag = R, this.addChild = U, this.ignoreAttributesFn = $(this.options.ignoreAttributes), this.options.stopNodes && this.options.stopNodes.length > 0) {
142069
+ 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
142070
  this.stopNodesExact = /* @__PURE__ */ new Set(), this.stopNodesWildcard = /* @__PURE__ */ new Set();
142045
142071
  for (let t5 = 0; t5 < this.options.stopNodes.length; t5++) {
142046
142072
  const e2 = this.options.stopNodes[t5];
@@ -142051,316 +142077,323 @@ var require_fxp = __commonJS({
142051
142077
  }
142052
142078
  function j(t4) {
142053
142079
  const e2 = Object.keys(t4);
142054
- for (let i2 = 0; i2 < e2.length; i2++) {
142055
- const n2 = e2[i2];
142056
- this.lastEntities[n2] = { regex: new RegExp("&" + n2 + ";", "g"), val: t4[n2] };
142080
+ for (let n2 = 0; n2 < e2.length; n2++) {
142081
+ const i2 = e2[n2], s2 = i2.replace(/[.\-+*:]/g, "\\.");
142082
+ this.lastEntities[i2] = { regex: new RegExp("&" + s2 + ";", "g"), val: t4[i2] };
142057
142083
  }
142058
142084
  }
142059
- function M(t4, e2, i2, n2, s2, r2, o2) {
142060
- if (void 0 !== t4 && (this.options.trimValues && !n2 && (t4 = t4.trim()), t4.length > 0)) {
142061
- o2 || (t4 = this.replaceEntitiesValue(t4));
142062
- const n3 = this.options.tagValueProcessor(e2, t4, i2, s2, r2);
142063
- return null == n3 ? t4 : typeof n3 != typeof t4 || n3 !== t4 ? n3 : this.options.trimValues || t4.trim() === t4 ? q(t4, this.options.parseTagValue, this.options.numberParseOptions) : t4;
142085
+ function M(t4, e2, n2, i2, s2, r2, o2) {
142086
+ if (void 0 !== t4 && (this.options.trimValues && !i2 && (t4 = t4.trim()), t4.length > 0)) {
142087
+ o2 || (t4 = this.replaceEntitiesValue(t4, e2, n2));
142088
+ const i3 = this.options.tagValueProcessor(e2, t4, n2, s2, r2);
142089
+ 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
142090
  }
142065
142091
  }
142066
- function F(t4) {
142092
+ function _(t4) {
142067
142093
  if (this.options.removeNSPrefix) {
142068
- const e2 = t4.split(":"), i2 = "/" === t4.charAt(0) ? "/" : "";
142094
+ const e2 = t4.split(":"), n2 = "/" === t4.charAt(0) ? "/" : "";
142069
142095
  if ("xmlns" === e2[0]) return "";
142070
- 2 === e2.length && (t4 = i2 + e2[1]);
142096
+ 2 === e2.length && (t4 = n2 + e2[1]);
142071
142097
  }
142072
142098
  return t4;
142073
142099
  }
142074
- const _ = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
142075
- function k(t4, e2) {
142100
+ const k = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
142101
+ function U(t4, e2, n2) {
142076
142102
  if (true !== this.options.ignoreAttributes && "string" == typeof t4) {
142077
- const i2 = s(t4, _), n2 = i2.length, r2 = {};
142078
- for (let t5 = 0; t5 < n2; t5++) {
142079
- const n3 = this.resolveNameSpace(i2[t5][1]);
142080
- if (this.ignoreAttributesFn(n3, e2)) continue;
142081
- let s2 = i2[t5][4], o2 = this.options.attributeNamePrefix + n3;
142082
- if (n3.length) if (this.options.transformAttributeName && (o2 = this.options.transformAttributeName(o2)), "__proto__" === o2 && (o2 = "#__proto__"), void 0 !== s2) {
142083
- this.options.trimValues && (s2 = s2.trim()), s2 = this.replaceEntitiesValue(s2);
142084
- const t6 = this.options.attributeValueProcessor(n3, s2, e2);
142085
- r2[o2] = null == t6 ? s2 : typeof t6 != typeof s2 || t6 !== s2 ? t6 : q(s2, this.options.parseAttributeValue, this.options.numberParseOptions);
142086
- } else this.options.allowBooleanAttributes && (r2[o2] = true);
142087
- }
142088
- if (!Object.keys(r2).length) return;
142103
+ const i2 = s(t4, k), r2 = i2.length, o2 = {};
142104
+ for (let t5 = 0; t5 < r2; t5++) {
142105
+ const s2 = this.resolveNameSpace(i2[t5][1]);
142106
+ if (this.ignoreAttributesFn(s2, e2)) continue;
142107
+ let r3 = i2[t5][4], a2 = this.options.attributeNamePrefix + s2;
142108
+ if (s2.length) if (this.options.transformAttributeName && (a2 = this.options.transformAttributeName(a2)), "__proto__" === a2 && (a2 = "#__proto__"), void 0 !== r3) {
142109
+ this.options.trimValues && (r3 = r3.trim()), r3 = this.replaceEntitiesValue(r3, n2, e2);
142110
+ const t6 = this.options.attributeValueProcessor(s2, r3, e2);
142111
+ o2[a2] = null == t6 ? r3 : typeof t6 != typeof r3 || t6 !== r3 ? t6 : Z(r3, this.options.parseAttributeValue, this.options.numberParseOptions);
142112
+ } else this.options.allowBooleanAttributes && (o2[a2] = true);
142113
+ }
142114
+ if (!Object.keys(o2).length) return;
142089
142115
  if (this.options.attributesGroupName) {
142090
142116
  const t5 = {};
142091
- return t5[this.options.attributesGroupName] = r2, t5;
142117
+ return t5[this.options.attributesGroupName] = o2, t5;
142092
142118
  }
142093
- return r2;
142119
+ return o2;
142094
142120
  }
142095
142121
  }
142096
- const L = function(t4) {
142122
+ const B = function(t4) {
142097
142123
  t4 = t4.replace(/\r\n?/g, "\n");
142098
- const e2 = new y("!xml");
142099
- let i2 = e2, n2 = "", s2 = "";
142100
- const r2 = new w(this.options.processEntities);
142124
+ const e2 = new I("!xml");
142125
+ let n2 = e2, i2 = "", s2 = "";
142126
+ this.entityExpansionCount = 0, this.currentExpandedLength = 0;
142127
+ const r2 = new O(this.options.processEntities);
142101
142128
  for (let o2 = 0; o2 < t4.length; o2++) if ("<" === t4[o2]) if ("/" === t4[o2 + 1]) {
142102
- const e3 = G(t4, ">", o2, "Closing Tag is not closed.");
142129
+ const e3 = z(t4, ">", o2, "Closing Tag is not closed.");
142103
142130
  let r3 = t4.substring(o2 + 2, e3).trim();
142104
142131
  if (this.options.removeNSPrefix) {
142105
142132
  const t5 = r3.indexOf(":");
142106
142133
  -1 !== t5 && (r3 = r3.substr(t5 + 1));
142107
142134
  }
142108
- this.options.transformTagName && (r3 = this.options.transformTagName(r3)), i2 && (n2 = this.saveTextToParentTag(n2, i2, s2));
142135
+ this.options.transformTagName && (r3 = this.options.transformTagName(r3)), n2 && (i2 = this.saveTextToParentTag(i2, n2, s2));
142109
142136
  const a2 = s2.substring(s2.lastIndexOf(".") + 1);
142110
142137
  if (r3 && -1 !== this.options.unpairedTags.indexOf(r3)) throw new Error(`Unpaired tag can not be used as closing tag: </${r3}>`);
142111
142138
  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), i2 = this.tagsNodeStack.pop(), n2 = "", o2 = e3;
142139
+ 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
142140
  } else if ("?" === t4[o2 + 1]) {
142114
- let e3 = X(t4, o2, false, "?>");
142141
+ let e3 = W(t4, o2, false, "?>");
142115
142142
  if (!e3) throw new Error("Pi Tag is not closed.");
142116
- if (n2 = this.saveTextToParentTag(n2, i2, s2), this.options.ignoreDeclaration && "?xml" === e3.tagName || this.options.ignorePiTags) ;
142143
+ if (i2 = this.saveTextToParentTag(i2, n2, s2), this.options.ignoreDeclaration && "?xml" === e3.tagName || this.options.ignorePiTags) ;
142117
142144
  else {
142118
- const t5 = new y(e3.tagName);
142119
- t5.add(this.options.textNodeName, ""), e3.tagName !== e3.tagExp && e3.attrExpPresent && (t5[":@"] = this.buildAttributesMap(e3.tagExp, s2)), this.addChild(i2, t5, s2, o2);
142145
+ const t5 = new I(e3.tagName);
142146
+ 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
142147
  }
142121
142148
  o2 = e3.closeIndex + 1;
142122
142149
  } else if ("!--" === t4.substr(o2 + 1, 3)) {
142123
- const e3 = G(t4, "-->", o2 + 4, "Comment is not closed.");
142150
+ const e3 = z(t4, "-->", o2 + 4, "Comment is not closed.");
142124
142151
  if (this.options.commentPropName) {
142125
142152
  const r3 = t4.substring(o2 + 4, e3 - 2);
142126
- n2 = this.saveTextToParentTag(n2, i2, s2), i2.add(this.options.commentPropName, [{ [this.options.textNodeName]: r3 }]);
142153
+ i2 = this.saveTextToParentTag(i2, n2, s2), n2.add(this.options.commentPropName, [{ [this.options.textNodeName]: r3 }]);
142127
142154
  }
142128
142155
  o2 = e3;
142129
142156
  } else if ("!D" === t4.substr(o2 + 1, 2)) {
142130
142157
  const e3 = r2.readDocType(t4, o2);
142131
142158
  this.docTypeEntities = e3.entities, o2 = e3.i;
142132
142159
  } else if ("![" === t4.substr(o2 + 1, 2)) {
142133
- const e3 = G(t4, "]]>", o2, "CDATA is not closed.") - 2, r3 = t4.substring(o2 + 9, e3);
142134
- n2 = this.saveTextToParentTag(n2, i2, s2);
142135
- let a2 = this.parseTextData(r3, i2.tagname, s2, true, false, true, true);
142136
- null == a2 && (a2 = ""), this.options.cdataPropName ? i2.add(this.options.cdataPropName, [{ [this.options.textNodeName]: r3 }]) : i2.add(this.options.textNodeName, a2), o2 = e3 + 2;
142160
+ const e3 = z(t4, "]]>", o2, "CDATA is not closed.") - 2, r3 = t4.substring(o2 + 9, e3);
142161
+ i2 = this.saveTextToParentTag(i2, n2, s2);
142162
+ let a2 = this.parseTextData(r3, n2.tagname, s2, true, false, true, true);
142163
+ 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
142164
  } else {
142138
- let r3 = X(t4, o2, this.options.removeNSPrefix), a2 = r3.tagName;
142165
+ let r3 = W(t4, o2, this.options.removeNSPrefix), a2 = r3.tagName;
142139
142166
  const l2 = r3.rawTagName;
142140
142167
  let u2 = r3.tagExp, h2 = r3.attrExpPresent, d2 = r3.closeIndex;
142141
142168
  if (this.options.transformTagName) {
142142
142169
  const t5 = this.options.transformTagName(a2);
142143
142170
  u2 === a2 && (u2 = t5), a2 = t5;
142144
142171
  }
142145
- i2 && n2 && "!xml" !== i2.tagname && (n2 = this.saveTextToParentTag(n2, i2, s2, false));
142146
- const p2 = i2;
142147
- p2 && -1 !== this.options.unpairedTags.indexOf(p2.tagname) && (i2 = this.tagsNodeStack.pop(), s2 = s2.substring(0, s2.lastIndexOf("."))), a2 !== e2.tagname && (s2 += s2 ? "." + a2 : a2);
142172
+ n2 && i2 && "!xml" !== n2.tagname && (i2 = this.saveTextToParentTag(i2, n2, s2, false));
142173
+ const p2 = n2;
142174
+ 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
142175
  const f2 = o2;
142149
142176
  if (this.isItStopNode(this.stopNodesExact, this.stopNodesWildcard, s2, a2)) {
142150
142177
  let e3 = "";
142151
142178
  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
142179
  else if (-1 !== this.options.unpairedTags.indexOf(a2)) o2 = r3.closeIndex;
142153
142180
  else {
142154
- const i3 = this.readStopNodeData(t4, l2, d2 + 1);
142155
- if (!i3) throw new Error(`Unexpected end of ${l2}`);
142156
- o2 = i3.i, e3 = i3.tagContent;
142181
+ const n3 = this.readStopNodeData(t4, l2, d2 + 1);
142182
+ if (!n3) throw new Error(`Unexpected end of ${l2}`);
142183
+ o2 = n3.i, e3 = n3.tagContent;
142157
142184
  }
142158
- const n3 = new y(a2);
142159
- a2 !== u2 && h2 && (n3[":@"] = this.buildAttributesMap(u2, s2)), e3 && (e3 = this.parseTextData(e3, a2, s2, true, h2, true, true)), s2 = s2.substr(0, s2.lastIndexOf(".")), n3.add(this.options.textNodeName, e3), this.addChild(i2, n3, s2, f2);
142185
+ const i3 = new I(a2);
142186
+ 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
142187
  } else {
142161
142188
  if (u2.length > 0 && u2.lastIndexOf("/") === u2.length - 1) {
142162
142189
  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
142190
  const t6 = this.options.transformTagName(a2);
142164
142191
  u2 === a2 && (u2 = t6), a2 = t6;
142165
142192
  }
142166
- const t5 = new y(a2);
142167
- a2 !== u2 && h2 && (t5[":@"] = this.buildAttributesMap(u2, s2)), this.addChild(i2, t5, s2, f2), s2 = s2.substr(0, s2.lastIndexOf("."));
142193
+ const t5 = new I(a2);
142194
+ a2 !== u2 && h2 && (t5[":@"] = this.buildAttributesMap(u2, s2, a2)), this.addChild(n2, t5, s2, f2), s2 = s2.substr(0, s2.lastIndexOf("."));
142168
142195
  } else {
142169
- const t5 = new y(a2);
142170
- this.tagsNodeStack.push(i2), a2 !== u2 && h2 && (t5[":@"] = this.buildAttributesMap(u2, s2)), this.addChild(i2, t5, s2, f2), i2 = t5;
142196
+ const t5 = new I(a2);
142197
+ this.tagsNodeStack.push(n2), a2 !== u2 && h2 && (t5[":@"] = this.buildAttributesMap(u2, s2, a2)), this.addChild(n2, t5, s2, f2), n2 = t5;
142171
142198
  }
142172
- n2 = "", o2 = d2;
142199
+ i2 = "", o2 = d2;
142173
142200
  }
142174
142201
  }
142175
- else n2 += t4[o2];
142202
+ else i2 += t4[o2];
142176
142203
  return e2.child;
142177
142204
  };
142178
- function U(t4, e2, i2, n2) {
142179
- this.options.captureMetaData || (n2 = void 0);
142180
- const s2 = this.options.updateTag(e2.tagname, i2, e2[":@"]);
142181
- false === s2 || ("string" == typeof s2 ? (e2.tagname = s2, t4.addChild(e2, n2)) : t4.addChild(e2, n2));
142182
- }
142183
- const B = function(t4) {
142184
- if (this.options.processEntities) {
142185
- for (let e2 in this.docTypeEntities) {
142186
- const i2 = this.docTypeEntities[e2];
142187
- t4 = t4.replace(i2.regx, i2.val);
142188
- }
142189
- for (let e2 in this.lastEntities) {
142190
- const i2 = this.lastEntities[e2];
142191
- t4 = t4.replace(i2.regex, i2.val);
142192
- }
142193
- if (this.options.htmlEntities) for (let e2 in this.htmlEntities) {
142194
- const i2 = this.htmlEntities[e2];
142195
- t4 = t4.replace(i2.regex, i2.val);
142196
- }
142197
- t4 = t4.replace(this.ampEntity.regex, this.ampEntity.val);
142198
- }
142199
- return t4;
142200
- };
142201
- function R(t4, e2, i2, n2) {
142202
- return t4 && (void 0 === n2 && (n2 = 0 === e2.child.length), void 0 !== (t4 = this.parseTextData(t4, e2.tagname, i2, false, !!e2[":@"] && 0 !== Object.keys(e2[":@"]).length, n2)) && "" !== t4 && e2.add(this.options.textNodeName, t4), t4 = ""), t4;
142203
- }
142204
- function Y(t4, e2, i2, n2) {
142205
- return !(!e2 || !e2.has(n2)) || !(!t4 || !t4.has(i2));
142206
- }
142207
- function G(t4, e2, i2, n2) {
142208
- const s2 = t4.indexOf(e2, i2);
142209
- if (-1 === s2) throw new Error(n2);
142205
+ function R(t4, e2, n2, i2) {
142206
+ this.options.captureMetaData || (i2 = void 0);
142207
+ const s2 = this.options.updateTag(e2.tagname, n2, e2[":@"]);
142208
+ false === s2 || ("string" == typeof s2 ? (e2.tagname = s2, t4.addChild(e2, i2)) : t4.addChild(e2, i2));
142209
+ }
142210
+ const Y = function(t4, e2, n2) {
142211
+ if (-1 === t4.indexOf("&")) return t4;
142212
+ const i2 = this.options.processEntities;
142213
+ if (!i2.enabled) return t4;
142214
+ if (i2.allowedTags && !i2.allowedTags.includes(e2)) return t4;
142215
+ if (i2.tagFilter && !i2.tagFilter(e2, n2)) return t4;
142216
+ for (let e3 in this.docTypeEntities) {
142217
+ const n3 = this.docTypeEntities[e3], s2 = t4.match(n3.regx);
142218
+ if (s2) {
142219
+ if (this.entityExpansionCount += s2.length, i2.maxTotalExpansions && this.entityExpansionCount > i2.maxTotalExpansions) throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${i2.maxTotalExpansions}`);
142220
+ const e4 = t4.length;
142221
+ 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}`);
142222
+ }
142223
+ }
142224
+ if (-1 === t4.indexOf("&")) return t4;
142225
+ for (let e3 in this.lastEntities) {
142226
+ const n3 = this.lastEntities[e3];
142227
+ t4 = t4.replace(n3.regex, n3.val);
142228
+ }
142229
+ if (-1 === t4.indexOf("&")) return t4;
142230
+ if (this.options.htmlEntities) for (let e3 in this.htmlEntities) {
142231
+ const n3 = this.htmlEntities[e3];
142232
+ t4 = t4.replace(n3.regex, n3.val);
142233
+ }
142234
+ return t4.replace(this.ampEntity.regex, this.ampEntity.val);
142235
+ };
142236
+ function G(t4, e2, n2, i2) {
142237
+ 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;
142238
+ }
142239
+ function X(t4, e2, n2, i2) {
142240
+ return !(!e2 || !e2.has(i2)) || !(!t4 || !t4.has(n2));
142241
+ }
142242
+ function z(t4, e2, n2, i2) {
142243
+ const s2 = t4.indexOf(e2, n2);
142244
+ if (-1 === s2) throw new Error(i2);
142210
142245
  return s2 + e2.length - 1;
142211
142246
  }
142212
- function X(t4, e2, i2, n2 = ">") {
142213
- const s2 = (function(t5, e3, i3 = ">") {
142214
- let n3, s3 = "";
142247
+ function W(t4, e2, n2, i2 = ">") {
142248
+ const s2 = (function(t5, e3, n3 = ">") {
142249
+ let i3, s3 = "";
142215
142250
  for (let r3 = e3; r3 < t5.length; r3++) {
142216
142251
  let e4 = t5[r3];
142217
- if (n3) e4 === n3 && (n3 = "");
142218
- else if ('"' === e4 || "'" === e4) n3 = e4;
142219
- else if (e4 === i3[0]) {
142220
- if (!i3[1]) return { data: s3, index: r3 };
142221
- if (t5[r3 + 1] === i3[1]) return { data: s3, index: r3 };
142252
+ if (i3) e4 === i3 && (i3 = "");
142253
+ else if ('"' === e4 || "'" === e4) i3 = e4;
142254
+ else if (e4 === n3[0]) {
142255
+ if (!n3[1]) return { data: s3, index: r3 };
142256
+ if (t5[r3 + 1] === n3[1]) return { data: s3, index: r3 };
142222
142257
  } else " " === e4 && (e4 = " ");
142223
142258
  s3 += e4;
142224
142259
  }
142225
- })(t4, e2 + 1, n2);
142260
+ })(t4, e2 + 1, i2);
142226
142261
  if (!s2) return;
142227
142262
  let r2 = s2.data;
142228
142263
  const o2 = s2.index, a2 = r2.search(/\s/);
142229
142264
  let l2 = r2, u2 = true;
142230
142265
  -1 !== a2 && (l2 = r2.substring(0, a2), r2 = r2.substring(a2 + 1).trimStart());
142231
142266
  const h2 = l2;
142232
- if (i2) {
142267
+ if (n2) {
142233
142268
  const t5 = l2.indexOf(":");
142234
142269
  -1 !== t5 && (l2 = l2.substr(t5 + 1), u2 = l2 !== s2.data.substr(t5 + 1));
142235
142270
  }
142236
142271
  return { tagName: l2, tagExp: r2, closeIndex: o2, attrExpPresent: u2, rawTagName: h2 };
142237
142272
  }
142238
- function W(t4, e2, i2) {
142239
- const n2 = i2;
142273
+ function q(t4, e2, n2) {
142274
+ const i2 = n2;
142240
142275
  let s2 = 1;
142241
- for (; i2 < t4.length; i2++) if ("<" === t4[i2]) if ("/" === t4[i2 + 1]) {
142242
- const r2 = G(t4, ">", i2, `${e2} is not closed`);
142243
- if (t4.substring(i2 + 2, r2).trim() === e2 && (s2--, 0 === s2)) return { tagContent: t4.substring(n2, i2), i: r2 };
142244
- i2 = r2;
142245
- } else if ("?" === t4[i2 + 1]) i2 = G(t4, "?>", i2 + 1, "StopNode is not closed.");
142246
- else if ("!--" === t4.substr(i2 + 1, 3)) i2 = G(t4, "-->", i2 + 3, "StopNode is not closed.");
142247
- else if ("![" === t4.substr(i2 + 1, 2)) i2 = G(t4, "]]>", i2, "StopNode is not closed.") - 2;
142276
+ for (; n2 < t4.length; n2++) if ("<" === t4[n2]) if ("/" === t4[n2 + 1]) {
142277
+ const r2 = z(t4, ">", n2, `${e2} is not closed`);
142278
+ if (t4.substring(n2 + 2, r2).trim() === e2 && (s2--, 0 === s2)) return { tagContent: t4.substring(i2, n2), i: r2 };
142279
+ n2 = r2;
142280
+ } else if ("?" === t4[n2 + 1]) n2 = z(t4, "?>", n2 + 1, "StopNode is not closed.");
142281
+ else if ("!--" === t4.substr(n2 + 1, 3)) n2 = z(t4, "-->", n2 + 3, "StopNode is not closed.");
142282
+ else if ("![" === t4.substr(n2 + 1, 2)) n2 = z(t4, "]]>", n2, "StopNode is not closed.") - 2;
142248
142283
  else {
142249
- const n3 = X(t4, i2, ">");
142250
- n3 && ((n3 && n3.tagName) === e2 && "/" !== n3.tagExp[n3.tagExp.length - 1] && s2++, i2 = n3.closeIndex);
142284
+ const i3 = W(t4, n2, ">");
142285
+ i3 && ((i3 && i3.tagName) === e2 && "/" !== i3.tagExp[i3.tagExp.length - 1] && s2++, n2 = i3.closeIndex);
142251
142286
  }
142252
142287
  }
142253
- function q(t4, e2, i2) {
142288
+ function Z(t4, e2, n2) {
142254
142289
  if (e2 && "string" == typeof t4) {
142255
142290
  const e3 = t4.trim();
142256
142291
  return "true" === e3 || "false" !== e3 && (function(t5, e4 = {}) {
142257
- if (e4 = Object.assign({}, C, e4), !t5 || "string" != typeof t5) return t5;
142258
- let i3 = t5.trim();
142259
- if (void 0 !== e4.skipLike && e4.skipLike.test(i3)) return t5;
142292
+ if (e4 = Object.assign({}, V, e4), !t5 || "string" != typeof t5) return t5;
142293
+ let n3 = t5.trim();
142294
+ if (void 0 !== e4.skipLike && e4.skipLike.test(n3)) return t5;
142260
142295
  if ("0" === t5) return 0;
142261
- if (e4.hex && A.test(i3)) return (function(t6) {
142296
+ if (e4.hex && C.test(n3)) return (function(t6) {
142262
142297
  if (parseInt) return parseInt(t6, 16);
142263
142298
  if (Number.parseInt) return Number.parseInt(t6, 16);
142264
142299
  if (window && window.parseInt) return window.parseInt(t6, 16);
142265
142300
  throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
142266
- })(i3);
142267
- if (-1 !== i3.search(/.+[eE].+/)) return (function(t6, e5, i4) {
142268
- if (!i4.eNotation) return t6;
142269
- const n3 = e5.match(V);
142270
- if (n3) {
142271
- let s2 = n3[1] || "";
142272
- const r2 = -1 === n3[3].indexOf("e") ? "E" : "e", o2 = n3[2], a2 = s2 ? t6[o2.length + 1] === r2 : t6[o2.length] === r2;
142273
- return o2.length > 1 && a2 ? t6 : 1 !== o2.length || !n3[3].startsWith(`.${r2}`) && n3[3][0] !== r2 ? i4.leadingZeros && !a2 ? (e5 = (n3[1] || "") + n3[3], Number(e5)) : t6 : Number(e5);
142301
+ })(n3);
142302
+ if (-1 !== n3.search(/.+[eE].+/)) return (function(t6, e5, n4) {
142303
+ if (!n4.eNotation) return t6;
142304
+ const i3 = e5.match(D);
142305
+ if (i3) {
142306
+ let s2 = i3[1] || "";
142307
+ const r2 = -1 === i3[3].indexOf("e") ? "E" : "e", o2 = i3[2], a2 = s2 ? t6[o2.length + 1] === r2 : t6[o2.length] === r2;
142308
+ 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
142309
  }
142275
142310
  return t6;
142276
- })(t5, i3, e4);
142311
+ })(t5, n3, e4);
142277
142312
  {
142278
- const s2 = S.exec(i3);
142313
+ const s2 = $.exec(n3);
142279
142314
  if (s2) {
142280
142315
  const r2 = s2[1] || "", o2 = s2[2];
142281
- let a2 = (n2 = s2[3]) && -1 !== n2.indexOf(".") ? ("." === (n2 = n2.replace(/0+$/, "")) ? n2 = "0" : "." === n2[0] ? n2 = "0" + n2 : "." === n2[n2.length - 1] && (n2 = n2.substring(0, n2.length - 1)), n2) : n2;
142316
+ 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
142317
  const l2 = r2 ? "." === t5[o2.length + 1] : "." === t5[o2.length];
142283
142318
  if (!e4.leadingZeros && (o2.length > 1 || 1 === o2.length && !l2)) return t5;
142284
142319
  {
142285
- const n3 = Number(i3), s3 = String(n3);
142286
- if (0 === n3 || -0 === n3) return n3;
142287
- if (-1 !== s3.search(/[eE]/)) return e4.eNotation ? n3 : t5;
142288
- if (-1 !== i3.indexOf(".")) return "0" === s3 || s3 === a2 || s3 === `${r2}${a2}` ? n3 : t5;
142289
- let l3 = o2 ? a2 : i3;
142290
- return o2 ? l3 === s3 || r2 + l3 === s3 ? n3 : t5 : l3 === s3 || l3 === r2 + s3 ? n3 : t5;
142320
+ const i3 = Number(n3), s3 = String(i3);
142321
+ if (0 === i3 || -0 === i3) return i3;
142322
+ if (-1 !== s3.search(/[eE]/)) return e4.eNotation ? i3 : t5;
142323
+ if (-1 !== n3.indexOf(".")) return "0" === s3 || s3 === a2 || s3 === `${r2}${a2}` ? i3 : t5;
142324
+ let l3 = o2 ? a2 : n3;
142325
+ return o2 ? l3 === s3 || r2 + l3 === s3 ? i3 : t5 : l3 === s3 || l3 === r2 + s3 ? i3 : t5;
142291
142326
  }
142292
142327
  }
142293
142328
  return t5;
142294
142329
  }
142295
- var n2;
142296
- })(t4, i2);
142330
+ var i2;
142331
+ })(t4, n2);
142297
142332
  }
142298
142333
  return void 0 !== t4 ? t4 : "";
142299
142334
  }
142300
- function Z(t4, e2, i2) {
142301
- const n2 = Number.parseInt(t4, e2);
142302
- return n2 >= 0 && n2 <= 1114111 ? String.fromCodePoint(n2) : i2 + t4 + ";";
142335
+ function K(t4, e2, n2) {
142336
+ const i2 = Number.parseInt(t4, e2);
142337
+ return i2 >= 0 && i2 <= 1114111 ? String.fromCodePoint(i2) : n2 + t4 + ";";
142303
142338
  }
142304
- const K = y.getMetaDataSymbol();
142305
- function Q(t4, e2) {
142306
- return z(t4, e2);
142339
+ const Q = I.getMetaDataSymbol();
142340
+ function J(t4, e2) {
142341
+ return H(t4, e2);
142307
142342
  }
142308
- function z(t4, e2, i2) {
142309
- let n2;
142343
+ function H(t4, e2, n2) {
142344
+ let i2;
142310
142345
  const s2 = {};
142311
142346
  for (let r2 = 0; r2 < t4.length; r2++) {
142312
- const o2 = t4[r2], a2 = J(o2);
142347
+ const o2 = t4[r2], a2 = tt(o2);
142313
142348
  let l2 = "";
142314
- if (l2 = void 0 === i2 ? a2 : i2 + "." + a2, a2 === e2.textNodeName) void 0 === n2 ? n2 = o2[a2] : n2 += "" + o2[a2];
142349
+ if (l2 = void 0 === n2 ? a2 : n2 + "." + a2, a2 === e2.textNodeName) void 0 === i2 ? i2 = o2[a2] : i2 += "" + o2[a2];
142315
142350
  else {
142316
142351
  if (void 0 === a2) continue;
142317
142352
  if (o2[a2]) {
142318
- let t5 = z(o2[a2], e2, l2);
142319
- const i3 = tt(t5, e2);
142320
- void 0 !== o2[K] && (t5[K] = o2[K]), o2[":@"] ? H(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, i3) ? s2[a2] = [t5] : s2[a2] = t5;
142353
+ let t5 = H(o2[a2], e2, l2);
142354
+ const n3 = nt(t5, e2);
142355
+ 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
142356
  }
142322
142357
  }
142323
142358
  }
142324
- return "string" == typeof n2 ? n2.length > 0 && (s2[e2.textNodeName] = n2) : void 0 !== n2 && (s2[e2.textNodeName] = n2), s2;
142359
+ return "string" == typeof i2 ? i2.length > 0 && (s2[e2.textNodeName] = i2) : void 0 !== i2 && (s2[e2.textNodeName] = i2), s2;
142325
142360
  }
142326
- function J(t4) {
142361
+ function tt(t4) {
142327
142362
  const e2 = Object.keys(t4);
142328
142363
  for (let t5 = 0; t5 < e2.length; t5++) {
142329
- const i2 = e2[t5];
142330
- if (":@" !== i2) return i2;
142364
+ const n2 = e2[t5];
142365
+ if (":@" !== n2) return n2;
142331
142366
  }
142332
142367
  }
142333
- function H(t4, e2, i2, n2) {
142368
+ function et(t4, e2, n2, i2) {
142334
142369
  if (e2) {
142335
142370
  const s2 = Object.keys(e2), r2 = s2.length;
142336
142371
  for (let o2 = 0; o2 < r2; o2++) {
142337
142372
  const r3 = s2[o2];
142338
- n2.isArray(r3, i2 + "." + r3, true, true) ? t4[r3] = [e2[r3]] : t4[r3] = e2[r3];
142373
+ i2.isArray(r3, n2 + "." + r3, true, true) ? t4[r3] = [e2[r3]] : t4[r3] = e2[r3];
142339
142374
  }
142340
142375
  }
142341
142376
  }
142342
- function tt(t4, e2) {
142343
- const { textNodeName: i2 } = e2, n2 = Object.keys(t4).length;
142344
- return 0 === n2 || !(1 !== n2 || !t4[i2] && "boolean" != typeof t4[i2] && 0 !== t4[i2]);
142377
+ function nt(t4, e2) {
142378
+ const { textNodeName: n2 } = e2, i2 = Object.keys(t4).length;
142379
+ return 0 === i2 || !(1 !== i2 || !t4[n2] && "boolean" != typeof t4[n2] && 0 !== t4[n2]);
142345
142380
  }
142346
- class et {
142381
+ class it {
142347
142382
  constructor(t4) {
142348
- this.externalEntities = {}, this.options = (function(t5) {
142349
- return Object.assign({}, v, t5);
142350
- })(t4);
142383
+ this.externalEntities = {}, this.options = w(t4);
142351
142384
  }
142352
142385
  parse(t4, e2) {
142353
142386
  if ("string" != typeof t4 && t4.toString) t4 = t4.toString();
142354
142387
  else if ("string" != typeof t4) throw new Error("XML data is accepted in String or Bytes[] form.");
142355
142388
  if (e2) {
142356
142389
  true === e2 && (e2 = {});
142357
- const i3 = a(t4, e2);
142358
- if (true !== i3) throw Error(`${i3.err.msg}:${i3.err.line}:${i3.err.col}`);
142390
+ const n3 = a(t4, e2);
142391
+ if (true !== n3) throw Error(`${n3.err.msg}:${n3.err.line}:${n3.err.col}`);
142359
142392
  }
142360
- const i2 = new D(this.options);
142361
- i2.addExternalEntities(this.externalEntities);
142362
- const n2 = i2.parseXml(t4);
142363
- return this.options.preserveOrder || void 0 === n2 ? n2 : Q(n2, this.options);
142393
+ const n2 = new F(this.options);
142394
+ n2.addExternalEntities(this.externalEntities);
142395
+ const i2 = n2.parseXml(t4);
142396
+ return this.options.preserveOrder || void 0 === i2 ? i2 : J(i2, this.options);
142364
142397
  }
142365
142398
  addEntity(t4, e2) {
142366
142399
  if (-1 !== e2.indexOf("&")) throw new Error("Entity value can't have '&'");
@@ -142369,159 +142402,159 @@ var require_fxp = __commonJS({
142369
142402
  this.externalEntities[t4] = e2;
142370
142403
  }
142371
142404
  static getMetaDataSymbol() {
142372
- return y.getMetaDataSymbol();
142405
+ return I.getMetaDataSymbol();
142373
142406
  }
142374
142407
  }
142375
- function it(t4, e2) {
142376
- let i2 = "";
142377
- return e2.format && e2.indentBy.length > 0 && (i2 = "\n"), nt(t4, e2, "", i2);
142408
+ function st(t4, e2) {
142409
+ let n2 = "";
142410
+ return e2.format && e2.indentBy.length > 0 && (n2 = "\n"), rt(t4, e2, "", n2);
142378
142411
  }
142379
- function nt(t4, e2, i2, n2) {
142412
+ function rt(t4, e2, n2, i2) {
142380
142413
  let s2 = "", r2 = false;
142381
142414
  for (let o2 = 0; o2 < t4.length; o2++) {
142382
- const a2 = t4[o2], l2 = st(a2);
142415
+ const a2 = t4[o2], l2 = ot(a2);
142383
142416
  if (void 0 === l2) continue;
142384
142417
  let u2 = "";
142385
- if (u2 = 0 === i2.length ? l2 : `${i2}.${l2}`, l2 === e2.textNodeName) {
142418
+ if (u2 = 0 === n2.length ? l2 : `${n2}.${l2}`, l2 === e2.textNodeName) {
142386
142419
  let t5 = a2[l2];
142387
- ot(u2, e2) || (t5 = e2.tagValueProcessor(l2, t5), t5 = at(t5, e2)), r2 && (s2 += n2), s2 += t5, r2 = false;
142420
+ lt(u2, e2) || (t5 = e2.tagValueProcessor(l2, t5), t5 = ut(t5, e2)), r2 && (s2 += i2), s2 += t5, r2 = false;
142388
142421
  continue;
142389
142422
  }
142390
142423
  if (l2 === e2.cdataPropName) {
142391
- r2 && (s2 += n2), s2 += `<![CDATA[${a2[l2][0][e2.textNodeName]}]]>`, r2 = false;
142424
+ r2 && (s2 += i2), s2 += `<![CDATA[${a2[l2][0][e2.textNodeName]}]]>`, r2 = false;
142392
142425
  continue;
142393
142426
  }
142394
142427
  if (l2 === e2.commentPropName) {
142395
- s2 += n2 + `<!--${a2[l2][0][e2.textNodeName]}-->`, r2 = true;
142428
+ s2 += i2 + `<!--${a2[l2][0][e2.textNodeName]}-->`, r2 = true;
142396
142429
  continue;
142397
142430
  }
142398
142431
  if ("?" === l2[0]) {
142399
- const t5 = rt(a2[":@"], e2), i3 = "?xml" === l2 ? "" : n2;
142432
+ const t5 = at(a2[":@"], e2), n3 = "?xml" === l2 ? "" : i2;
142400
142433
  let o3 = a2[l2][0][e2.textNodeName];
142401
- o3 = 0 !== o3.length ? " " + o3 : "", s2 += i3 + `<${l2}${o3}${t5}?>`, r2 = true;
142434
+ o3 = 0 !== o3.length ? " " + o3 : "", s2 += n3 + `<${l2}${o3}${t5}?>`, r2 = true;
142402
142435
  continue;
142403
142436
  }
142404
- let h2 = n2;
142437
+ let h2 = i2;
142405
142438
  "" !== h2 && (h2 += e2.indentBy);
142406
- const d2 = n2 + `<${l2}${rt(a2[":@"], e2)}`, p2 = nt(a2[l2], e2, u2, h2);
142407
- -1 !== e2.unpairedTags.indexOf(l2) ? e2.suppressUnpairedNode ? s2 += d2 + ">" : s2 += d2 + "/>" : p2 && 0 !== p2.length || !e2.suppressEmptyNode ? p2 && p2.endsWith(">") ? s2 += d2 + `>${p2}${n2}</${l2}>` : (s2 += d2 + ">", p2 && "" !== n2 && (p2.includes("/>") || p2.includes("</")) ? s2 += n2 + e2.indentBy + p2 + n2 : s2 += p2, s2 += `</${l2}>`) : s2 += d2 + "/>", r2 = true;
142439
+ const d2 = i2 + `<${l2}${at(a2[":@"], e2)}`, p2 = rt(a2[l2], e2, u2, h2);
142440
+ -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
142441
  }
142409
142442
  return s2;
142410
142443
  }
142411
- function st(t4) {
142444
+ function ot(t4) {
142412
142445
  const e2 = Object.keys(t4);
142413
- for (let i2 = 0; i2 < e2.length; i2++) {
142414
- const n2 = e2[i2];
142415
- if (t4.hasOwnProperty(n2) && ":@" !== n2) return n2;
142446
+ for (let n2 = 0; n2 < e2.length; n2++) {
142447
+ const i2 = e2[n2];
142448
+ if (t4.hasOwnProperty(i2) && ":@" !== i2) return i2;
142416
142449
  }
142417
142450
  }
142418
- function rt(t4, e2) {
142419
- let i2 = "";
142420
- if (t4 && !e2.ignoreAttributes) for (let n2 in t4) {
142421
- if (!t4.hasOwnProperty(n2)) continue;
142422
- let s2 = e2.attributeValueProcessor(n2, t4[n2]);
142423
- s2 = at(s2, e2), true === s2 && e2.suppressBooleanAttributes ? i2 += ` ${n2.substr(e2.attributeNamePrefix.length)}` : i2 += ` ${n2.substr(e2.attributeNamePrefix.length)}="${s2}"`;
142451
+ function at(t4, e2) {
142452
+ let n2 = "";
142453
+ if (t4 && !e2.ignoreAttributes) for (let i2 in t4) {
142454
+ if (!t4.hasOwnProperty(i2)) continue;
142455
+ let s2 = e2.attributeValueProcessor(i2, t4[i2]);
142456
+ s2 = ut(s2, e2), true === s2 && e2.suppressBooleanAttributes ? n2 += ` ${i2.substr(e2.attributeNamePrefix.length)}` : n2 += ` ${i2.substr(e2.attributeNamePrefix.length)}="${s2}"`;
142424
142457
  }
142425
- return i2;
142458
+ return n2;
142426
142459
  }
142427
- function ot(t4, e2) {
142428
- let i2 = (t4 = t4.substr(0, t4.length - e2.textNodeName.length - 1)).substr(t4.lastIndexOf(".") + 1);
142429
- for (let n2 in e2.stopNodes) if (e2.stopNodes[n2] === t4 || e2.stopNodes[n2] === "*." + i2) return true;
142460
+ function lt(t4, e2) {
142461
+ let n2 = (t4 = t4.substr(0, t4.length - e2.textNodeName.length - 1)).substr(t4.lastIndexOf(".") + 1);
142462
+ for (let i2 in e2.stopNodes) if (e2.stopNodes[i2] === t4 || e2.stopNodes[i2] === "*." + n2) return true;
142430
142463
  return false;
142431
142464
  }
142432
- function at(t4, e2) {
142433
- if (t4 && t4.length > 0 && e2.processEntities) for (let i2 = 0; i2 < e2.entities.length; i2++) {
142434
- const n2 = e2.entities[i2];
142435
- t4 = t4.replace(n2.regex, n2.val);
142465
+ function ut(t4, e2) {
142466
+ if (t4 && t4.length > 0 && e2.processEntities) for (let n2 = 0; n2 < e2.entities.length; n2++) {
142467
+ const i2 = e2.entities[n2];
142468
+ t4 = t4.replace(i2.regex, i2.val);
142436
142469
  }
142437
142470
  return t4;
142438
142471
  }
142439
- const lt = { attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, cdataPropName: false, format: false, indentBy: " ", suppressEmptyNode: false, suppressUnpairedNode: true, suppressBooleanAttributes: true, tagValueProcessor: function(t4, e2) {
142472
+ 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
142473
  return e2;
142441
142474
  }, attributeValueProcessor: function(t4, e2) {
142442
142475
  return e2;
142443
142476
  }, preserveOrder: false, commentPropName: false, unpairedTags: [], entities: [{ regex: new RegExp("&", "g"), val: "&amp;" }, { regex: new RegExp(">", "g"), val: "&gt;" }, { regex: new RegExp("<", "g"), val: "&lt;" }, { regex: new RegExp("'", "g"), val: "&apos;" }, { regex: new RegExp('"', "g"), val: "&quot;" }], processEntities: true, stopNodes: [], oneListGroup: false };
142444
- function ut(t4) {
142445
- this.options = Object.assign({}, lt, t4), true === this.options.ignoreAttributes || this.options.attributesGroupName ? this.isAttribute = function() {
142477
+ function dt(t4) {
142478
+ this.options = Object.assign({}, ht, t4), true === this.options.ignoreAttributes || this.options.attributesGroupName ? this.isAttribute = function() {
142446
142479
  return false;
142447
- } : (this.ignoreAttributesFn = $(this.options.ignoreAttributes), this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = pt), this.processTextOrObjNode = ht, this.options.format ? (this.indentate = dt, this.tagEndChar = ">\n", this.newLine = "\n") : (this.indentate = function() {
142480
+ } : (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
142481
  return "";
142449
142482
  }, this.tagEndChar = ">", this.newLine = "");
142450
142483
  }
142451
- function ht(t4, e2, i2, n2) {
142452
- const s2 = this.j2x(t4, i2 + 1, n2.concat(e2));
142453
- return void 0 !== t4[this.options.textNodeName] && 1 === Object.keys(t4).length ? this.buildTextValNode(t4[this.options.textNodeName], e2, s2.attrStr, i2) : this.buildObjectNode(s2.val, e2, s2.attrStr, i2);
142484
+ function pt(t4, e2, n2, i2) {
142485
+ const s2 = this.j2x(t4, n2 + 1, i2.concat(e2));
142486
+ 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
142487
  }
142455
- function dt(t4) {
142488
+ function ft(t4) {
142456
142489
  return this.options.indentBy.repeat(t4);
142457
142490
  }
142458
- function pt(t4) {
142491
+ function ct(t4) {
142459
142492
  return !(!t4.startsWith(this.options.attributeNamePrefix) || t4 === this.options.textNodeName) && t4.substr(this.attrPrefixLen);
142460
142493
  }
142461
- ut.prototype.build = function(t4) {
142462
- return this.options.preserveOrder ? it(t4, this.options) : (Array.isArray(t4) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (t4 = { [this.options.arrayNodeName]: t4 }), this.j2x(t4, 0, []).val);
142463
- }, ut.prototype.j2x = function(t4, e2, i2) {
142464
- let n2 = "", s2 = "";
142465
- const r2 = i2.join(".");
142494
+ dt.prototype.build = function(t4) {
142495
+ 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);
142496
+ }, dt.prototype.j2x = function(t4, e2, n2) {
142497
+ let i2 = "", s2 = "";
142498
+ const r2 = n2.join(".");
142466
142499
  for (let o2 in t4) if (Object.prototype.hasOwnProperty.call(t4, o2)) if (void 0 === t4[o2]) this.isAttribute(o2) && (s2 += "");
142467
142500
  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
142501
  else if (t4[o2] instanceof Date) s2 += this.buildTextValNode(t4[o2], o2, "", e2);
142469
142502
  else if ("object" != typeof t4[o2]) {
142470
- const i3 = this.isAttribute(o2);
142471
- if (i3 && !this.ignoreAttributesFn(i3, r2)) n2 += this.buildAttrPairStr(i3, "" + t4[o2]);
142472
- else if (!i3) if (o2 === this.options.textNodeName) {
142503
+ const n3 = this.isAttribute(o2);
142504
+ if (n3 && !this.ignoreAttributesFn(n3, r2)) i2 += this.buildAttrPairStr(n3, "" + t4[o2]);
142505
+ else if (!n3) if (o2 === this.options.textNodeName) {
142473
142506
  let e3 = this.options.tagValueProcessor(o2, "" + t4[o2]);
142474
142507
  s2 += this.replaceEntitiesValue(e3);
142475
142508
  } else s2 += this.buildTextValNode(t4[o2], o2, "", e2);
142476
142509
  } else if (Array.isArray(t4[o2])) {
142477
- const n3 = t4[o2].length;
142510
+ const i3 = t4[o2].length;
142478
142511
  let r3 = "", a2 = "";
142479
- for (let l2 = 0; l2 < n3; l2++) {
142480
- const n4 = t4[o2][l2];
142481
- if (void 0 === n4) ;
142482
- else if (null === n4) "?" === o2[0] ? s2 += this.indentate(e2) + "<" + o2 + "?" + this.tagEndChar : s2 += this.indentate(e2) + "<" + o2 + "/" + this.tagEndChar;
142483
- else if ("object" == typeof n4) if (this.options.oneListGroup) {
142484
- const t5 = this.j2x(n4, e2 + 1, i2.concat(o2));
142485
- r3 += t5.val, this.options.attributesGroupName && n4.hasOwnProperty(this.options.attributesGroupName) && (a2 += t5.attrStr);
142486
- } else r3 += this.processTextOrObjNode(n4, o2, e2, i2);
142512
+ for (let l2 = 0; l2 < i3; l2++) {
142513
+ const i4 = t4[o2][l2];
142514
+ if (void 0 === i4) ;
142515
+ else if (null === i4) "?" === o2[0] ? s2 += this.indentate(e2) + "<" + o2 + "?" + this.tagEndChar : s2 += this.indentate(e2) + "<" + o2 + "/" + this.tagEndChar;
142516
+ else if ("object" == typeof i4) if (this.options.oneListGroup) {
142517
+ const t5 = this.j2x(i4, e2 + 1, n2.concat(o2));
142518
+ r3 += t5.val, this.options.attributesGroupName && i4.hasOwnProperty(this.options.attributesGroupName) && (a2 += t5.attrStr);
142519
+ } else r3 += this.processTextOrObjNode(i4, o2, e2, n2);
142487
142520
  else if (this.options.oneListGroup) {
142488
- let t5 = this.options.tagValueProcessor(o2, n4);
142521
+ let t5 = this.options.tagValueProcessor(o2, i4);
142489
142522
  t5 = this.replaceEntitiesValue(t5), r3 += t5;
142490
- } else r3 += this.buildTextValNode(n4, o2, "", e2);
142523
+ } else r3 += this.buildTextValNode(i4, o2, "", e2);
142491
142524
  }
142492
142525
  this.options.oneListGroup && (r3 = this.buildObjectNode(r3, o2, a2, e2)), s2 += r3;
142493
142526
  } else if (this.options.attributesGroupName && o2 === this.options.attributesGroupName) {
142494
- const e3 = Object.keys(t4[o2]), i3 = e3.length;
142495
- for (let s3 = 0; s3 < i3; s3++) n2 += this.buildAttrPairStr(e3[s3], "" + t4[o2][e3[s3]]);
142496
- } else s2 += this.processTextOrObjNode(t4[o2], o2, e2, i2);
142497
- return { attrStr: n2, val: s2 };
142498
- }, ut.prototype.buildAttrPairStr = function(t4, e2) {
142527
+ const e3 = Object.keys(t4[o2]), n3 = e3.length;
142528
+ for (let s3 = 0; s3 < n3; s3++) i2 += this.buildAttrPairStr(e3[s3], "" + t4[o2][e3[s3]]);
142529
+ } else s2 += this.processTextOrObjNode(t4[o2], o2, e2, n2);
142530
+ return { attrStr: i2, val: s2 };
142531
+ }, dt.prototype.buildAttrPairStr = function(t4, e2) {
142499
142532
  return e2 = this.options.attributeValueProcessor(t4, "" + e2), e2 = this.replaceEntitiesValue(e2), this.options.suppressBooleanAttributes && "true" === e2 ? " " + t4 : " " + t4 + '="' + e2 + '"';
142500
- }, ut.prototype.buildObjectNode = function(t4, e2, i2, n2) {
142501
- if ("" === t4) return "?" === e2[0] ? this.indentate(n2) + "<" + e2 + i2 + "?" + this.tagEndChar : this.indentate(n2) + "<" + e2 + i2 + this.closeTag(e2) + this.tagEndChar;
142533
+ }, dt.prototype.buildObjectNode = function(t4, e2, n2, i2) {
142534
+ if ("" === t4) return "?" === e2[0] ? this.indentate(i2) + "<" + e2 + n2 + "?" + this.tagEndChar : this.indentate(i2) + "<" + e2 + n2 + this.closeTag(e2) + this.tagEndChar;
142502
142535
  {
142503
142536
  let s2 = "</" + e2 + this.tagEndChar, r2 = "";
142504
- return "?" === e2[0] && (r2 = "?", s2 = ""), !i2 && "" !== i2 || -1 !== t4.indexOf("<") ? false !== this.options.commentPropName && e2 === this.options.commentPropName && 0 === r2.length ? this.indentate(n2) + `<!--${t4}-->` + this.newLine : this.indentate(n2) + "<" + e2 + i2 + r2 + this.tagEndChar + t4 + this.indentate(n2) + s2 : this.indentate(n2) + "<" + e2 + i2 + r2 + ">" + t4 + s2;
142537
+ 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
142538
  }
142506
- }, ut.prototype.closeTag = function(t4) {
142539
+ }, dt.prototype.closeTag = function(t4) {
142507
142540
  let e2 = "";
142508
142541
  return -1 !== this.options.unpairedTags.indexOf(t4) ? this.options.suppressUnpairedNode || (e2 = "/") : e2 = this.options.suppressEmptyNode ? "/" : `></${t4}`, e2;
142509
- }, ut.prototype.buildTextValNode = function(t4, e2, i2, n2) {
142510
- if (false !== this.options.cdataPropName && e2 === this.options.cdataPropName) return this.indentate(n2) + `<![CDATA[${t4}]]>` + this.newLine;
142511
- if (false !== this.options.commentPropName && e2 === this.options.commentPropName) return this.indentate(n2) + `<!--${t4}-->` + this.newLine;
142512
- if ("?" === e2[0]) return this.indentate(n2) + "<" + e2 + i2 + "?" + this.tagEndChar;
142542
+ }, dt.prototype.buildTextValNode = function(t4, e2, n2, i2) {
142543
+ if (false !== this.options.cdataPropName && e2 === this.options.cdataPropName) return this.indentate(i2) + `<![CDATA[${t4}]]>` + this.newLine;
142544
+ if (false !== this.options.commentPropName && e2 === this.options.commentPropName) return this.indentate(i2) + `<!--${t4}-->` + this.newLine;
142545
+ if ("?" === e2[0]) return this.indentate(i2) + "<" + e2 + n2 + "?" + this.tagEndChar;
142513
142546
  {
142514
142547
  let s2 = this.options.tagValueProcessor(e2, t4);
142515
- return s2 = this.replaceEntitiesValue(s2), "" === s2 ? this.indentate(n2) + "<" + e2 + i2 + this.closeTag(e2) + this.tagEndChar : this.indentate(n2) + "<" + e2 + i2 + ">" + s2 + "</" + e2 + this.tagEndChar;
142548
+ 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
142549
  }
142517
- }, ut.prototype.replaceEntitiesValue = function(t4) {
142550
+ }, dt.prototype.replaceEntitiesValue = function(t4) {
142518
142551
  if (t4 && t4.length > 0 && this.options.processEntities) for (let e2 = 0; e2 < this.options.entities.length; e2++) {
142519
- const i2 = this.options.entities[e2];
142520
- t4 = t4.replace(i2.regex, i2.val);
142552
+ const n2 = this.options.entities[e2];
142553
+ t4 = t4.replace(n2.regex, n2.val);
142521
142554
  }
142522
142555
  return t4;
142523
142556
  };
142524
- const ft = { validate: a };
142557
+ const gt = { validate: a };
142525
142558
  module2.exports = e;
142526
142559
  })();
142527
142560
  }
@@ -161348,7 +161381,7 @@ async function getBackendSystem(system) {
161348
161381
  return backendSystem;
161349
161382
  }
161350
161383
 
161351
- // ../../node_modules/.pnpm/i18next@25.8.0_typescript@5.9.3/node_modules/i18next/dist/esm/i18next.js
161384
+ // ../../node_modules/.pnpm/i18next@25.8.12_typescript@5.9.3/node_modules/i18next/dist/esm/i18next.js
161352
161385
  var isString = (obj) => typeof obj === "string";
161353
161386
  var defer = () => {
161354
161387
  let res;
@@ -162372,7 +162405,7 @@ var PluralResolver = class {
162372
162405
  type
162373
162406
  });
162374
162407
  } catch (err) {
162375
- if (!Intl) {
162408
+ if (typeof Intl === "undefined") {
162376
162409
  this.logger.error("No Intl support, please use an Intl polyfill!");
162377
162410
  return dummyRule;
162378
162411
  }
@@ -162552,13 +162585,13 @@ var Interpolator = class {
162552
162585
  const handleHasOptions = (key, inheritedOptions) => {
162553
162586
  const sep2 = this.nestingOptionsSeparator;
162554
162587
  if (key.indexOf(sep2) < 0) return key;
162555
- const c = key.split(new RegExp(`${sep2}[ ]*{`));
162588
+ const c = key.split(new RegExp(`${regexEscape2(sep2)}[ ]*{`));
162556
162589
  let optionsString = `{${c[1]}`;
162557
162590
  key = c[0];
162558
162591
  optionsString = this.interpolate(optionsString, clonedOptions);
162559
162592
  const matchedSingleQuotes = optionsString.match(/'/g);
162560
162593
  const matchedDoubleQuotes = optionsString.match(/"/g);
162561
- if ((matchedSingleQuotes?.length ?? 0) % 2 === 0 && !matchedDoubleQuotes || matchedDoubleQuotes.length % 2 !== 0) {
162594
+ if ((matchedSingleQuotes?.length ?? 0) % 2 === 0 && !matchedDoubleQuotes || (matchedDoubleQuotes?.length ?? 0) % 2 !== 0) {
162562
162595
  optionsString = optionsString.replace(/'/g, '"');
162563
162596
  }
162564
162597
  try {
@@ -163039,6 +163072,19 @@ var bindMemberFunctions = (inst) => {
163039
163072
  }
163040
163073
  });
163041
163074
  };
163075
+ var SUPPORT_NOTICE_KEY = "__i18next_supportNoticeShown";
163076
+ var getSupportNoticeShown = () => typeof globalThis !== "undefined" && !!globalThis[SUPPORT_NOTICE_KEY];
163077
+ var setSupportNoticeShown = () => {
163078
+ if (typeof globalThis !== "undefined") globalThis[SUPPORT_NOTICE_KEY] = true;
163079
+ };
163080
+ var usesLocize = (inst) => {
163081
+ if (inst?.modules?.backend?.name?.indexOf("Locize") > 0) return true;
163082
+ if (inst?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0) return true;
163083
+ if (inst?.options?.backend?.backends) {
163084
+ if (inst.options.backend.backends.some((b) => b?.name?.indexOf("Locize") > 0 || b?.constructor?.name?.indexOf("Locize") > 0)) return true;
163085
+ }
163086
+ return false;
163087
+ };
163042
163088
  var I18n = class _I18n extends EventEmitter {
163043
163089
  constructor(options = {}, callback) {
163044
163090
  super();
@@ -163091,8 +163137,9 @@ var I18n = class _I18n extends EventEmitter {
163091
163137
  if (typeof this.options.overloadTranslationOptionHandler !== "function") {
163092
163138
  this.options.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
163093
163139
  }
163094
- if (this.options.debug === true) {
163095
- if (typeof console !== "undefined") console.warn("i18next is maintained with support from locize.com \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");
163140
+ if (this.options.showSupportNotice !== false && !usesLocize(this) && !getSupportNoticeShown()) {
163141
+ if (typeof console !== "undefined" && typeof console.info !== "undefined") console.info("\u{1F310} i18next is maintained with support from Locize \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \u{1F499}");
163142
+ setSupportNoticeShown();
163096
163143
  }
163097
163144
  const createClassOnDemand = (ClassOrObject) => {
163098
163145
  if (!ClassOrObject) return null;
@@ -163721,7 +163768,7 @@ function shouldStoreSystemInfo(system) {
163721
163768
  var import_telemetry = __toESM(require_dist15());
163722
163769
 
163723
163770
  // package.json
163724
- var version = "0.3.1";
163771
+ var version = "0.3.3";
163725
163772
 
163726
163773
  // src/utils/telemetryHelper.ts
163727
163774
  var import_feature_toggle = __toESM(require_dist16());