@html-validate/commitlint-config 3.2.2 → 3.2.4

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.
@@ -14722,6 +14722,55 @@ var require_lib = __commonJS({
14722
14722
  }
14723
14723
  });
14724
14724
 
14725
+ // node_modules/picocolors/picocolors.js
14726
+ var require_picocolors = __commonJS({
14727
+ "node_modules/picocolors/picocolors.js"(exports, module) {
14728
+ var tty2 = __require("tty");
14729
+ var isColorSupported = !("NO_COLOR" in process.env || process.argv.includes("--no-color")) && ("FORCE_COLOR" in process.env || process.argv.includes("--color") || process.platform === "win32" || tty2.isatty(1) && process.env.TERM !== "dumb" || "CI" in process.env);
14730
+ var formatter = (open, close, replace = open) => (input) => {
14731
+ let string = "" + input;
14732
+ let index = string.indexOf(close, open.length);
14733
+ return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
14734
+ };
14735
+ var replaceClose = (string, close, replace, index) => {
14736
+ let start = string.substring(0, index) + replace;
14737
+ let end = string.substring(index + close.length);
14738
+ let nextIndex = end.indexOf(close);
14739
+ return ~nextIndex ? start + replaceClose(end, close, replace, nextIndex) : start + end;
14740
+ };
14741
+ var createColors = (enabled = isColorSupported) => ({
14742
+ isColorSupported: enabled,
14743
+ reset: enabled ? (s) => `\x1B[0m${s}\x1B[0m` : String,
14744
+ bold: enabled ? formatter("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m") : String,
14745
+ dim: enabled ? formatter("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m") : String,
14746
+ italic: enabled ? formatter("\x1B[3m", "\x1B[23m") : String,
14747
+ underline: enabled ? formatter("\x1B[4m", "\x1B[24m") : String,
14748
+ inverse: enabled ? formatter("\x1B[7m", "\x1B[27m") : String,
14749
+ hidden: enabled ? formatter("\x1B[8m", "\x1B[28m") : String,
14750
+ strikethrough: enabled ? formatter("\x1B[9m", "\x1B[29m") : String,
14751
+ black: enabled ? formatter("\x1B[30m", "\x1B[39m") : String,
14752
+ red: enabled ? formatter("\x1B[31m", "\x1B[39m") : String,
14753
+ green: enabled ? formatter("\x1B[32m", "\x1B[39m") : String,
14754
+ yellow: enabled ? formatter("\x1B[33m", "\x1B[39m") : String,
14755
+ blue: enabled ? formatter("\x1B[34m", "\x1B[39m") : String,
14756
+ magenta: enabled ? formatter("\x1B[35m", "\x1B[39m") : String,
14757
+ cyan: enabled ? formatter("\x1B[36m", "\x1B[39m") : String,
14758
+ white: enabled ? formatter("\x1B[37m", "\x1B[39m") : String,
14759
+ gray: enabled ? formatter("\x1B[90m", "\x1B[39m") : String,
14760
+ bgBlack: enabled ? formatter("\x1B[40m", "\x1B[49m") : String,
14761
+ bgRed: enabled ? formatter("\x1B[41m", "\x1B[49m") : String,
14762
+ bgGreen: enabled ? formatter("\x1B[42m", "\x1B[49m") : String,
14763
+ bgYellow: enabled ? formatter("\x1B[43m", "\x1B[49m") : String,
14764
+ bgBlue: enabled ? formatter("\x1B[44m", "\x1B[49m") : String,
14765
+ bgMagenta: enabled ? formatter("\x1B[45m", "\x1B[49m") : String,
14766
+ bgCyan: enabled ? formatter("\x1B[46m", "\x1B[49m") : String,
14767
+ bgWhite: enabled ? formatter("\x1B[47m", "\x1B[49m") : String
14768
+ });
14769
+ module.exports = createColors();
14770
+ module.exports.createColors = createColors;
14771
+ }
14772
+ });
14773
+
14725
14774
  // node_modules/escape-string-regexp/index.js
14726
14775
  var require_escape_string_regexp = __commonJS({
14727
14776
  "node_modules/escape-string-regexp/index.js"(exports, module) {
@@ -16276,57 +16325,45 @@ var require_lib2 = __commonJS({
16276
16325
  exports.shouldHighlight = shouldHighlight;
16277
16326
  var _jsTokens = require_js_tokens();
16278
16327
  var _helperValidatorIdentifier = require_lib();
16279
- var _chalk = _interopRequireWildcard(require_chalk(), true);
16280
- function _getRequireWildcardCache(nodeInterop) {
16281
- if (typeof WeakMap !== "function")
16328
+ var _picocolors = _interopRequireWildcard(require_picocolors(), true);
16329
+ function _getRequireWildcardCache(e) {
16330
+ if ("function" != typeof WeakMap)
16282
16331
  return null;
16283
- var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
16284
- var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
16285
- return (_getRequireWildcardCache = function(nodeInterop2) {
16286
- return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
16287
- })(nodeInterop);
16288
- }
16289
- function _interopRequireWildcard(obj, nodeInterop) {
16290
- if (!nodeInterop && obj && obj.__esModule) {
16291
- return obj;
16292
- }
16293
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
16294
- return { default: obj };
16295
- }
16296
- var cache2 = _getRequireWildcardCache(nodeInterop);
16297
- if (cache2 && cache2.has(obj)) {
16298
- return cache2.get(obj);
16299
- }
16300
- var newObj = {};
16301
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
16302
- for (var key in obj) {
16303
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
16304
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
16305
- if (desc && (desc.get || desc.set)) {
16306
- Object.defineProperty(newObj, key, desc);
16307
- } else {
16308
- newObj[key] = obj[key];
16309
- }
16310
- }
16311
- }
16312
- newObj.default = obj;
16313
- if (cache2) {
16314
- cache2.set(obj, newObj);
16315
- }
16316
- return newObj;
16332
+ var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap();
16333
+ return (_getRequireWildcardCache = function(e2) {
16334
+ return e2 ? t : r;
16335
+ })(e);
16317
16336
  }
16337
+ function _interopRequireWildcard(e, r) {
16338
+ if (!r && e && e.__esModule)
16339
+ return e;
16340
+ if (null === e || "object" != typeof e && "function" != typeof e)
16341
+ return { default: e };
16342
+ var t = _getRequireWildcardCache(r);
16343
+ if (t && t.has(e))
16344
+ return t.get(e);
16345
+ var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
16346
+ for (var u in e)
16347
+ if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
16348
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
16349
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
16350
+ }
16351
+ return n.default = e, t && t.set(e, n), n;
16352
+ }
16353
+ var colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default;
16354
+ var compose = (f, g) => (v) => f(g(v));
16318
16355
  var sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]);
16319
- function getDefs(chalk2) {
16356
+ function getDefs(colors2) {
16320
16357
  return {
16321
- keyword: chalk2.cyan,
16322
- capitalized: chalk2.yellow,
16323
- jsxIdentifier: chalk2.yellow,
16324
- punctuator: chalk2.yellow,
16325
- number: chalk2.magenta,
16326
- string: chalk2.green,
16327
- regex: chalk2.magenta,
16328
- comment: chalk2.grey,
16329
- invalid: chalk2.white.bgRed.bold
16358
+ keyword: colors2.cyan,
16359
+ capitalized: colors2.yellow,
16360
+ jsxIdentifier: colors2.yellow,
16361
+ punctuator: colors2.yellow,
16362
+ number: colors2.magenta,
16363
+ string: colors2.green,
16364
+ regex: colors2.magenta,
16365
+ comment: colors2.gray,
16366
+ invalid: compose(compose(colors2.white, colors2.bgRed), colors2.bold)
16330
16367
  };
16331
16368
  }
16332
16369
  var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
@@ -16381,31 +16418,43 @@ var require_lib2 = __commonJS({
16381
16418
  return highlighted;
16382
16419
  }
16383
16420
  function shouldHighlight(options) {
16384
- return _chalk.default.level > 0 || options.forceColor;
16421
+ return colors.isColorSupported || options.forceColor;
16385
16422
  }
16386
- var chalkWithForcedColor = void 0;
16387
- function getChalk(forceColor) {
16423
+ var pcWithForcedColor = void 0;
16424
+ function getColors(forceColor) {
16388
16425
  if (forceColor) {
16389
- var _chalkWithForcedColor;
16390
- (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
16391
- enabled: true,
16392
- level: 1
16393
- });
16394
- return chalkWithForcedColor;
16426
+ var _pcWithForcedColor;
16427
+ (_pcWithForcedColor = pcWithForcedColor) != null ? _pcWithForcedColor : pcWithForcedColor = (0, _picocolors.createColors)(true);
16428
+ return pcWithForcedColor;
16395
16429
  }
16396
- return _chalk.default;
16397
- }
16398
- {
16399
- exports.getChalk = (options) => getChalk(options.forceColor);
16430
+ return colors;
16400
16431
  }
16401
16432
  function highlight(code, options = {}) {
16402
16433
  if (code !== "" && shouldHighlight(options)) {
16403
- const defs = getDefs(getChalk(options.forceColor));
16434
+ const defs = getDefs(getColors(options.forceColor));
16404
16435
  return highlightTokens(defs, code);
16405
16436
  } else {
16406
16437
  return code;
16407
16438
  }
16408
16439
  }
16440
+ {
16441
+ let chalk2, chalkWithForcedColor;
16442
+ exports.getChalk = ({
16443
+ forceColor
16444
+ }) => {
16445
+ var _chalk;
16446
+ (_chalk = chalk2) != null ? _chalk : chalk2 = require_chalk();
16447
+ if (forceColor) {
16448
+ var _chalkWithForcedColor;
16449
+ (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new chalk2.constructor({
16450
+ enabled: true,
16451
+ level: 1
16452
+ });
16453
+ return chalkWithForcedColor;
16454
+ }
16455
+ return chalk2;
16456
+ };
16457
+ }
16409
16458
  }
16410
16459
  });
16411
16460
 
@@ -16419,63 +16468,48 @@ var require_lib3 = __commonJS({
16419
16468
  exports.codeFrameColumns = codeFrameColumns;
16420
16469
  exports.default = _default;
16421
16470
  var _highlight = require_lib2();
16422
- var _chalk = _interopRequireWildcard(require_chalk(), true);
16423
- function _getRequireWildcardCache(nodeInterop) {
16424
- if (typeof WeakMap !== "function")
16471
+ var _picocolors = _interopRequireWildcard(require_picocolors(), true);
16472
+ function _getRequireWildcardCache(e) {
16473
+ if ("function" != typeof WeakMap)
16425
16474
  return null;
16426
- var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
16427
- var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
16428
- return (_getRequireWildcardCache = function(nodeInterop2) {
16429
- return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
16430
- })(nodeInterop);
16431
- }
16432
- function _interopRequireWildcard(obj, nodeInterop) {
16433
- if (!nodeInterop && obj && obj.__esModule) {
16434
- return obj;
16435
- }
16436
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
16437
- return { default: obj };
16438
- }
16439
- var cache2 = _getRequireWildcardCache(nodeInterop);
16440
- if (cache2 && cache2.has(obj)) {
16441
- return cache2.get(obj);
16442
- }
16443
- var newObj = {};
16444
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
16445
- for (var key in obj) {
16446
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
16447
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
16448
- if (desc && (desc.get || desc.set)) {
16449
- Object.defineProperty(newObj, key, desc);
16450
- } else {
16451
- newObj[key] = obj[key];
16452
- }
16453
- }
16454
- }
16455
- newObj.default = obj;
16456
- if (cache2) {
16457
- cache2.set(obj, newObj);
16458
- }
16459
- return newObj;
16475
+ var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap();
16476
+ return (_getRequireWildcardCache = function(e2) {
16477
+ return e2 ? t : r;
16478
+ })(e);
16460
16479
  }
16461
- var chalkWithForcedColor = void 0;
16462
- function getChalk(forceColor) {
16480
+ function _interopRequireWildcard(e, r) {
16481
+ if (!r && e && e.__esModule)
16482
+ return e;
16483
+ if (null === e || "object" != typeof e && "function" != typeof e)
16484
+ return { default: e };
16485
+ var t = _getRequireWildcardCache(r);
16486
+ if (t && t.has(e))
16487
+ return t.get(e);
16488
+ var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
16489
+ for (var u in e)
16490
+ if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
16491
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
16492
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
16493
+ }
16494
+ return n.default = e, t && t.set(e, n), n;
16495
+ }
16496
+ var colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default;
16497
+ var compose = (f, g) => (v) => f(g(v));
16498
+ var pcWithForcedColor = void 0;
16499
+ function getColors(forceColor) {
16463
16500
  if (forceColor) {
16464
- var _chalkWithForcedColor;
16465
- (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
16466
- enabled: true,
16467
- level: 1
16468
- });
16469
- return chalkWithForcedColor;
16501
+ var _pcWithForcedColor;
16502
+ (_pcWithForcedColor = pcWithForcedColor) != null ? _pcWithForcedColor : pcWithForcedColor = (0, _picocolors.createColors)(true);
16503
+ return pcWithForcedColor;
16470
16504
  }
16471
- return _chalk.default;
16505
+ return colors;
16472
16506
  }
16473
16507
  var deprecationWarningShown = false;
16474
- function getDefs(chalk2) {
16508
+ function getDefs(colors2) {
16475
16509
  return {
16476
- gutter: chalk2.grey,
16477
- marker: chalk2.red.bold,
16478
- message: chalk2.red.bold
16510
+ gutter: colors2.gray,
16511
+ marker: compose(colors2.red, colors2.bold),
16512
+ message: compose(colors2.red, colors2.bold)
16479
16513
  };
16480
16514
  }
16481
16515
  var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
@@ -16537,10 +16571,10 @@ var require_lib3 = __commonJS({
16537
16571
  }
16538
16572
  function codeFrameColumns(rawLines, loc, opts = {}) {
16539
16573
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
16540
- const chalk2 = getChalk(opts.forceColor);
16541
- const defs = getDefs(chalk2);
16542
- const maybeHighlight = (chalkFn, string) => {
16543
- return highlighted ? chalkFn(string) : string;
16574
+ const colors2 = getColors(opts.forceColor);
16575
+ const defs = getDefs(colors2);
16576
+ const maybeHighlight = (fmt, string) => {
16577
+ return highlighted ? fmt(string) : string;
16544
16578
  };
16545
16579
  const lines = rawLines.split(NEWLINE);
16546
16580
  const {
@@ -16577,7 +16611,7 @@ var require_lib3 = __commonJS({
16577
16611
  ${frame}`;
16578
16612
  }
16579
16613
  if (highlighted) {
16580
- return chalk2.reset(frame);
16614
+ return colors2.reset(frame);
16581
16615
  } else {
16582
16616
  return frame;
16583
16617
  }
@@ -19522,6 +19556,2239 @@ var require_js_yaml = __commonJS({
19522
19556
  }
19523
19557
  });
19524
19558
 
19559
+ // node_modules/source-map/lib/base64.js
19560
+ var require_base64 = __commonJS({
19561
+ "node_modules/source-map/lib/base64.js"(exports) {
19562
+ var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
19563
+ exports.encode = function(number) {
19564
+ if (0 <= number && number < intToCharMap.length) {
19565
+ return intToCharMap[number];
19566
+ }
19567
+ throw new TypeError("Must be between 0 and 63: " + number);
19568
+ };
19569
+ exports.decode = function(charCode) {
19570
+ var bigA = 65;
19571
+ var bigZ = 90;
19572
+ var littleA = 97;
19573
+ var littleZ = 122;
19574
+ var zero = 48;
19575
+ var nine = 57;
19576
+ var plus = 43;
19577
+ var slash = 47;
19578
+ var littleOffset = 26;
19579
+ var numberOffset = 52;
19580
+ if (bigA <= charCode && charCode <= bigZ) {
19581
+ return charCode - bigA;
19582
+ }
19583
+ if (littleA <= charCode && charCode <= littleZ) {
19584
+ return charCode - littleA + littleOffset;
19585
+ }
19586
+ if (zero <= charCode && charCode <= nine) {
19587
+ return charCode - zero + numberOffset;
19588
+ }
19589
+ if (charCode == plus) {
19590
+ return 62;
19591
+ }
19592
+ if (charCode == slash) {
19593
+ return 63;
19594
+ }
19595
+ return -1;
19596
+ };
19597
+ }
19598
+ });
19599
+
19600
+ // node_modules/source-map/lib/base64-vlq.js
19601
+ var require_base64_vlq = __commonJS({
19602
+ "node_modules/source-map/lib/base64-vlq.js"(exports) {
19603
+ var base64 = require_base64();
19604
+ var VLQ_BASE_SHIFT = 5;
19605
+ var VLQ_BASE = 1 << VLQ_BASE_SHIFT;
19606
+ var VLQ_BASE_MASK = VLQ_BASE - 1;
19607
+ var VLQ_CONTINUATION_BIT = VLQ_BASE;
19608
+ function toVLQSigned(aValue) {
19609
+ return aValue < 0 ? (-aValue << 1) + 1 : (aValue << 1) + 0;
19610
+ }
19611
+ function fromVLQSigned(aValue) {
19612
+ var isNegative = (aValue & 1) === 1;
19613
+ var shifted = aValue >> 1;
19614
+ return isNegative ? -shifted : shifted;
19615
+ }
19616
+ exports.encode = function base64VLQ_encode(aValue) {
19617
+ var encoded = "";
19618
+ var digit;
19619
+ var vlq = toVLQSigned(aValue);
19620
+ do {
19621
+ digit = vlq & VLQ_BASE_MASK;
19622
+ vlq >>>= VLQ_BASE_SHIFT;
19623
+ if (vlq > 0) {
19624
+ digit |= VLQ_CONTINUATION_BIT;
19625
+ }
19626
+ encoded += base64.encode(digit);
19627
+ } while (vlq > 0);
19628
+ return encoded;
19629
+ };
19630
+ exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {
19631
+ var strLen = aStr.length;
19632
+ var result = 0;
19633
+ var shift = 0;
19634
+ var continuation, digit;
19635
+ do {
19636
+ if (aIndex >= strLen) {
19637
+ throw new Error("Expected more digits in base 64 VLQ value.");
19638
+ }
19639
+ digit = base64.decode(aStr.charCodeAt(aIndex++));
19640
+ if (digit === -1) {
19641
+ throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1));
19642
+ }
19643
+ continuation = !!(digit & VLQ_CONTINUATION_BIT);
19644
+ digit &= VLQ_BASE_MASK;
19645
+ result = result + (digit << shift);
19646
+ shift += VLQ_BASE_SHIFT;
19647
+ } while (continuation);
19648
+ aOutParam.value = fromVLQSigned(result);
19649
+ aOutParam.rest = aIndex;
19650
+ };
19651
+ }
19652
+ });
19653
+
19654
+ // node_modules/source-map/lib/util.js
19655
+ var require_util2 = __commonJS({
19656
+ "node_modules/source-map/lib/util.js"(exports) {
19657
+ function getArg(aArgs, aName, aDefaultValue) {
19658
+ if (aName in aArgs) {
19659
+ return aArgs[aName];
19660
+ } else if (arguments.length === 3) {
19661
+ return aDefaultValue;
19662
+ } else {
19663
+ throw new Error('"' + aName + '" is a required argument.');
19664
+ }
19665
+ }
19666
+ exports.getArg = getArg;
19667
+ var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
19668
+ var dataUrlRegexp = /^data:.+\,.+$/;
19669
+ function urlParse(aUrl) {
19670
+ var match2 = aUrl.match(urlRegexp);
19671
+ if (!match2) {
19672
+ return null;
19673
+ }
19674
+ return {
19675
+ scheme: match2[1],
19676
+ auth: match2[2],
19677
+ host: match2[3],
19678
+ port: match2[4],
19679
+ path: match2[5]
19680
+ };
19681
+ }
19682
+ exports.urlParse = urlParse;
19683
+ function urlGenerate(aParsedUrl) {
19684
+ var url = "";
19685
+ if (aParsedUrl.scheme) {
19686
+ url += aParsedUrl.scheme + ":";
19687
+ }
19688
+ url += "//";
19689
+ if (aParsedUrl.auth) {
19690
+ url += aParsedUrl.auth + "@";
19691
+ }
19692
+ if (aParsedUrl.host) {
19693
+ url += aParsedUrl.host;
19694
+ }
19695
+ if (aParsedUrl.port) {
19696
+ url += ":" + aParsedUrl.port;
19697
+ }
19698
+ if (aParsedUrl.path) {
19699
+ url += aParsedUrl.path;
19700
+ }
19701
+ return url;
19702
+ }
19703
+ exports.urlGenerate = urlGenerate;
19704
+ function normalize2(aPath) {
19705
+ var path16 = aPath;
19706
+ var url = urlParse(aPath);
19707
+ if (url) {
19708
+ if (!url.path) {
19709
+ return aPath;
19710
+ }
19711
+ path16 = url.path;
19712
+ }
19713
+ var isAbsolute = exports.isAbsolute(path16);
19714
+ var parts = path16.split(/\/+/);
19715
+ for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
19716
+ part = parts[i];
19717
+ if (part === ".") {
19718
+ parts.splice(i, 1);
19719
+ } else if (part === "..") {
19720
+ up++;
19721
+ } else if (up > 0) {
19722
+ if (part === "") {
19723
+ parts.splice(i + 1, up);
19724
+ up = 0;
19725
+ } else {
19726
+ parts.splice(i, 2);
19727
+ up--;
19728
+ }
19729
+ }
19730
+ }
19731
+ path16 = parts.join("/");
19732
+ if (path16 === "") {
19733
+ path16 = isAbsolute ? "/" : ".";
19734
+ }
19735
+ if (url) {
19736
+ url.path = path16;
19737
+ return urlGenerate(url);
19738
+ }
19739
+ return path16;
19740
+ }
19741
+ exports.normalize = normalize2;
19742
+ function join(aRoot, aPath) {
19743
+ if (aRoot === "") {
19744
+ aRoot = ".";
19745
+ }
19746
+ if (aPath === "") {
19747
+ aPath = ".";
19748
+ }
19749
+ var aPathUrl = urlParse(aPath);
19750
+ var aRootUrl = urlParse(aRoot);
19751
+ if (aRootUrl) {
19752
+ aRoot = aRootUrl.path || "/";
19753
+ }
19754
+ if (aPathUrl && !aPathUrl.scheme) {
19755
+ if (aRootUrl) {
19756
+ aPathUrl.scheme = aRootUrl.scheme;
19757
+ }
19758
+ return urlGenerate(aPathUrl);
19759
+ }
19760
+ if (aPathUrl || aPath.match(dataUrlRegexp)) {
19761
+ return aPath;
19762
+ }
19763
+ if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {
19764
+ aRootUrl.host = aPath;
19765
+ return urlGenerate(aRootUrl);
19766
+ }
19767
+ var joined = aPath.charAt(0) === "/" ? aPath : normalize2(aRoot.replace(/\/+$/, "") + "/" + aPath);
19768
+ if (aRootUrl) {
19769
+ aRootUrl.path = joined;
19770
+ return urlGenerate(aRootUrl);
19771
+ }
19772
+ return joined;
19773
+ }
19774
+ exports.join = join;
19775
+ exports.isAbsolute = function(aPath) {
19776
+ return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
19777
+ };
19778
+ function relative2(aRoot, aPath) {
19779
+ if (aRoot === "") {
19780
+ aRoot = ".";
19781
+ }
19782
+ aRoot = aRoot.replace(/\/$/, "");
19783
+ var level = 0;
19784
+ while (aPath.indexOf(aRoot + "/") !== 0) {
19785
+ var index = aRoot.lastIndexOf("/");
19786
+ if (index < 0) {
19787
+ return aPath;
19788
+ }
19789
+ aRoot = aRoot.slice(0, index);
19790
+ if (aRoot.match(/^([^\/]+:\/)?\/*$/)) {
19791
+ return aPath;
19792
+ }
19793
+ ++level;
19794
+ }
19795
+ return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
19796
+ }
19797
+ exports.relative = relative2;
19798
+ var supportsNullProto = function() {
19799
+ var obj = /* @__PURE__ */ Object.create(null);
19800
+ return !("__proto__" in obj);
19801
+ }();
19802
+ function identity2(s) {
19803
+ return s;
19804
+ }
19805
+ function toSetString(aStr) {
19806
+ if (isProtoString(aStr)) {
19807
+ return "$" + aStr;
19808
+ }
19809
+ return aStr;
19810
+ }
19811
+ exports.toSetString = supportsNullProto ? identity2 : toSetString;
19812
+ function fromSetString(aStr) {
19813
+ if (isProtoString(aStr)) {
19814
+ return aStr.slice(1);
19815
+ }
19816
+ return aStr;
19817
+ }
19818
+ exports.fromSetString = supportsNullProto ? identity2 : fromSetString;
19819
+ function isProtoString(s) {
19820
+ if (!s) {
19821
+ return false;
19822
+ }
19823
+ var length = s.length;
19824
+ if (length < 9) {
19825
+ return false;
19826
+ }
19827
+ if (s.charCodeAt(length - 1) !== 95 || s.charCodeAt(length - 2) !== 95 || s.charCodeAt(length - 3) !== 111 || s.charCodeAt(length - 4) !== 116 || s.charCodeAt(length - 5) !== 111 || s.charCodeAt(length - 6) !== 114 || s.charCodeAt(length - 7) !== 112 || s.charCodeAt(length - 8) !== 95 || s.charCodeAt(length - 9) !== 95) {
19828
+ return false;
19829
+ }
19830
+ for (var i = length - 10; i >= 0; i--) {
19831
+ if (s.charCodeAt(i) !== 36) {
19832
+ return false;
19833
+ }
19834
+ }
19835
+ return true;
19836
+ }
19837
+ function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {
19838
+ var cmp = strcmp(mappingA.source, mappingB.source);
19839
+ if (cmp !== 0) {
19840
+ return cmp;
19841
+ }
19842
+ cmp = mappingA.originalLine - mappingB.originalLine;
19843
+ if (cmp !== 0) {
19844
+ return cmp;
19845
+ }
19846
+ cmp = mappingA.originalColumn - mappingB.originalColumn;
19847
+ if (cmp !== 0 || onlyCompareOriginal) {
19848
+ return cmp;
19849
+ }
19850
+ cmp = mappingA.generatedColumn - mappingB.generatedColumn;
19851
+ if (cmp !== 0) {
19852
+ return cmp;
19853
+ }
19854
+ cmp = mappingA.generatedLine - mappingB.generatedLine;
19855
+ if (cmp !== 0) {
19856
+ return cmp;
19857
+ }
19858
+ return strcmp(mappingA.name, mappingB.name);
19859
+ }
19860
+ exports.compareByOriginalPositions = compareByOriginalPositions;
19861
+ function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {
19862
+ var cmp = mappingA.generatedLine - mappingB.generatedLine;
19863
+ if (cmp !== 0) {
19864
+ return cmp;
19865
+ }
19866
+ cmp = mappingA.generatedColumn - mappingB.generatedColumn;
19867
+ if (cmp !== 0 || onlyCompareGenerated) {
19868
+ return cmp;
19869
+ }
19870
+ cmp = strcmp(mappingA.source, mappingB.source);
19871
+ if (cmp !== 0) {
19872
+ return cmp;
19873
+ }
19874
+ cmp = mappingA.originalLine - mappingB.originalLine;
19875
+ if (cmp !== 0) {
19876
+ return cmp;
19877
+ }
19878
+ cmp = mappingA.originalColumn - mappingB.originalColumn;
19879
+ if (cmp !== 0) {
19880
+ return cmp;
19881
+ }
19882
+ return strcmp(mappingA.name, mappingB.name);
19883
+ }
19884
+ exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
19885
+ function strcmp(aStr1, aStr2) {
19886
+ if (aStr1 === aStr2) {
19887
+ return 0;
19888
+ }
19889
+ if (aStr1 === null) {
19890
+ return 1;
19891
+ }
19892
+ if (aStr2 === null) {
19893
+ return -1;
19894
+ }
19895
+ if (aStr1 > aStr2) {
19896
+ return 1;
19897
+ }
19898
+ return -1;
19899
+ }
19900
+ function compareByGeneratedPositionsInflated(mappingA, mappingB) {
19901
+ var cmp = mappingA.generatedLine - mappingB.generatedLine;
19902
+ if (cmp !== 0) {
19903
+ return cmp;
19904
+ }
19905
+ cmp = mappingA.generatedColumn - mappingB.generatedColumn;
19906
+ if (cmp !== 0) {
19907
+ return cmp;
19908
+ }
19909
+ cmp = strcmp(mappingA.source, mappingB.source);
19910
+ if (cmp !== 0) {
19911
+ return cmp;
19912
+ }
19913
+ cmp = mappingA.originalLine - mappingB.originalLine;
19914
+ if (cmp !== 0) {
19915
+ return cmp;
19916
+ }
19917
+ cmp = mappingA.originalColumn - mappingB.originalColumn;
19918
+ if (cmp !== 0) {
19919
+ return cmp;
19920
+ }
19921
+ return strcmp(mappingA.name, mappingB.name);
19922
+ }
19923
+ exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
19924
+ function parseSourceMapInput(str) {
19925
+ return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ""));
19926
+ }
19927
+ exports.parseSourceMapInput = parseSourceMapInput;
19928
+ function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {
19929
+ sourceURL = sourceURL || "";
19930
+ if (sourceRoot) {
19931
+ if (sourceRoot[sourceRoot.length - 1] !== "/" && sourceURL[0] !== "/") {
19932
+ sourceRoot += "/";
19933
+ }
19934
+ sourceURL = sourceRoot + sourceURL;
19935
+ }
19936
+ if (sourceMapURL) {
19937
+ var parsed = urlParse(sourceMapURL);
19938
+ if (!parsed) {
19939
+ throw new Error("sourceMapURL could not be parsed");
19940
+ }
19941
+ if (parsed.path) {
19942
+ var index = parsed.path.lastIndexOf("/");
19943
+ if (index >= 0) {
19944
+ parsed.path = parsed.path.substring(0, index + 1);
19945
+ }
19946
+ }
19947
+ sourceURL = join(urlGenerate(parsed), sourceURL);
19948
+ }
19949
+ return normalize2(sourceURL);
19950
+ }
19951
+ exports.computeSourceURL = computeSourceURL;
19952
+ }
19953
+ });
19954
+
19955
+ // node_modules/source-map/lib/array-set.js
19956
+ var require_array_set = __commonJS({
19957
+ "node_modules/source-map/lib/array-set.js"(exports) {
19958
+ var util3 = require_util2();
19959
+ var has = Object.prototype.hasOwnProperty;
19960
+ var hasNativeMap = typeof Map !== "undefined";
19961
+ function ArraySet() {
19962
+ this._array = [];
19963
+ this._set = hasNativeMap ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null);
19964
+ }
19965
+ ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {
19966
+ var set = new ArraySet();
19967
+ for (var i = 0, len = aArray.length; i < len; i++) {
19968
+ set.add(aArray[i], aAllowDuplicates);
19969
+ }
19970
+ return set;
19971
+ };
19972
+ ArraySet.prototype.size = function ArraySet_size() {
19973
+ return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;
19974
+ };
19975
+ ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {
19976
+ var sStr = hasNativeMap ? aStr : util3.toSetString(aStr);
19977
+ var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);
19978
+ var idx = this._array.length;
19979
+ if (!isDuplicate || aAllowDuplicates) {
19980
+ this._array.push(aStr);
19981
+ }
19982
+ if (!isDuplicate) {
19983
+ if (hasNativeMap) {
19984
+ this._set.set(aStr, idx);
19985
+ } else {
19986
+ this._set[sStr] = idx;
19987
+ }
19988
+ }
19989
+ };
19990
+ ArraySet.prototype.has = function ArraySet_has(aStr) {
19991
+ if (hasNativeMap) {
19992
+ return this._set.has(aStr);
19993
+ } else {
19994
+ var sStr = util3.toSetString(aStr);
19995
+ return has.call(this._set, sStr);
19996
+ }
19997
+ };
19998
+ ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {
19999
+ if (hasNativeMap) {
20000
+ var idx = this._set.get(aStr);
20001
+ if (idx >= 0) {
20002
+ return idx;
20003
+ }
20004
+ } else {
20005
+ var sStr = util3.toSetString(aStr);
20006
+ if (has.call(this._set, sStr)) {
20007
+ return this._set[sStr];
20008
+ }
20009
+ }
20010
+ throw new Error('"' + aStr + '" is not in the set.');
20011
+ };
20012
+ ArraySet.prototype.at = function ArraySet_at(aIdx) {
20013
+ if (aIdx >= 0 && aIdx < this._array.length) {
20014
+ return this._array[aIdx];
20015
+ }
20016
+ throw new Error("No element indexed by " + aIdx);
20017
+ };
20018
+ ArraySet.prototype.toArray = function ArraySet_toArray() {
20019
+ return this._array.slice();
20020
+ };
20021
+ exports.ArraySet = ArraySet;
20022
+ }
20023
+ });
20024
+
20025
+ // node_modules/source-map/lib/mapping-list.js
20026
+ var require_mapping_list = __commonJS({
20027
+ "node_modules/source-map/lib/mapping-list.js"(exports) {
20028
+ var util3 = require_util2();
20029
+ function generatedPositionAfter(mappingA, mappingB) {
20030
+ var lineA = mappingA.generatedLine;
20031
+ var lineB = mappingB.generatedLine;
20032
+ var columnA = mappingA.generatedColumn;
20033
+ var columnB = mappingB.generatedColumn;
20034
+ return lineB > lineA || lineB == lineA && columnB >= columnA || util3.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;
20035
+ }
20036
+ function MappingList() {
20037
+ this._array = [];
20038
+ this._sorted = true;
20039
+ this._last = { generatedLine: -1, generatedColumn: 0 };
20040
+ }
20041
+ MappingList.prototype.unsortedForEach = function MappingList_forEach(aCallback, aThisArg) {
20042
+ this._array.forEach(aCallback, aThisArg);
20043
+ };
20044
+ MappingList.prototype.add = function MappingList_add(aMapping) {
20045
+ if (generatedPositionAfter(this._last, aMapping)) {
20046
+ this._last = aMapping;
20047
+ this._array.push(aMapping);
20048
+ } else {
20049
+ this._sorted = false;
20050
+ this._array.push(aMapping);
20051
+ }
20052
+ };
20053
+ MappingList.prototype.toArray = function MappingList_toArray() {
20054
+ if (!this._sorted) {
20055
+ this._array.sort(util3.compareByGeneratedPositionsInflated);
20056
+ this._sorted = true;
20057
+ }
20058
+ return this._array;
20059
+ };
20060
+ exports.MappingList = MappingList;
20061
+ }
20062
+ });
20063
+
20064
+ // node_modules/source-map/lib/source-map-generator.js
20065
+ var require_source_map_generator = __commonJS({
20066
+ "node_modules/source-map/lib/source-map-generator.js"(exports) {
20067
+ var base64VLQ = require_base64_vlq();
20068
+ var util3 = require_util2();
20069
+ var ArraySet = require_array_set().ArraySet;
20070
+ var MappingList = require_mapping_list().MappingList;
20071
+ function SourceMapGenerator(aArgs) {
20072
+ if (!aArgs) {
20073
+ aArgs = {};
20074
+ }
20075
+ this._file = util3.getArg(aArgs, "file", null);
20076
+ this._sourceRoot = util3.getArg(aArgs, "sourceRoot", null);
20077
+ this._skipValidation = util3.getArg(aArgs, "skipValidation", false);
20078
+ this._sources = new ArraySet();
20079
+ this._names = new ArraySet();
20080
+ this._mappings = new MappingList();
20081
+ this._sourcesContents = null;
20082
+ }
20083
+ SourceMapGenerator.prototype._version = 3;
20084
+ SourceMapGenerator.fromSourceMap = function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {
20085
+ var sourceRoot = aSourceMapConsumer.sourceRoot;
20086
+ var generator = new SourceMapGenerator({
20087
+ file: aSourceMapConsumer.file,
20088
+ sourceRoot
20089
+ });
20090
+ aSourceMapConsumer.eachMapping(function(mapping) {
20091
+ var newMapping = {
20092
+ generated: {
20093
+ line: mapping.generatedLine,
20094
+ column: mapping.generatedColumn
20095
+ }
20096
+ };
20097
+ if (mapping.source != null) {
20098
+ newMapping.source = mapping.source;
20099
+ if (sourceRoot != null) {
20100
+ newMapping.source = util3.relative(sourceRoot, newMapping.source);
20101
+ }
20102
+ newMapping.original = {
20103
+ line: mapping.originalLine,
20104
+ column: mapping.originalColumn
20105
+ };
20106
+ if (mapping.name != null) {
20107
+ newMapping.name = mapping.name;
20108
+ }
20109
+ }
20110
+ generator.addMapping(newMapping);
20111
+ });
20112
+ aSourceMapConsumer.sources.forEach(function(sourceFile) {
20113
+ var sourceRelative = sourceFile;
20114
+ if (sourceRoot !== null) {
20115
+ sourceRelative = util3.relative(sourceRoot, sourceFile);
20116
+ }
20117
+ if (!generator._sources.has(sourceRelative)) {
20118
+ generator._sources.add(sourceRelative);
20119
+ }
20120
+ var content = aSourceMapConsumer.sourceContentFor(sourceFile);
20121
+ if (content != null) {
20122
+ generator.setSourceContent(sourceFile, content);
20123
+ }
20124
+ });
20125
+ return generator;
20126
+ };
20127
+ SourceMapGenerator.prototype.addMapping = function SourceMapGenerator_addMapping(aArgs) {
20128
+ var generated = util3.getArg(aArgs, "generated");
20129
+ var original = util3.getArg(aArgs, "original", null);
20130
+ var source = util3.getArg(aArgs, "source", null);
20131
+ var name = util3.getArg(aArgs, "name", null);
20132
+ if (!this._skipValidation) {
20133
+ this._validateMapping(generated, original, source, name);
20134
+ }
20135
+ if (source != null) {
20136
+ source = String(source);
20137
+ if (!this._sources.has(source)) {
20138
+ this._sources.add(source);
20139
+ }
20140
+ }
20141
+ if (name != null) {
20142
+ name = String(name);
20143
+ if (!this._names.has(name)) {
20144
+ this._names.add(name);
20145
+ }
20146
+ }
20147
+ this._mappings.add({
20148
+ generatedLine: generated.line,
20149
+ generatedColumn: generated.column,
20150
+ originalLine: original != null && original.line,
20151
+ originalColumn: original != null && original.column,
20152
+ source,
20153
+ name
20154
+ });
20155
+ };
20156
+ SourceMapGenerator.prototype.setSourceContent = function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {
20157
+ var source = aSourceFile;
20158
+ if (this._sourceRoot != null) {
20159
+ source = util3.relative(this._sourceRoot, source);
20160
+ }
20161
+ if (aSourceContent != null) {
20162
+ if (!this._sourcesContents) {
20163
+ this._sourcesContents = /* @__PURE__ */ Object.create(null);
20164
+ }
20165
+ this._sourcesContents[util3.toSetString(source)] = aSourceContent;
20166
+ } else if (this._sourcesContents) {
20167
+ delete this._sourcesContents[util3.toSetString(source)];
20168
+ if (Object.keys(this._sourcesContents).length === 0) {
20169
+ this._sourcesContents = null;
20170
+ }
20171
+ }
20172
+ };
20173
+ SourceMapGenerator.prototype.applySourceMap = function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {
20174
+ var sourceFile = aSourceFile;
20175
+ if (aSourceFile == null) {
20176
+ if (aSourceMapConsumer.file == null) {
20177
+ throw new Error(
20178
+ `SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`
20179
+ );
20180
+ }
20181
+ sourceFile = aSourceMapConsumer.file;
20182
+ }
20183
+ var sourceRoot = this._sourceRoot;
20184
+ if (sourceRoot != null) {
20185
+ sourceFile = util3.relative(sourceRoot, sourceFile);
20186
+ }
20187
+ var newSources = new ArraySet();
20188
+ var newNames = new ArraySet();
20189
+ this._mappings.unsortedForEach(function(mapping) {
20190
+ if (mapping.source === sourceFile && mapping.originalLine != null) {
20191
+ var original = aSourceMapConsumer.originalPositionFor({
20192
+ line: mapping.originalLine,
20193
+ column: mapping.originalColumn
20194
+ });
20195
+ if (original.source != null) {
20196
+ mapping.source = original.source;
20197
+ if (aSourceMapPath != null) {
20198
+ mapping.source = util3.join(aSourceMapPath, mapping.source);
20199
+ }
20200
+ if (sourceRoot != null) {
20201
+ mapping.source = util3.relative(sourceRoot, mapping.source);
20202
+ }
20203
+ mapping.originalLine = original.line;
20204
+ mapping.originalColumn = original.column;
20205
+ if (original.name != null) {
20206
+ mapping.name = original.name;
20207
+ }
20208
+ }
20209
+ }
20210
+ var source = mapping.source;
20211
+ if (source != null && !newSources.has(source)) {
20212
+ newSources.add(source);
20213
+ }
20214
+ var name = mapping.name;
20215
+ if (name != null && !newNames.has(name)) {
20216
+ newNames.add(name);
20217
+ }
20218
+ }, this);
20219
+ this._sources = newSources;
20220
+ this._names = newNames;
20221
+ aSourceMapConsumer.sources.forEach(function(sourceFile2) {
20222
+ var content = aSourceMapConsumer.sourceContentFor(sourceFile2);
20223
+ if (content != null) {
20224
+ if (aSourceMapPath != null) {
20225
+ sourceFile2 = util3.join(aSourceMapPath, sourceFile2);
20226
+ }
20227
+ if (sourceRoot != null) {
20228
+ sourceFile2 = util3.relative(sourceRoot, sourceFile2);
20229
+ }
20230
+ this.setSourceContent(sourceFile2, content);
20231
+ }
20232
+ }, this);
20233
+ };
20234
+ SourceMapGenerator.prototype._validateMapping = function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, aName) {
20235
+ if (aOriginal && typeof aOriginal.line !== "number" && typeof aOriginal.column !== "number") {
20236
+ throw new Error(
20237
+ "original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values."
20238
+ );
20239
+ }
20240
+ if (aGenerated && "line" in aGenerated && "column" in aGenerated && aGenerated.line > 0 && aGenerated.column >= 0 && !aOriginal && !aSource && !aName) {
20241
+ return;
20242
+ } else if (aGenerated && "line" in aGenerated && "column" in aGenerated && aOriginal && "line" in aOriginal && "column" in aOriginal && aGenerated.line > 0 && aGenerated.column >= 0 && aOriginal.line > 0 && aOriginal.column >= 0 && aSource) {
20243
+ return;
20244
+ } else {
20245
+ throw new Error("Invalid mapping: " + JSON.stringify({
20246
+ generated: aGenerated,
20247
+ source: aSource,
20248
+ original: aOriginal,
20249
+ name: aName
20250
+ }));
20251
+ }
20252
+ };
20253
+ SourceMapGenerator.prototype._serializeMappings = function SourceMapGenerator_serializeMappings() {
20254
+ var previousGeneratedColumn = 0;
20255
+ var previousGeneratedLine = 1;
20256
+ var previousOriginalColumn = 0;
20257
+ var previousOriginalLine = 0;
20258
+ var previousName = 0;
20259
+ var previousSource = 0;
20260
+ var result = "";
20261
+ var next;
20262
+ var mapping;
20263
+ var nameIdx;
20264
+ var sourceIdx;
20265
+ var mappings = this._mappings.toArray();
20266
+ for (var i = 0, len = mappings.length; i < len; i++) {
20267
+ mapping = mappings[i];
20268
+ next = "";
20269
+ if (mapping.generatedLine !== previousGeneratedLine) {
20270
+ previousGeneratedColumn = 0;
20271
+ while (mapping.generatedLine !== previousGeneratedLine) {
20272
+ next += ";";
20273
+ previousGeneratedLine++;
20274
+ }
20275
+ } else {
20276
+ if (i > 0) {
20277
+ if (!util3.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {
20278
+ continue;
20279
+ }
20280
+ next += ",";
20281
+ }
20282
+ }
20283
+ next += base64VLQ.encode(mapping.generatedColumn - previousGeneratedColumn);
20284
+ previousGeneratedColumn = mapping.generatedColumn;
20285
+ if (mapping.source != null) {
20286
+ sourceIdx = this._sources.indexOf(mapping.source);
20287
+ next += base64VLQ.encode(sourceIdx - previousSource);
20288
+ previousSource = sourceIdx;
20289
+ next += base64VLQ.encode(mapping.originalLine - 1 - previousOriginalLine);
20290
+ previousOriginalLine = mapping.originalLine - 1;
20291
+ next += base64VLQ.encode(mapping.originalColumn - previousOriginalColumn);
20292
+ previousOriginalColumn = mapping.originalColumn;
20293
+ if (mapping.name != null) {
20294
+ nameIdx = this._names.indexOf(mapping.name);
20295
+ next += base64VLQ.encode(nameIdx - previousName);
20296
+ previousName = nameIdx;
20297
+ }
20298
+ }
20299
+ result += next;
20300
+ }
20301
+ return result;
20302
+ };
20303
+ SourceMapGenerator.prototype._generateSourcesContent = function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {
20304
+ return aSources.map(function(source) {
20305
+ if (!this._sourcesContents) {
20306
+ return null;
20307
+ }
20308
+ if (aSourceRoot != null) {
20309
+ source = util3.relative(aSourceRoot, source);
20310
+ }
20311
+ var key = util3.toSetString(source);
20312
+ return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) ? this._sourcesContents[key] : null;
20313
+ }, this);
20314
+ };
20315
+ SourceMapGenerator.prototype.toJSON = function SourceMapGenerator_toJSON() {
20316
+ var map = {
20317
+ version: this._version,
20318
+ sources: this._sources.toArray(),
20319
+ names: this._names.toArray(),
20320
+ mappings: this._serializeMappings()
20321
+ };
20322
+ if (this._file != null) {
20323
+ map.file = this._file;
20324
+ }
20325
+ if (this._sourceRoot != null) {
20326
+ map.sourceRoot = this._sourceRoot;
20327
+ }
20328
+ if (this._sourcesContents) {
20329
+ map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);
20330
+ }
20331
+ return map;
20332
+ };
20333
+ SourceMapGenerator.prototype.toString = function SourceMapGenerator_toString() {
20334
+ return JSON.stringify(this.toJSON());
20335
+ };
20336
+ exports.SourceMapGenerator = SourceMapGenerator;
20337
+ }
20338
+ });
20339
+
20340
+ // node_modules/source-map/lib/binary-search.js
20341
+ var require_binary_search = __commonJS({
20342
+ "node_modules/source-map/lib/binary-search.js"(exports) {
20343
+ exports.GREATEST_LOWER_BOUND = 1;
20344
+ exports.LEAST_UPPER_BOUND = 2;
20345
+ function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
20346
+ var mid = Math.floor((aHigh - aLow) / 2) + aLow;
20347
+ var cmp = aCompare(aNeedle, aHaystack[mid], true);
20348
+ if (cmp === 0) {
20349
+ return mid;
20350
+ } else if (cmp > 0) {
20351
+ if (aHigh - mid > 1) {
20352
+ return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);
20353
+ }
20354
+ if (aBias == exports.LEAST_UPPER_BOUND) {
20355
+ return aHigh < aHaystack.length ? aHigh : -1;
20356
+ } else {
20357
+ return mid;
20358
+ }
20359
+ } else {
20360
+ if (mid - aLow > 1) {
20361
+ return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);
20362
+ }
20363
+ if (aBias == exports.LEAST_UPPER_BOUND) {
20364
+ return mid;
20365
+ } else {
20366
+ return aLow < 0 ? -1 : aLow;
20367
+ }
20368
+ }
20369
+ }
20370
+ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
20371
+ if (aHaystack.length === 0) {
20372
+ return -1;
20373
+ }
20374
+ var index = recursiveSearch(
20375
+ -1,
20376
+ aHaystack.length,
20377
+ aNeedle,
20378
+ aHaystack,
20379
+ aCompare,
20380
+ aBias || exports.GREATEST_LOWER_BOUND
20381
+ );
20382
+ if (index < 0) {
20383
+ return -1;
20384
+ }
20385
+ while (index - 1 >= 0) {
20386
+ if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {
20387
+ break;
20388
+ }
20389
+ --index;
20390
+ }
20391
+ return index;
20392
+ };
20393
+ }
20394
+ });
20395
+
20396
+ // node_modules/source-map/lib/quick-sort.js
20397
+ var require_quick_sort = __commonJS({
20398
+ "node_modules/source-map/lib/quick-sort.js"(exports) {
20399
+ function swap(ary, x, y) {
20400
+ var temp = ary[x];
20401
+ ary[x] = ary[y];
20402
+ ary[y] = temp;
20403
+ }
20404
+ function randomIntInRange(low, high) {
20405
+ return Math.round(low + Math.random() * (high - low));
20406
+ }
20407
+ function doQuickSort(ary, comparator, p, r) {
20408
+ if (p < r) {
20409
+ var pivotIndex = randomIntInRange(p, r);
20410
+ var i = p - 1;
20411
+ swap(ary, pivotIndex, r);
20412
+ var pivot = ary[r];
20413
+ for (var j = p; j < r; j++) {
20414
+ if (comparator(ary[j], pivot) <= 0) {
20415
+ i += 1;
20416
+ swap(ary, i, j);
20417
+ }
20418
+ }
20419
+ swap(ary, i + 1, j);
20420
+ var q = i + 1;
20421
+ doQuickSort(ary, comparator, p, q - 1);
20422
+ doQuickSort(ary, comparator, q + 1, r);
20423
+ }
20424
+ }
20425
+ exports.quickSort = function(ary, comparator) {
20426
+ doQuickSort(ary, comparator, 0, ary.length - 1);
20427
+ };
20428
+ }
20429
+ });
20430
+
20431
+ // node_modules/source-map/lib/source-map-consumer.js
20432
+ var require_source_map_consumer = __commonJS({
20433
+ "node_modules/source-map/lib/source-map-consumer.js"(exports) {
20434
+ var util3 = require_util2();
20435
+ var binarySearch = require_binary_search();
20436
+ var ArraySet = require_array_set().ArraySet;
20437
+ var base64VLQ = require_base64_vlq();
20438
+ var quickSort = require_quick_sort().quickSort;
20439
+ function SourceMapConsumer(aSourceMap, aSourceMapURL) {
20440
+ var sourceMap = aSourceMap;
20441
+ if (typeof aSourceMap === "string") {
20442
+ sourceMap = util3.parseSourceMapInput(aSourceMap);
20443
+ }
20444
+ return sourceMap.sections != null ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL) : new BasicSourceMapConsumer(sourceMap, aSourceMapURL);
20445
+ }
20446
+ SourceMapConsumer.fromSourceMap = function(aSourceMap, aSourceMapURL) {
20447
+ return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL);
20448
+ };
20449
+ SourceMapConsumer.prototype._version = 3;
20450
+ SourceMapConsumer.prototype.__generatedMappings = null;
20451
+ Object.defineProperty(SourceMapConsumer.prototype, "_generatedMappings", {
20452
+ configurable: true,
20453
+ enumerable: true,
20454
+ get: function() {
20455
+ if (!this.__generatedMappings) {
20456
+ this._parseMappings(this._mappings, this.sourceRoot);
20457
+ }
20458
+ return this.__generatedMappings;
20459
+ }
20460
+ });
20461
+ SourceMapConsumer.prototype.__originalMappings = null;
20462
+ Object.defineProperty(SourceMapConsumer.prototype, "_originalMappings", {
20463
+ configurable: true,
20464
+ enumerable: true,
20465
+ get: function() {
20466
+ if (!this.__originalMappings) {
20467
+ this._parseMappings(this._mappings, this.sourceRoot);
20468
+ }
20469
+ return this.__originalMappings;
20470
+ }
20471
+ });
20472
+ SourceMapConsumer.prototype._charIsMappingSeparator = function SourceMapConsumer_charIsMappingSeparator(aStr, index) {
20473
+ var c = aStr.charAt(index);
20474
+ return c === ";" || c === ",";
20475
+ };
20476
+ SourceMapConsumer.prototype._parseMappings = function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
20477
+ throw new Error("Subclasses must implement _parseMappings");
20478
+ };
20479
+ SourceMapConsumer.GENERATED_ORDER = 1;
20480
+ SourceMapConsumer.ORIGINAL_ORDER = 2;
20481
+ SourceMapConsumer.GREATEST_LOWER_BOUND = 1;
20482
+ SourceMapConsumer.LEAST_UPPER_BOUND = 2;
20483
+ SourceMapConsumer.prototype.eachMapping = function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {
20484
+ var context = aContext || null;
20485
+ var order = aOrder || SourceMapConsumer.GENERATED_ORDER;
20486
+ var mappings;
20487
+ switch (order) {
20488
+ case SourceMapConsumer.GENERATED_ORDER:
20489
+ mappings = this._generatedMappings;
20490
+ break;
20491
+ case SourceMapConsumer.ORIGINAL_ORDER:
20492
+ mappings = this._originalMappings;
20493
+ break;
20494
+ default:
20495
+ throw new Error("Unknown order of iteration.");
20496
+ }
20497
+ var sourceRoot = this.sourceRoot;
20498
+ mappings.map(function(mapping) {
20499
+ var source = mapping.source === null ? null : this._sources.at(mapping.source);
20500
+ source = util3.computeSourceURL(sourceRoot, source, this._sourceMapURL);
20501
+ return {
20502
+ source,
20503
+ generatedLine: mapping.generatedLine,
20504
+ generatedColumn: mapping.generatedColumn,
20505
+ originalLine: mapping.originalLine,
20506
+ originalColumn: mapping.originalColumn,
20507
+ name: mapping.name === null ? null : this._names.at(mapping.name)
20508
+ };
20509
+ }, this).forEach(aCallback, context);
20510
+ };
20511
+ SourceMapConsumer.prototype.allGeneratedPositionsFor = function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {
20512
+ var line = util3.getArg(aArgs, "line");
20513
+ var needle = {
20514
+ source: util3.getArg(aArgs, "source"),
20515
+ originalLine: line,
20516
+ originalColumn: util3.getArg(aArgs, "column", 0)
20517
+ };
20518
+ needle.source = this._findSourceIndex(needle.source);
20519
+ if (needle.source < 0) {
20520
+ return [];
20521
+ }
20522
+ var mappings = [];
20523
+ var index = this._findMapping(
20524
+ needle,
20525
+ this._originalMappings,
20526
+ "originalLine",
20527
+ "originalColumn",
20528
+ util3.compareByOriginalPositions,
20529
+ binarySearch.LEAST_UPPER_BOUND
20530
+ );
20531
+ if (index >= 0) {
20532
+ var mapping = this._originalMappings[index];
20533
+ if (aArgs.column === void 0) {
20534
+ var originalLine = mapping.originalLine;
20535
+ while (mapping && mapping.originalLine === originalLine) {
20536
+ mappings.push({
20537
+ line: util3.getArg(mapping, "generatedLine", null),
20538
+ column: util3.getArg(mapping, "generatedColumn", null),
20539
+ lastColumn: util3.getArg(mapping, "lastGeneratedColumn", null)
20540
+ });
20541
+ mapping = this._originalMappings[++index];
20542
+ }
20543
+ } else {
20544
+ var originalColumn = mapping.originalColumn;
20545
+ while (mapping && mapping.originalLine === line && mapping.originalColumn == originalColumn) {
20546
+ mappings.push({
20547
+ line: util3.getArg(mapping, "generatedLine", null),
20548
+ column: util3.getArg(mapping, "generatedColumn", null),
20549
+ lastColumn: util3.getArg(mapping, "lastGeneratedColumn", null)
20550
+ });
20551
+ mapping = this._originalMappings[++index];
20552
+ }
20553
+ }
20554
+ }
20555
+ return mappings;
20556
+ };
20557
+ exports.SourceMapConsumer = SourceMapConsumer;
20558
+ function BasicSourceMapConsumer(aSourceMap, aSourceMapURL) {
20559
+ var sourceMap = aSourceMap;
20560
+ if (typeof aSourceMap === "string") {
20561
+ sourceMap = util3.parseSourceMapInput(aSourceMap);
20562
+ }
20563
+ var version = util3.getArg(sourceMap, "version");
20564
+ var sources = util3.getArg(sourceMap, "sources");
20565
+ var names = util3.getArg(sourceMap, "names", []);
20566
+ var sourceRoot = util3.getArg(sourceMap, "sourceRoot", null);
20567
+ var sourcesContent = util3.getArg(sourceMap, "sourcesContent", null);
20568
+ var mappings = util3.getArg(sourceMap, "mappings");
20569
+ var file = util3.getArg(sourceMap, "file", null);
20570
+ if (version != this._version) {
20571
+ throw new Error("Unsupported version: " + version);
20572
+ }
20573
+ if (sourceRoot) {
20574
+ sourceRoot = util3.normalize(sourceRoot);
20575
+ }
20576
+ sources = sources.map(String).map(util3.normalize).map(function(source) {
20577
+ return sourceRoot && util3.isAbsolute(sourceRoot) && util3.isAbsolute(source) ? util3.relative(sourceRoot, source) : source;
20578
+ });
20579
+ this._names = ArraySet.fromArray(names.map(String), true);
20580
+ this._sources = ArraySet.fromArray(sources, true);
20581
+ this._absoluteSources = this._sources.toArray().map(function(s) {
20582
+ return util3.computeSourceURL(sourceRoot, s, aSourceMapURL);
20583
+ });
20584
+ this.sourceRoot = sourceRoot;
20585
+ this.sourcesContent = sourcesContent;
20586
+ this._mappings = mappings;
20587
+ this._sourceMapURL = aSourceMapURL;
20588
+ this.file = file;
20589
+ }
20590
+ BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
20591
+ BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;
20592
+ BasicSourceMapConsumer.prototype._findSourceIndex = function(aSource) {
20593
+ var relativeSource = aSource;
20594
+ if (this.sourceRoot != null) {
20595
+ relativeSource = util3.relative(this.sourceRoot, relativeSource);
20596
+ }
20597
+ if (this._sources.has(relativeSource)) {
20598
+ return this._sources.indexOf(relativeSource);
20599
+ }
20600
+ var i;
20601
+ for (i = 0; i < this._absoluteSources.length; ++i) {
20602
+ if (this._absoluteSources[i] == aSource) {
20603
+ return i;
20604
+ }
20605
+ }
20606
+ return -1;
20607
+ };
20608
+ BasicSourceMapConsumer.fromSourceMap = function SourceMapConsumer_fromSourceMap(aSourceMap, aSourceMapURL) {
20609
+ var smc = Object.create(BasicSourceMapConsumer.prototype);
20610
+ var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);
20611
+ var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);
20612
+ smc.sourceRoot = aSourceMap._sourceRoot;
20613
+ smc.sourcesContent = aSourceMap._generateSourcesContent(
20614
+ smc._sources.toArray(),
20615
+ smc.sourceRoot
20616
+ );
20617
+ smc.file = aSourceMap._file;
20618
+ smc._sourceMapURL = aSourceMapURL;
20619
+ smc._absoluteSources = smc._sources.toArray().map(function(s) {
20620
+ return util3.computeSourceURL(smc.sourceRoot, s, aSourceMapURL);
20621
+ });
20622
+ var generatedMappings = aSourceMap._mappings.toArray().slice();
20623
+ var destGeneratedMappings = smc.__generatedMappings = [];
20624
+ var destOriginalMappings = smc.__originalMappings = [];
20625
+ for (var i = 0, length = generatedMappings.length; i < length; i++) {
20626
+ var srcMapping = generatedMappings[i];
20627
+ var destMapping = new Mapping();
20628
+ destMapping.generatedLine = srcMapping.generatedLine;
20629
+ destMapping.generatedColumn = srcMapping.generatedColumn;
20630
+ if (srcMapping.source) {
20631
+ destMapping.source = sources.indexOf(srcMapping.source);
20632
+ destMapping.originalLine = srcMapping.originalLine;
20633
+ destMapping.originalColumn = srcMapping.originalColumn;
20634
+ if (srcMapping.name) {
20635
+ destMapping.name = names.indexOf(srcMapping.name);
20636
+ }
20637
+ destOriginalMappings.push(destMapping);
20638
+ }
20639
+ destGeneratedMappings.push(destMapping);
20640
+ }
20641
+ quickSort(smc.__originalMappings, util3.compareByOriginalPositions);
20642
+ return smc;
20643
+ };
20644
+ BasicSourceMapConsumer.prototype._version = 3;
20645
+ Object.defineProperty(BasicSourceMapConsumer.prototype, "sources", {
20646
+ get: function() {
20647
+ return this._absoluteSources.slice();
20648
+ }
20649
+ });
20650
+ function Mapping() {
20651
+ this.generatedLine = 0;
20652
+ this.generatedColumn = 0;
20653
+ this.source = null;
20654
+ this.originalLine = null;
20655
+ this.originalColumn = null;
20656
+ this.name = null;
20657
+ }
20658
+ BasicSourceMapConsumer.prototype._parseMappings = function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
20659
+ var generatedLine = 1;
20660
+ var previousGeneratedColumn = 0;
20661
+ var previousOriginalLine = 0;
20662
+ var previousOriginalColumn = 0;
20663
+ var previousSource = 0;
20664
+ var previousName = 0;
20665
+ var length = aStr.length;
20666
+ var index = 0;
20667
+ var cachedSegments = {};
20668
+ var temp = {};
20669
+ var originalMappings = [];
20670
+ var generatedMappings = [];
20671
+ var mapping, str, segment, end, value2;
20672
+ while (index < length) {
20673
+ if (aStr.charAt(index) === ";") {
20674
+ generatedLine++;
20675
+ index++;
20676
+ previousGeneratedColumn = 0;
20677
+ } else if (aStr.charAt(index) === ",") {
20678
+ index++;
20679
+ } else {
20680
+ mapping = new Mapping();
20681
+ mapping.generatedLine = generatedLine;
20682
+ for (end = index; end < length; end++) {
20683
+ if (this._charIsMappingSeparator(aStr, end)) {
20684
+ break;
20685
+ }
20686
+ }
20687
+ str = aStr.slice(index, end);
20688
+ segment = cachedSegments[str];
20689
+ if (segment) {
20690
+ index += str.length;
20691
+ } else {
20692
+ segment = [];
20693
+ while (index < end) {
20694
+ base64VLQ.decode(aStr, index, temp);
20695
+ value2 = temp.value;
20696
+ index = temp.rest;
20697
+ segment.push(value2);
20698
+ }
20699
+ if (segment.length === 2) {
20700
+ throw new Error("Found a source, but no line and column");
20701
+ }
20702
+ if (segment.length === 3) {
20703
+ throw new Error("Found a source and line, but no column");
20704
+ }
20705
+ cachedSegments[str] = segment;
20706
+ }
20707
+ mapping.generatedColumn = previousGeneratedColumn + segment[0];
20708
+ previousGeneratedColumn = mapping.generatedColumn;
20709
+ if (segment.length > 1) {
20710
+ mapping.source = previousSource + segment[1];
20711
+ previousSource += segment[1];
20712
+ mapping.originalLine = previousOriginalLine + segment[2];
20713
+ previousOriginalLine = mapping.originalLine;
20714
+ mapping.originalLine += 1;
20715
+ mapping.originalColumn = previousOriginalColumn + segment[3];
20716
+ previousOriginalColumn = mapping.originalColumn;
20717
+ if (segment.length > 4) {
20718
+ mapping.name = previousName + segment[4];
20719
+ previousName += segment[4];
20720
+ }
20721
+ }
20722
+ generatedMappings.push(mapping);
20723
+ if (typeof mapping.originalLine === "number") {
20724
+ originalMappings.push(mapping);
20725
+ }
20726
+ }
20727
+ }
20728
+ quickSort(generatedMappings, util3.compareByGeneratedPositionsDeflated);
20729
+ this.__generatedMappings = generatedMappings;
20730
+ quickSort(originalMappings, util3.compareByOriginalPositions);
20731
+ this.__originalMappings = originalMappings;
20732
+ };
20733
+ BasicSourceMapConsumer.prototype._findMapping = function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, aColumnName, aComparator, aBias) {
20734
+ if (aNeedle[aLineName] <= 0) {
20735
+ throw new TypeError("Line must be greater than or equal to 1, got " + aNeedle[aLineName]);
20736
+ }
20737
+ if (aNeedle[aColumnName] < 0) {
20738
+ throw new TypeError("Column must be greater than or equal to 0, got " + aNeedle[aColumnName]);
20739
+ }
20740
+ return binarySearch.search(aNeedle, aMappings, aComparator, aBias);
20741
+ };
20742
+ BasicSourceMapConsumer.prototype.computeColumnSpans = function SourceMapConsumer_computeColumnSpans() {
20743
+ for (var index = 0; index < this._generatedMappings.length; ++index) {
20744
+ var mapping = this._generatedMappings[index];
20745
+ if (index + 1 < this._generatedMappings.length) {
20746
+ var nextMapping = this._generatedMappings[index + 1];
20747
+ if (mapping.generatedLine === nextMapping.generatedLine) {
20748
+ mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;
20749
+ continue;
20750
+ }
20751
+ }
20752
+ mapping.lastGeneratedColumn = Infinity;
20753
+ }
20754
+ };
20755
+ BasicSourceMapConsumer.prototype.originalPositionFor = function SourceMapConsumer_originalPositionFor(aArgs) {
20756
+ var needle = {
20757
+ generatedLine: util3.getArg(aArgs, "line"),
20758
+ generatedColumn: util3.getArg(aArgs, "column")
20759
+ };
20760
+ var index = this._findMapping(
20761
+ needle,
20762
+ this._generatedMappings,
20763
+ "generatedLine",
20764
+ "generatedColumn",
20765
+ util3.compareByGeneratedPositionsDeflated,
20766
+ util3.getArg(aArgs, "bias", SourceMapConsumer.GREATEST_LOWER_BOUND)
20767
+ );
20768
+ if (index >= 0) {
20769
+ var mapping = this._generatedMappings[index];
20770
+ if (mapping.generatedLine === needle.generatedLine) {
20771
+ var source = util3.getArg(mapping, "source", null);
20772
+ if (source !== null) {
20773
+ source = this._sources.at(source);
20774
+ source = util3.computeSourceURL(this.sourceRoot, source, this._sourceMapURL);
20775
+ }
20776
+ var name = util3.getArg(mapping, "name", null);
20777
+ if (name !== null) {
20778
+ name = this._names.at(name);
20779
+ }
20780
+ return {
20781
+ source,
20782
+ line: util3.getArg(mapping, "originalLine", null),
20783
+ column: util3.getArg(mapping, "originalColumn", null),
20784
+ name
20785
+ };
20786
+ }
20787
+ }
20788
+ return {
20789
+ source: null,
20790
+ line: null,
20791
+ column: null,
20792
+ name: null
20793
+ };
20794
+ };
20795
+ BasicSourceMapConsumer.prototype.hasContentsOfAllSources = function BasicSourceMapConsumer_hasContentsOfAllSources() {
20796
+ if (!this.sourcesContent) {
20797
+ return false;
20798
+ }
20799
+ return this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some(function(sc) {
20800
+ return sc == null;
20801
+ });
20802
+ };
20803
+ BasicSourceMapConsumer.prototype.sourceContentFor = function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
20804
+ if (!this.sourcesContent) {
20805
+ return null;
20806
+ }
20807
+ var index = this._findSourceIndex(aSource);
20808
+ if (index >= 0) {
20809
+ return this.sourcesContent[index];
20810
+ }
20811
+ var relativeSource = aSource;
20812
+ if (this.sourceRoot != null) {
20813
+ relativeSource = util3.relative(this.sourceRoot, relativeSource);
20814
+ }
20815
+ var url;
20816
+ if (this.sourceRoot != null && (url = util3.urlParse(this.sourceRoot))) {
20817
+ var fileUriAbsPath = relativeSource.replace(/^file:\/\//, "");
20818
+ if (url.scheme == "file" && this._sources.has(fileUriAbsPath)) {
20819
+ return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)];
20820
+ }
20821
+ if ((!url.path || url.path == "/") && this._sources.has("/" + relativeSource)) {
20822
+ return this.sourcesContent[this._sources.indexOf("/" + relativeSource)];
20823
+ }
20824
+ }
20825
+ if (nullOnMissing) {
20826
+ return null;
20827
+ } else {
20828
+ throw new Error('"' + relativeSource + '" is not in the SourceMap.');
20829
+ }
20830
+ };
20831
+ BasicSourceMapConsumer.prototype.generatedPositionFor = function SourceMapConsumer_generatedPositionFor(aArgs) {
20832
+ var source = util3.getArg(aArgs, "source");
20833
+ source = this._findSourceIndex(source);
20834
+ if (source < 0) {
20835
+ return {
20836
+ line: null,
20837
+ column: null,
20838
+ lastColumn: null
20839
+ };
20840
+ }
20841
+ var needle = {
20842
+ source,
20843
+ originalLine: util3.getArg(aArgs, "line"),
20844
+ originalColumn: util3.getArg(aArgs, "column")
20845
+ };
20846
+ var index = this._findMapping(
20847
+ needle,
20848
+ this._originalMappings,
20849
+ "originalLine",
20850
+ "originalColumn",
20851
+ util3.compareByOriginalPositions,
20852
+ util3.getArg(aArgs, "bias", SourceMapConsumer.GREATEST_LOWER_BOUND)
20853
+ );
20854
+ if (index >= 0) {
20855
+ var mapping = this._originalMappings[index];
20856
+ if (mapping.source === needle.source) {
20857
+ return {
20858
+ line: util3.getArg(mapping, "generatedLine", null),
20859
+ column: util3.getArg(mapping, "generatedColumn", null),
20860
+ lastColumn: util3.getArg(mapping, "lastGeneratedColumn", null)
20861
+ };
20862
+ }
20863
+ }
20864
+ return {
20865
+ line: null,
20866
+ column: null,
20867
+ lastColumn: null
20868
+ };
20869
+ };
20870
+ exports.BasicSourceMapConsumer = BasicSourceMapConsumer;
20871
+ function IndexedSourceMapConsumer(aSourceMap, aSourceMapURL) {
20872
+ var sourceMap = aSourceMap;
20873
+ if (typeof aSourceMap === "string") {
20874
+ sourceMap = util3.parseSourceMapInput(aSourceMap);
20875
+ }
20876
+ var version = util3.getArg(sourceMap, "version");
20877
+ var sections = util3.getArg(sourceMap, "sections");
20878
+ if (version != this._version) {
20879
+ throw new Error("Unsupported version: " + version);
20880
+ }
20881
+ this._sources = new ArraySet();
20882
+ this._names = new ArraySet();
20883
+ var lastOffset = {
20884
+ line: -1,
20885
+ column: 0
20886
+ };
20887
+ this._sections = sections.map(function(s) {
20888
+ if (s.url) {
20889
+ throw new Error("Support for url field in sections not implemented.");
20890
+ }
20891
+ var offset = util3.getArg(s, "offset");
20892
+ var offsetLine = util3.getArg(offset, "line");
20893
+ var offsetColumn = util3.getArg(offset, "column");
20894
+ if (offsetLine < lastOffset.line || offsetLine === lastOffset.line && offsetColumn < lastOffset.column) {
20895
+ throw new Error("Section offsets must be ordered and non-overlapping.");
20896
+ }
20897
+ lastOffset = offset;
20898
+ return {
20899
+ generatedOffset: {
20900
+ // The offset fields are 0-based, but we use 1-based indices when
20901
+ // encoding/decoding from VLQ.
20902
+ generatedLine: offsetLine + 1,
20903
+ generatedColumn: offsetColumn + 1
20904
+ },
20905
+ consumer: new SourceMapConsumer(util3.getArg(s, "map"), aSourceMapURL)
20906
+ };
20907
+ });
20908
+ }
20909
+ IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
20910
+ IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;
20911
+ IndexedSourceMapConsumer.prototype._version = 3;
20912
+ Object.defineProperty(IndexedSourceMapConsumer.prototype, "sources", {
20913
+ get: function() {
20914
+ var sources = [];
20915
+ for (var i = 0; i < this._sections.length; i++) {
20916
+ for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {
20917
+ sources.push(this._sections[i].consumer.sources[j]);
20918
+ }
20919
+ }
20920
+ return sources;
20921
+ }
20922
+ });
20923
+ IndexedSourceMapConsumer.prototype.originalPositionFor = function IndexedSourceMapConsumer_originalPositionFor(aArgs) {
20924
+ var needle = {
20925
+ generatedLine: util3.getArg(aArgs, "line"),
20926
+ generatedColumn: util3.getArg(aArgs, "column")
20927
+ };
20928
+ var sectionIndex = binarySearch.search(
20929
+ needle,
20930
+ this._sections,
20931
+ function(needle2, section2) {
20932
+ var cmp = needle2.generatedLine - section2.generatedOffset.generatedLine;
20933
+ if (cmp) {
20934
+ return cmp;
20935
+ }
20936
+ return needle2.generatedColumn - section2.generatedOffset.generatedColumn;
20937
+ }
20938
+ );
20939
+ var section = this._sections[sectionIndex];
20940
+ if (!section) {
20941
+ return {
20942
+ source: null,
20943
+ line: null,
20944
+ column: null,
20945
+ name: null
20946
+ };
20947
+ }
20948
+ return section.consumer.originalPositionFor({
20949
+ line: needle.generatedLine - (section.generatedOffset.generatedLine - 1),
20950
+ column: needle.generatedColumn - (section.generatedOffset.generatedLine === needle.generatedLine ? section.generatedOffset.generatedColumn - 1 : 0),
20951
+ bias: aArgs.bias
20952
+ });
20953
+ };
20954
+ IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = function IndexedSourceMapConsumer_hasContentsOfAllSources() {
20955
+ return this._sections.every(function(s) {
20956
+ return s.consumer.hasContentsOfAllSources();
20957
+ });
20958
+ };
20959
+ IndexedSourceMapConsumer.prototype.sourceContentFor = function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
20960
+ for (var i = 0; i < this._sections.length; i++) {
20961
+ var section = this._sections[i];
20962
+ var content = section.consumer.sourceContentFor(aSource, true);
20963
+ if (content) {
20964
+ return content;
20965
+ }
20966
+ }
20967
+ if (nullOnMissing) {
20968
+ return null;
20969
+ } else {
20970
+ throw new Error('"' + aSource + '" is not in the SourceMap.');
20971
+ }
20972
+ };
20973
+ IndexedSourceMapConsumer.prototype.generatedPositionFor = function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {
20974
+ for (var i = 0; i < this._sections.length; i++) {
20975
+ var section = this._sections[i];
20976
+ if (section.consumer._findSourceIndex(util3.getArg(aArgs, "source")) === -1) {
20977
+ continue;
20978
+ }
20979
+ var generatedPosition = section.consumer.generatedPositionFor(aArgs);
20980
+ if (generatedPosition) {
20981
+ var ret = {
20982
+ line: generatedPosition.line + (section.generatedOffset.generatedLine - 1),
20983
+ column: generatedPosition.column + (section.generatedOffset.generatedLine === generatedPosition.line ? section.generatedOffset.generatedColumn - 1 : 0)
20984
+ };
20985
+ return ret;
20986
+ }
20987
+ }
20988
+ return {
20989
+ line: null,
20990
+ column: null
20991
+ };
20992
+ };
20993
+ IndexedSourceMapConsumer.prototype._parseMappings = function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {
20994
+ this.__generatedMappings = [];
20995
+ this.__originalMappings = [];
20996
+ for (var i = 0; i < this._sections.length; i++) {
20997
+ var section = this._sections[i];
20998
+ var sectionMappings = section.consumer._generatedMappings;
20999
+ for (var j = 0; j < sectionMappings.length; j++) {
21000
+ var mapping = sectionMappings[j];
21001
+ var source = section.consumer._sources.at(mapping.source);
21002
+ source = util3.computeSourceURL(section.consumer.sourceRoot, source, this._sourceMapURL);
21003
+ this._sources.add(source);
21004
+ source = this._sources.indexOf(source);
21005
+ var name = null;
21006
+ if (mapping.name) {
21007
+ name = section.consumer._names.at(mapping.name);
21008
+ this._names.add(name);
21009
+ name = this._names.indexOf(name);
21010
+ }
21011
+ var adjustedMapping = {
21012
+ source,
21013
+ generatedLine: mapping.generatedLine + (section.generatedOffset.generatedLine - 1),
21014
+ generatedColumn: mapping.generatedColumn + (section.generatedOffset.generatedLine === mapping.generatedLine ? section.generatedOffset.generatedColumn - 1 : 0),
21015
+ originalLine: mapping.originalLine,
21016
+ originalColumn: mapping.originalColumn,
21017
+ name
21018
+ };
21019
+ this.__generatedMappings.push(adjustedMapping);
21020
+ if (typeof adjustedMapping.originalLine === "number") {
21021
+ this.__originalMappings.push(adjustedMapping);
21022
+ }
21023
+ }
21024
+ }
21025
+ quickSort(this.__generatedMappings, util3.compareByGeneratedPositionsDeflated);
21026
+ quickSort(this.__originalMappings, util3.compareByOriginalPositions);
21027
+ };
21028
+ exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
21029
+ }
21030
+ });
21031
+
21032
+ // node_modules/source-map/lib/source-node.js
21033
+ var require_source_node = __commonJS({
21034
+ "node_modules/source-map/lib/source-node.js"(exports) {
21035
+ var SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
21036
+ var util3 = require_util2();
21037
+ var REGEX_NEWLINE = /(\r?\n)/;
21038
+ var NEWLINE_CODE = 10;
21039
+ var isSourceNode = "$$$isSourceNode$$$";
21040
+ function SourceNode(aLine, aColumn, aSource, aChunks, aName) {
21041
+ this.children = [];
21042
+ this.sourceContents = {};
21043
+ this.line = aLine == null ? null : aLine;
21044
+ this.column = aColumn == null ? null : aColumn;
21045
+ this.source = aSource == null ? null : aSource;
21046
+ this.name = aName == null ? null : aName;
21047
+ this[isSourceNode] = true;
21048
+ if (aChunks != null)
21049
+ this.add(aChunks);
21050
+ }
21051
+ SourceNode.fromStringWithSourceMap = function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {
21052
+ var node = new SourceNode();
21053
+ var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);
21054
+ var remainingLinesIndex = 0;
21055
+ var shiftNextLine = function() {
21056
+ var lineContents = getNextLine();
21057
+ var newLine = getNextLine() || "";
21058
+ return lineContents + newLine;
21059
+ function getNextLine() {
21060
+ return remainingLinesIndex < remainingLines.length ? remainingLines[remainingLinesIndex++] : void 0;
21061
+ }
21062
+ };
21063
+ var lastGeneratedLine = 1, lastGeneratedColumn = 0;
21064
+ var lastMapping = null;
21065
+ aSourceMapConsumer.eachMapping(function(mapping) {
21066
+ if (lastMapping !== null) {
21067
+ if (lastGeneratedLine < mapping.generatedLine) {
21068
+ addMappingWithCode(lastMapping, shiftNextLine());
21069
+ lastGeneratedLine++;
21070
+ lastGeneratedColumn = 0;
21071
+ } else {
21072
+ var nextLine = remainingLines[remainingLinesIndex] || "";
21073
+ var code = nextLine.substr(0, mapping.generatedColumn - lastGeneratedColumn);
21074
+ remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - lastGeneratedColumn);
21075
+ lastGeneratedColumn = mapping.generatedColumn;
21076
+ addMappingWithCode(lastMapping, code);
21077
+ lastMapping = mapping;
21078
+ return;
21079
+ }
21080
+ }
21081
+ while (lastGeneratedLine < mapping.generatedLine) {
21082
+ node.add(shiftNextLine());
21083
+ lastGeneratedLine++;
21084
+ }
21085
+ if (lastGeneratedColumn < mapping.generatedColumn) {
21086
+ var nextLine = remainingLines[remainingLinesIndex] || "";
21087
+ node.add(nextLine.substr(0, mapping.generatedColumn));
21088
+ remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);
21089
+ lastGeneratedColumn = mapping.generatedColumn;
21090
+ }
21091
+ lastMapping = mapping;
21092
+ }, this);
21093
+ if (remainingLinesIndex < remainingLines.length) {
21094
+ if (lastMapping) {
21095
+ addMappingWithCode(lastMapping, shiftNextLine());
21096
+ }
21097
+ node.add(remainingLines.splice(remainingLinesIndex).join(""));
21098
+ }
21099
+ aSourceMapConsumer.sources.forEach(function(sourceFile) {
21100
+ var content = aSourceMapConsumer.sourceContentFor(sourceFile);
21101
+ if (content != null) {
21102
+ if (aRelativePath != null) {
21103
+ sourceFile = util3.join(aRelativePath, sourceFile);
21104
+ }
21105
+ node.setSourceContent(sourceFile, content);
21106
+ }
21107
+ });
21108
+ return node;
21109
+ function addMappingWithCode(mapping, code) {
21110
+ if (mapping === null || mapping.source === void 0) {
21111
+ node.add(code);
21112
+ } else {
21113
+ var source = aRelativePath ? util3.join(aRelativePath, mapping.source) : mapping.source;
21114
+ node.add(new SourceNode(
21115
+ mapping.originalLine,
21116
+ mapping.originalColumn,
21117
+ source,
21118
+ code,
21119
+ mapping.name
21120
+ ));
21121
+ }
21122
+ }
21123
+ };
21124
+ SourceNode.prototype.add = function SourceNode_add(aChunk) {
21125
+ if (Array.isArray(aChunk)) {
21126
+ aChunk.forEach(function(chunk) {
21127
+ this.add(chunk);
21128
+ }, this);
21129
+ } else if (aChunk[isSourceNode] || typeof aChunk === "string") {
21130
+ if (aChunk) {
21131
+ this.children.push(aChunk);
21132
+ }
21133
+ } else {
21134
+ throw new TypeError(
21135
+ "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
21136
+ );
21137
+ }
21138
+ return this;
21139
+ };
21140
+ SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {
21141
+ if (Array.isArray(aChunk)) {
21142
+ for (var i = aChunk.length - 1; i >= 0; i--) {
21143
+ this.prepend(aChunk[i]);
21144
+ }
21145
+ } else if (aChunk[isSourceNode] || typeof aChunk === "string") {
21146
+ this.children.unshift(aChunk);
21147
+ } else {
21148
+ throw new TypeError(
21149
+ "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
21150
+ );
21151
+ }
21152
+ return this;
21153
+ };
21154
+ SourceNode.prototype.walk = function SourceNode_walk(aFn) {
21155
+ var chunk;
21156
+ for (var i = 0, len = this.children.length; i < len; i++) {
21157
+ chunk = this.children[i];
21158
+ if (chunk[isSourceNode]) {
21159
+ chunk.walk(aFn);
21160
+ } else {
21161
+ if (chunk !== "") {
21162
+ aFn(chunk, {
21163
+ source: this.source,
21164
+ line: this.line,
21165
+ column: this.column,
21166
+ name: this.name
21167
+ });
21168
+ }
21169
+ }
21170
+ }
21171
+ };
21172
+ SourceNode.prototype.join = function SourceNode_join(aSep) {
21173
+ var newChildren;
21174
+ var i;
21175
+ var len = this.children.length;
21176
+ if (len > 0) {
21177
+ newChildren = [];
21178
+ for (i = 0; i < len - 1; i++) {
21179
+ newChildren.push(this.children[i]);
21180
+ newChildren.push(aSep);
21181
+ }
21182
+ newChildren.push(this.children[i]);
21183
+ this.children = newChildren;
21184
+ }
21185
+ return this;
21186
+ };
21187
+ SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {
21188
+ var lastChild = this.children[this.children.length - 1];
21189
+ if (lastChild[isSourceNode]) {
21190
+ lastChild.replaceRight(aPattern, aReplacement);
21191
+ } else if (typeof lastChild === "string") {
21192
+ this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);
21193
+ } else {
21194
+ this.children.push("".replace(aPattern, aReplacement));
21195
+ }
21196
+ return this;
21197
+ };
21198
+ SourceNode.prototype.setSourceContent = function SourceNode_setSourceContent(aSourceFile, aSourceContent) {
21199
+ this.sourceContents[util3.toSetString(aSourceFile)] = aSourceContent;
21200
+ };
21201
+ SourceNode.prototype.walkSourceContents = function SourceNode_walkSourceContents(aFn) {
21202
+ for (var i = 0, len = this.children.length; i < len; i++) {
21203
+ if (this.children[i][isSourceNode]) {
21204
+ this.children[i].walkSourceContents(aFn);
21205
+ }
21206
+ }
21207
+ var sources = Object.keys(this.sourceContents);
21208
+ for (var i = 0, len = sources.length; i < len; i++) {
21209
+ aFn(util3.fromSetString(sources[i]), this.sourceContents[sources[i]]);
21210
+ }
21211
+ };
21212
+ SourceNode.prototype.toString = function SourceNode_toString() {
21213
+ var str = "";
21214
+ this.walk(function(chunk) {
21215
+ str += chunk;
21216
+ });
21217
+ return str;
21218
+ };
21219
+ SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {
21220
+ var generated = {
21221
+ code: "",
21222
+ line: 1,
21223
+ column: 0
21224
+ };
21225
+ var map = new SourceMapGenerator(aArgs);
21226
+ var sourceMappingActive = false;
21227
+ var lastOriginalSource = null;
21228
+ var lastOriginalLine = null;
21229
+ var lastOriginalColumn = null;
21230
+ var lastOriginalName = null;
21231
+ this.walk(function(chunk, original) {
21232
+ generated.code += chunk;
21233
+ if (original.source !== null && original.line !== null && original.column !== null) {
21234
+ if (lastOriginalSource !== original.source || lastOriginalLine !== original.line || lastOriginalColumn !== original.column || lastOriginalName !== original.name) {
21235
+ map.addMapping({
21236
+ source: original.source,
21237
+ original: {
21238
+ line: original.line,
21239
+ column: original.column
21240
+ },
21241
+ generated: {
21242
+ line: generated.line,
21243
+ column: generated.column
21244
+ },
21245
+ name: original.name
21246
+ });
21247
+ }
21248
+ lastOriginalSource = original.source;
21249
+ lastOriginalLine = original.line;
21250
+ lastOriginalColumn = original.column;
21251
+ lastOriginalName = original.name;
21252
+ sourceMappingActive = true;
21253
+ } else if (sourceMappingActive) {
21254
+ map.addMapping({
21255
+ generated: {
21256
+ line: generated.line,
21257
+ column: generated.column
21258
+ }
21259
+ });
21260
+ lastOriginalSource = null;
21261
+ sourceMappingActive = false;
21262
+ }
21263
+ for (var idx = 0, length = chunk.length; idx < length; idx++) {
21264
+ if (chunk.charCodeAt(idx) === NEWLINE_CODE) {
21265
+ generated.line++;
21266
+ generated.column = 0;
21267
+ if (idx + 1 === length) {
21268
+ lastOriginalSource = null;
21269
+ sourceMappingActive = false;
21270
+ } else if (sourceMappingActive) {
21271
+ map.addMapping({
21272
+ source: original.source,
21273
+ original: {
21274
+ line: original.line,
21275
+ column: original.column
21276
+ },
21277
+ generated: {
21278
+ line: generated.line,
21279
+ column: generated.column
21280
+ },
21281
+ name: original.name
21282
+ });
21283
+ }
21284
+ } else {
21285
+ generated.column++;
21286
+ }
21287
+ }
21288
+ });
21289
+ this.walkSourceContents(function(sourceFile, sourceContent) {
21290
+ map.setSourceContent(sourceFile, sourceContent);
21291
+ });
21292
+ return { code: generated.code, map };
21293
+ };
21294
+ exports.SourceNode = SourceNode;
21295
+ }
21296
+ });
21297
+
21298
+ // node_modules/source-map/source-map.js
21299
+ var require_source_map = __commonJS({
21300
+ "node_modules/source-map/source-map.js"(exports) {
21301
+ exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
21302
+ exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
21303
+ exports.SourceNode = require_source_node().SourceNode;
21304
+ }
21305
+ });
21306
+
21307
+ // node_modules/buffer-from/index.js
21308
+ var require_buffer_from = __commonJS({
21309
+ "node_modules/buffer-from/index.js"(exports, module) {
21310
+ var toString = Object.prototype.toString;
21311
+ var isModern = typeof Buffer !== "undefined" && typeof Buffer.alloc === "function" && typeof Buffer.allocUnsafe === "function" && typeof Buffer.from === "function";
21312
+ function isArrayBuffer(input) {
21313
+ return toString.call(input).slice(8, -1) === "ArrayBuffer";
21314
+ }
21315
+ function fromArrayBuffer(obj, byteOffset, length) {
21316
+ byteOffset >>>= 0;
21317
+ var maxLength = obj.byteLength - byteOffset;
21318
+ if (maxLength < 0) {
21319
+ throw new RangeError("'offset' is out of bounds");
21320
+ }
21321
+ if (length === void 0) {
21322
+ length = maxLength;
21323
+ } else {
21324
+ length >>>= 0;
21325
+ if (length > maxLength) {
21326
+ throw new RangeError("'length' is out of bounds");
21327
+ }
21328
+ }
21329
+ return isModern ? Buffer.from(obj.slice(byteOffset, byteOffset + length)) : new Buffer(new Uint8Array(obj.slice(byteOffset, byteOffset + length)));
21330
+ }
21331
+ function fromString(string, encoding) {
21332
+ if (typeof encoding !== "string" || encoding === "") {
21333
+ encoding = "utf8";
21334
+ }
21335
+ if (!Buffer.isEncoding(encoding)) {
21336
+ throw new TypeError('"encoding" must be a valid string encoding');
21337
+ }
21338
+ return isModern ? Buffer.from(string, encoding) : new Buffer(string, encoding);
21339
+ }
21340
+ function bufferFrom(value2, encodingOrOffset, length) {
21341
+ if (typeof value2 === "number") {
21342
+ throw new TypeError('"value" argument must not be a number');
21343
+ }
21344
+ if (isArrayBuffer(value2)) {
21345
+ return fromArrayBuffer(value2, encodingOrOffset, length);
21346
+ }
21347
+ if (typeof value2 === "string") {
21348
+ return fromString(value2, encodingOrOffset);
21349
+ }
21350
+ return isModern ? Buffer.from(value2) : new Buffer(value2);
21351
+ }
21352
+ module.exports = bufferFrom;
21353
+ }
21354
+ });
21355
+
21356
+ // node_modules/source-map-support/source-map-support.js
21357
+ var require_source_map_support = __commonJS({
21358
+ "node_modules/source-map-support/source-map-support.js"(exports) {
21359
+ var SourceMapConsumer = require_source_map().SourceMapConsumer;
21360
+ var path16 = __require("path");
21361
+ var fs7;
21362
+ try {
21363
+ fs7 = __require("fs");
21364
+ if (!fs7.existsSync || !fs7.readFileSync) {
21365
+ fs7 = null;
21366
+ }
21367
+ } catch (err) {
21368
+ }
21369
+ var bufferFrom = require_buffer_from();
21370
+ var errorFormatterInstalled = false;
21371
+ var uncaughtShimInstalled = false;
21372
+ var emptyCacheBetweenOperations = false;
21373
+ var environment = "auto";
21374
+ var fileContentsCache = {};
21375
+ var sourceMapCache = {};
21376
+ var reSourceMap = /^data:application\/json[^,]+base64,/;
21377
+ var retrieveFileHandlers = [];
21378
+ var retrieveMapHandlers = [];
21379
+ function isInBrowser() {
21380
+ if (environment === "browser")
21381
+ return true;
21382
+ if (environment === "node")
21383
+ return false;
21384
+ return typeof window !== "undefined" && typeof XMLHttpRequest === "function" && !(window.require && window.module && window.process && window.process.type === "renderer");
21385
+ }
21386
+ function hasGlobalProcessEventEmitter() {
21387
+ return typeof process === "object" && process !== null && typeof process.on === "function";
21388
+ }
21389
+ function handlerExec(list) {
21390
+ return function(arg) {
21391
+ for (var i = 0; i < list.length; i++) {
21392
+ var ret = list[i](arg);
21393
+ if (ret) {
21394
+ return ret;
21395
+ }
21396
+ }
21397
+ return null;
21398
+ };
21399
+ }
21400
+ var retrieveFile = handlerExec(retrieveFileHandlers);
21401
+ retrieveFileHandlers.push(function(path17) {
21402
+ path17 = path17.trim();
21403
+ if (/^file:/.test(path17)) {
21404
+ path17 = path17.replace(/file:\/\/\/(\w:)?/, function(protocol, drive) {
21405
+ return drive ? "" : (
21406
+ // file:///C:/dir/file -> C:/dir/file
21407
+ "/"
21408
+ );
21409
+ });
21410
+ }
21411
+ if (path17 in fileContentsCache) {
21412
+ return fileContentsCache[path17];
21413
+ }
21414
+ var contents = "";
21415
+ try {
21416
+ if (!fs7) {
21417
+ var xhr = new XMLHttpRequest();
21418
+ xhr.open(
21419
+ "GET",
21420
+ path17,
21421
+ /** async */
21422
+ false
21423
+ );
21424
+ xhr.send(null);
21425
+ if (xhr.readyState === 4 && xhr.status === 200) {
21426
+ contents = xhr.responseText;
21427
+ }
21428
+ } else if (fs7.existsSync(path17)) {
21429
+ contents = fs7.readFileSync(path17, "utf8");
21430
+ }
21431
+ } catch (er) {
21432
+ }
21433
+ return fileContentsCache[path17] = contents;
21434
+ });
21435
+ function supportRelativeURL(file, url) {
21436
+ if (!file)
21437
+ return url;
21438
+ var dir = path16.dirname(file);
21439
+ var match2 = /^\w+:\/\/[^\/]*/.exec(dir);
21440
+ var protocol = match2 ? match2[0] : "";
21441
+ var startPath = dir.slice(protocol.length);
21442
+ if (protocol && /^\/\w\:/.test(startPath)) {
21443
+ protocol += "/";
21444
+ return protocol + path16.resolve(dir.slice(protocol.length), url).replace(/\\/g, "/");
21445
+ }
21446
+ return protocol + path16.resolve(dir.slice(protocol.length), url);
21447
+ }
21448
+ function retrieveSourceMapURL(source) {
21449
+ var fileData;
21450
+ if (isInBrowser()) {
21451
+ try {
21452
+ var xhr = new XMLHttpRequest();
21453
+ xhr.open("GET", source, false);
21454
+ xhr.send(null);
21455
+ fileData = xhr.readyState === 4 ? xhr.responseText : null;
21456
+ var sourceMapHeader = xhr.getResponseHeader("SourceMap") || xhr.getResponseHeader("X-SourceMap");
21457
+ if (sourceMapHeader) {
21458
+ return sourceMapHeader;
21459
+ }
21460
+ } catch (e) {
21461
+ }
21462
+ }
21463
+ fileData = retrieveFile(source);
21464
+ var re = /(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg;
21465
+ var lastMatch, match2;
21466
+ while (match2 = re.exec(fileData))
21467
+ lastMatch = match2;
21468
+ if (!lastMatch)
21469
+ return null;
21470
+ return lastMatch[1];
21471
+ }
21472
+ var retrieveSourceMap = handlerExec(retrieveMapHandlers);
21473
+ retrieveMapHandlers.push(function(source) {
21474
+ var sourceMappingURL = retrieveSourceMapURL(source);
21475
+ if (!sourceMappingURL)
21476
+ return null;
21477
+ var sourceMapData;
21478
+ if (reSourceMap.test(sourceMappingURL)) {
21479
+ var rawData = sourceMappingURL.slice(sourceMappingURL.indexOf(",") + 1);
21480
+ sourceMapData = bufferFrom(rawData, "base64").toString();
21481
+ sourceMappingURL = source;
21482
+ } else {
21483
+ sourceMappingURL = supportRelativeURL(source, sourceMappingURL);
21484
+ sourceMapData = retrieveFile(sourceMappingURL);
21485
+ }
21486
+ if (!sourceMapData) {
21487
+ return null;
21488
+ }
21489
+ return {
21490
+ url: sourceMappingURL,
21491
+ map: sourceMapData
21492
+ };
21493
+ });
21494
+ function mapSourcePosition(position) {
21495
+ var sourceMap = sourceMapCache[position.source];
21496
+ if (!sourceMap) {
21497
+ var urlAndMap = retrieveSourceMap(position.source);
21498
+ if (urlAndMap) {
21499
+ sourceMap = sourceMapCache[position.source] = {
21500
+ url: urlAndMap.url,
21501
+ map: new SourceMapConsumer(urlAndMap.map)
21502
+ };
21503
+ if (sourceMap.map.sourcesContent) {
21504
+ sourceMap.map.sources.forEach(function(source, i) {
21505
+ var contents = sourceMap.map.sourcesContent[i];
21506
+ if (contents) {
21507
+ var url = supportRelativeURL(sourceMap.url, source);
21508
+ fileContentsCache[url] = contents;
21509
+ }
21510
+ });
21511
+ }
21512
+ } else {
21513
+ sourceMap = sourceMapCache[position.source] = {
21514
+ url: null,
21515
+ map: null
21516
+ };
21517
+ }
21518
+ }
21519
+ if (sourceMap && sourceMap.map && typeof sourceMap.map.originalPositionFor === "function") {
21520
+ var originalPosition = sourceMap.map.originalPositionFor(position);
21521
+ if (originalPosition.source !== null) {
21522
+ originalPosition.source = supportRelativeURL(
21523
+ sourceMap.url,
21524
+ originalPosition.source
21525
+ );
21526
+ return originalPosition;
21527
+ }
21528
+ }
21529
+ return position;
21530
+ }
21531
+ function mapEvalOrigin(origin) {
21532
+ var match2 = /^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(origin);
21533
+ if (match2) {
21534
+ var position = mapSourcePosition({
21535
+ source: match2[2],
21536
+ line: +match2[3],
21537
+ column: match2[4] - 1
21538
+ });
21539
+ return "eval at " + match2[1] + " (" + position.source + ":" + position.line + ":" + (position.column + 1) + ")";
21540
+ }
21541
+ match2 = /^eval at ([^(]+) \((.+)\)$/.exec(origin);
21542
+ if (match2) {
21543
+ return "eval at " + match2[1] + " (" + mapEvalOrigin(match2[2]) + ")";
21544
+ }
21545
+ return origin;
21546
+ }
21547
+ function CallSiteToString() {
21548
+ var fileName;
21549
+ var fileLocation = "";
21550
+ if (this.isNative()) {
21551
+ fileLocation = "native";
21552
+ } else {
21553
+ fileName = this.getScriptNameOrSourceURL();
21554
+ if (!fileName && this.isEval()) {
21555
+ fileLocation = this.getEvalOrigin();
21556
+ fileLocation += ", ";
21557
+ }
21558
+ if (fileName) {
21559
+ fileLocation += fileName;
21560
+ } else {
21561
+ fileLocation += "<anonymous>";
21562
+ }
21563
+ var lineNumber = this.getLineNumber();
21564
+ if (lineNumber != null) {
21565
+ fileLocation += ":" + lineNumber;
21566
+ var columnNumber = this.getColumnNumber();
21567
+ if (columnNumber) {
21568
+ fileLocation += ":" + columnNumber;
21569
+ }
21570
+ }
21571
+ }
21572
+ var line = "";
21573
+ var functionName = this.getFunctionName();
21574
+ var addSuffix = true;
21575
+ var isConstructor = this.isConstructor();
21576
+ var isMethodCall = !(this.isToplevel() || isConstructor);
21577
+ if (isMethodCall) {
21578
+ var typeName = this.getTypeName();
21579
+ if (typeName === "[object Object]") {
21580
+ typeName = "null";
21581
+ }
21582
+ var methodName = this.getMethodName();
21583
+ if (functionName) {
21584
+ if (typeName && functionName.indexOf(typeName) != 0) {
21585
+ line += typeName + ".";
21586
+ }
21587
+ line += functionName;
21588
+ if (methodName && functionName.indexOf("." + methodName) != functionName.length - methodName.length - 1) {
21589
+ line += " [as " + methodName + "]";
21590
+ }
21591
+ } else {
21592
+ line += typeName + "." + (methodName || "<anonymous>");
21593
+ }
21594
+ } else if (isConstructor) {
21595
+ line += "new " + (functionName || "<anonymous>");
21596
+ } else if (functionName) {
21597
+ line += functionName;
21598
+ } else {
21599
+ line += fileLocation;
21600
+ addSuffix = false;
21601
+ }
21602
+ if (addSuffix) {
21603
+ line += " (" + fileLocation + ")";
21604
+ }
21605
+ return line;
21606
+ }
21607
+ function cloneCallSite(frame) {
21608
+ var object = {};
21609
+ Object.getOwnPropertyNames(Object.getPrototypeOf(frame)).forEach(function(name) {
21610
+ object[name] = /^(?:is|get)/.test(name) ? function() {
21611
+ return frame[name].call(frame);
21612
+ } : frame[name];
21613
+ });
21614
+ object.toString = CallSiteToString;
21615
+ return object;
21616
+ }
21617
+ function wrapCallSite(frame) {
21618
+ if (frame.isNative()) {
21619
+ return frame;
21620
+ }
21621
+ var source = frame.getFileName() || frame.getScriptNameOrSourceURL();
21622
+ if (source) {
21623
+ var line = frame.getLineNumber();
21624
+ var column = frame.getColumnNumber() - 1;
21625
+ var headerLength = 62;
21626
+ if (line === 1 && column > headerLength && !isInBrowser() && !frame.isEval()) {
21627
+ column -= headerLength;
21628
+ }
21629
+ var position = mapSourcePosition({
21630
+ source,
21631
+ line,
21632
+ column
21633
+ });
21634
+ frame = cloneCallSite(frame);
21635
+ var originalFunctionName = frame.getFunctionName;
21636
+ frame.getFunctionName = function() {
21637
+ return position.name || originalFunctionName();
21638
+ };
21639
+ frame.getFileName = function() {
21640
+ return position.source;
21641
+ };
21642
+ frame.getLineNumber = function() {
21643
+ return position.line;
21644
+ };
21645
+ frame.getColumnNumber = function() {
21646
+ return position.column + 1;
21647
+ };
21648
+ frame.getScriptNameOrSourceURL = function() {
21649
+ return position.source;
21650
+ };
21651
+ return frame;
21652
+ }
21653
+ var origin = frame.isEval() && frame.getEvalOrigin();
21654
+ if (origin) {
21655
+ origin = mapEvalOrigin(origin);
21656
+ frame = cloneCallSite(frame);
21657
+ frame.getEvalOrigin = function() {
21658
+ return origin;
21659
+ };
21660
+ return frame;
21661
+ }
21662
+ return frame;
21663
+ }
21664
+ function prepareStackTrace(error, stack) {
21665
+ if (emptyCacheBetweenOperations) {
21666
+ fileContentsCache = {};
21667
+ sourceMapCache = {};
21668
+ }
21669
+ var name = error.name || "Error";
21670
+ var message2 = error.message || "";
21671
+ var errorString = name + ": " + message2;
21672
+ return errorString + stack.map(function(frame) {
21673
+ return "\n at " + wrapCallSite(frame);
21674
+ }).join("");
21675
+ }
21676
+ function getErrorSource(error) {
21677
+ var match2 = /\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(error.stack);
21678
+ if (match2) {
21679
+ var source = match2[1];
21680
+ var line = +match2[2];
21681
+ var column = +match2[3];
21682
+ var contents = fileContentsCache[source];
21683
+ if (!contents && fs7 && fs7.existsSync(source)) {
21684
+ try {
21685
+ contents = fs7.readFileSync(source, "utf8");
21686
+ } catch (er) {
21687
+ contents = "";
21688
+ }
21689
+ }
21690
+ if (contents) {
21691
+ var code = contents.split(/(?:\r\n|\r|\n)/)[line - 1];
21692
+ if (code) {
21693
+ return source + ":" + line + "\n" + code + "\n" + new Array(column).join(" ") + "^";
21694
+ }
21695
+ }
21696
+ }
21697
+ return null;
21698
+ }
21699
+ function printErrorAndExit(error) {
21700
+ var source = getErrorSource(error);
21701
+ if (process.stderr._handle && process.stderr._handle.setBlocking) {
21702
+ process.stderr._handle.setBlocking(true);
21703
+ }
21704
+ if (source) {
21705
+ console.error();
21706
+ console.error(source);
21707
+ }
21708
+ console.error(error.stack);
21709
+ process.exit(1);
21710
+ }
21711
+ function shimEmitUncaughtException() {
21712
+ var origEmit = process.emit;
21713
+ process.emit = function(type) {
21714
+ if (type === "uncaughtException") {
21715
+ var hasStack = arguments[1] && arguments[1].stack;
21716
+ var hasListeners = this.listeners(type).length > 0;
21717
+ if (hasStack && !hasListeners) {
21718
+ return printErrorAndExit(arguments[1]);
21719
+ }
21720
+ }
21721
+ return origEmit.apply(this, arguments);
21722
+ };
21723
+ }
21724
+ var originalRetrieveFileHandlers = retrieveFileHandlers.slice(0);
21725
+ var originalRetrieveMapHandlers = retrieveMapHandlers.slice(0);
21726
+ exports.wrapCallSite = wrapCallSite;
21727
+ exports.getErrorSource = getErrorSource;
21728
+ exports.mapSourcePosition = mapSourcePosition;
21729
+ exports.retrieveSourceMap = retrieveSourceMap;
21730
+ exports.install = function(options) {
21731
+ options = options || {};
21732
+ if (options.environment) {
21733
+ environment = options.environment;
21734
+ if (["node", "browser", "auto"].indexOf(environment) === -1) {
21735
+ throw new Error("environment " + environment + " was unknown. Available options are {auto, browser, node}");
21736
+ }
21737
+ }
21738
+ if (options.retrieveFile) {
21739
+ if (options.overrideRetrieveFile) {
21740
+ retrieveFileHandlers.length = 0;
21741
+ }
21742
+ retrieveFileHandlers.unshift(options.retrieveFile);
21743
+ }
21744
+ if (options.retrieveSourceMap) {
21745
+ if (options.overrideRetrieveSourceMap) {
21746
+ retrieveMapHandlers.length = 0;
21747
+ }
21748
+ retrieveMapHandlers.unshift(options.retrieveSourceMap);
21749
+ }
21750
+ if (options.hookRequire && !isInBrowser()) {
21751
+ var Module;
21752
+ try {
21753
+ Module = __require("module");
21754
+ } catch (err) {
21755
+ }
21756
+ var $compile = Module.prototype._compile;
21757
+ if (!$compile.__sourceMapSupport) {
21758
+ Module.prototype._compile = function(content, filename) {
21759
+ fileContentsCache[filename] = content;
21760
+ sourceMapCache[filename] = void 0;
21761
+ return $compile.call(this, content, filename);
21762
+ };
21763
+ Module.prototype._compile.__sourceMapSupport = true;
21764
+ }
21765
+ }
21766
+ if (!emptyCacheBetweenOperations) {
21767
+ emptyCacheBetweenOperations = "emptyCacheBetweenOperations" in options ? options.emptyCacheBetweenOperations : false;
21768
+ }
21769
+ if (!errorFormatterInstalled) {
21770
+ errorFormatterInstalled = true;
21771
+ Error.prepareStackTrace = prepareStackTrace;
21772
+ }
21773
+ if (!uncaughtShimInstalled) {
21774
+ var installHandler = "handleUncaughtExceptions" in options ? options.handleUncaughtExceptions : true;
21775
+ if (installHandler && hasGlobalProcessEventEmitter()) {
21776
+ uncaughtShimInstalled = true;
21777
+ shimEmitUncaughtException();
21778
+ }
21779
+ }
21780
+ };
21781
+ exports.resetRetrieveHandlers = function() {
21782
+ retrieveFileHandlers.length = 0;
21783
+ retrieveMapHandlers.length = 0;
21784
+ retrieveFileHandlers = originalRetrieveFileHandlers.slice(0);
21785
+ retrieveMapHandlers = originalRetrieveMapHandlers.slice(0);
21786
+ retrieveSourceMap = handlerExec(retrieveMapHandlers);
21787
+ retrieveFile = handlerExec(retrieveFileHandlers);
21788
+ };
21789
+ }
21790
+ });
21791
+
19525
21792
  // node_modules/typescript/lib/typescript.js
19526
21793
  var require_typescript = __commonJS({
19527
21794
  "node_modules/typescript/lib/typescript.js"(exports, module) {
@@ -19544,7 +21811,7 @@ var require_typescript = __commonJS({
19544
21811
  "src/compiler/corePublic.ts"() {
19545
21812
  "use strict";
19546
21813
  versionMajorMinor = "5.4";
19547
- version = "5.4.3";
21814
+ version = "5.4.5";
19548
21815
  Comparison = /* @__PURE__ */ ((Comparison3) => {
19549
21816
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
19550
21817
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -25195,14 +27462,17 @@ ${lanes.join("\n")}
25195
27462
  pollingIntervalQueue(pollingInterval).pollScheduled = host.setTimeout(pollingInterval === 250 ? pollLowPollingIntervalQueue : pollPollingIntervalQueue, pollingInterval, pollingInterval === 250 ? "pollLowPollingIntervalQueue" : "pollPollingIntervalQueue", pollingIntervalQueue(pollingInterval));
25196
27463
  }
25197
27464
  }
25198
- function createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2) {
27465
+ function createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2, getModifiedTime3, fsWatchWithTimestamp) {
25199
27466
  const fileWatcherCallbacks = createMultiMap();
27467
+ const fileTimestamps = fsWatchWithTimestamp ? /* @__PURE__ */ new Map() : void 0;
25200
27468
  const dirWatchers = /* @__PURE__ */ new Map();
25201
27469
  const toCanonicalName = createGetCanonicalFileName(useCaseSensitiveFileNames2);
25202
27470
  return nonPollingWatchFile;
25203
27471
  function nonPollingWatchFile(fileName, callback, _pollingInterval, fallbackOptions) {
25204
27472
  const filePath = toCanonicalName(fileName);
25205
- fileWatcherCallbacks.add(filePath, callback);
27473
+ if (fileWatcherCallbacks.add(filePath, callback).length === 1 && fileTimestamps) {
27474
+ fileTimestamps.set(filePath, getModifiedTime3(fileName) || missingFileModifiedTime);
27475
+ }
25206
27476
  const dirPath = getDirectoryPath(filePath) || ".";
25207
27477
  const watcher = dirWatchers.get(dirPath) || createDirectoryWatcher(getDirectoryPath(fileName) || ".", dirPath, fallbackOptions);
25208
27478
  watcher.referenceCount++;
@@ -25222,14 +27492,31 @@ ${lanes.join("\n")}
25222
27492
  const watcher = fsWatch(
25223
27493
  dirName,
25224
27494
  1,
25225
- (_eventName, relativeFileName, modifiedTime) => {
27495
+ (eventName, relativeFileName) => {
25226
27496
  if (!isString(relativeFileName))
25227
27497
  return;
25228
27498
  const fileName = getNormalizedAbsolutePath(relativeFileName, dirName);
25229
- const callbacks = fileName && fileWatcherCallbacks.get(toCanonicalName(fileName));
27499
+ const filePath = toCanonicalName(fileName);
27500
+ const callbacks = fileName && fileWatcherCallbacks.get(filePath);
25230
27501
  if (callbacks) {
27502
+ let currentModifiedTime;
27503
+ let eventKind = 1;
27504
+ if (fileTimestamps) {
27505
+ const existingTime = fileTimestamps.get(filePath);
27506
+ if (eventName === "change") {
27507
+ currentModifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime;
27508
+ if (currentModifiedTime.getTime() === existingTime.getTime())
27509
+ return;
27510
+ }
27511
+ currentModifiedTime || (currentModifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime);
27512
+ fileTimestamps.set(filePath, currentModifiedTime);
27513
+ if (existingTime === missingFileModifiedTime)
27514
+ eventKind = 0;
27515
+ else if (currentModifiedTime === missingFileModifiedTime)
27516
+ eventKind = 2;
27517
+ }
25231
27518
  for (const fileCallback of callbacks) {
25232
- fileCallback(fileName, 1, modifiedTime);
27519
+ fileCallback(fileName, eventKind, currentModifiedTime);
25233
27520
  }
25234
27521
  }
25235
27522
  },
@@ -25632,7 +27919,7 @@ ${lanes.join("\n")}
25632
27919
  );
25633
27920
  case 5:
25634
27921
  if (!nonPollingWatchFile) {
25635
- nonPollingWatchFile = createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2);
27922
+ nonPollingWatchFile = createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2, getModifiedTime3, fsWatchWithTimestamp);
25636
27923
  }
25637
27924
  return nonPollingWatchFile(fileName, callback, pollingInterval, getFallbackOptions(options));
25638
27925
  default:
@@ -25822,7 +28109,7 @@ ${lanes.join("\n")}
25822
28109
  return watchPresentFileSystemEntryWithFsWatchFile();
25823
28110
  }
25824
28111
  try {
25825
- const presentWatcher = (!fsWatchWithTimestamp ? fsWatchWorker : fsWatchWorkerHandlingTimestamp)(
28112
+ const presentWatcher = (entryKind === 1 || !fsWatchWithTimestamp ? fsWatchWorker : fsWatchWorkerHandlingTimestamp)(
25826
28113
  fileOrDirectory,
25827
28114
  recursive,
25828
28115
  inodeWatching ? callbackChangingToMissingFileSystemEntry : callback
@@ -26057,7 +28344,7 @@ ${lanes.join("\n")}
26057
28344
  debugMode: !!process.env.NODE_INSPECTOR_IPC || !!process.env.VSCODE_INSPECTOR_OPTIONS || some(process.execArgv, (arg) => /^--(inspect|debug)(-brk)?(=\d+)?$/i.test(arg)) || !!process.recordreplay,
26058
28345
  tryEnableSourceMapsForHost() {
26059
28346
  try {
26060
- __require("source-map-support").install();
28347
+ require_source_map_support().install();
26061
28348
  } catch {
26062
28349
  }
26063
28350
  },
@@ -68484,13 +70771,21 @@ ${lanes.join("\n")}
68484
70771
  }
68485
70772
  const nearestTargetPackageJson = getNearestAncestorDirectoryWithPackageJson(host, getDirectoryPath(modulePath));
68486
70773
  const nearestSourcePackageJson = getNearestAncestorDirectoryWithPackageJson(host, sourceDirectory);
68487
- if (nearestSourcePackageJson !== nearestTargetPackageJson) {
70774
+ const ignoreCase = !hostUsesCaseSensitiveFileNames(host);
70775
+ if (!packageJsonPathsAreEqual(nearestTargetPackageJson, nearestSourcePackageJson, ignoreCase)) {
68488
70776
  return maybeNonRelative;
68489
70777
  }
68490
70778
  return relativePath;
68491
70779
  }
68492
70780
  return isPathRelativeToParent(maybeNonRelative) || countPathComponents(relativePath) < countPathComponents(maybeNonRelative) ? relativePath : maybeNonRelative;
68493
70781
  }
70782
+ function packageJsonPathsAreEqual(a, b, ignoreCase) {
70783
+ if (a === b)
70784
+ return true;
70785
+ if (a === void 0 || b === void 0)
70786
+ return false;
70787
+ return comparePaths(a, b, ignoreCase) === 0;
70788
+ }
68494
70789
  function countPathComponents(path16) {
68495
70790
  let count = 0;
68496
70791
  for (let i = startsWith(path16, "./") ? 2 : 0; i < path16.length; i++) {
@@ -73818,15 +76113,19 @@ ${lanes.join("\n")}
73818
76113
  return true;
73819
76114
  }
73820
76115
  }
73821
- function isEntityNameVisible(entityName, enclosingDeclaration) {
76116
+ function getMeaningOfEntityNameReference(entityName) {
73822
76117
  let meaning;
73823
76118
  if (entityName.parent.kind === 186 || entityName.parent.kind === 233 && !isPartOfTypeNode(entityName.parent) || entityName.parent.kind === 167) {
73824
76119
  meaning = 111551 | 1048576;
73825
- } else if (entityName.kind === 166 || entityName.kind === 211 || entityName.parent.kind === 271) {
76120
+ } else if (entityName.kind === 166 || entityName.kind === 211 || entityName.parent.kind === 271 || entityName.parent.kind === 166 && entityName.parent.left === entityName || entityName.parent.kind === 211 && entityName.parent.expression === entityName || entityName.parent.kind === 212 && entityName.parent.expression === entityName) {
73826
76121
  meaning = 1920;
73827
76122
  } else {
73828
76123
  meaning = 788968;
73829
76124
  }
76125
+ return meaning;
76126
+ }
76127
+ function isEntityNameVisible(entityName, enclosingDeclaration) {
76128
+ const meaning = getMeaningOfEntityNameReference(entityName);
73830
76129
  const firstIdentifier = getFirstIdentifier(entityName);
73831
76130
  const symbol = resolveName(
73832
76131
  enclosingDeclaration,
@@ -76139,9 +78438,10 @@ ${lanes.join("\n")}
76139
78438
  introducesError = true;
76140
78439
  return { introducesError, node };
76141
78440
  }
78441
+ const meaning = getMeaningOfEntityNameReference(node);
76142
78442
  const sym = resolveEntityName(
76143
78443
  leftmost,
76144
- -1,
78444
+ meaning,
76145
78445
  /*ignoreErrors*/
76146
78446
  true,
76147
78447
  /*dontResolveAlias*/
@@ -76151,18 +78451,13 @@ ${lanes.join("\n")}
76151
78451
  if (isSymbolAccessible(
76152
78452
  sym,
76153
78453
  context.enclosingDeclaration,
76154
- -1,
78454
+ meaning,
76155
78455
  /*shouldComputeAliasesToMakeVisible*/
76156
78456
  false
76157
78457
  ).accessibility !== 0) {
76158
78458
  introducesError = true;
76159
78459
  } else {
76160
- context.tracker.trackSymbol(
76161
- sym,
76162
- context.enclosingDeclaration,
76163
- -1
76164
- /* All */
76165
- );
78460
+ context.tracker.trackSymbol(sym, context.enclosingDeclaration, meaning);
76166
78461
  includePrivateSymbol == null ? void 0 : includePrivateSymbol(sym);
76167
78462
  }
76168
78463
  if (isIdentifier(node)) {
@@ -81844,12 +84139,10 @@ ${lanes.join("\n")}
81844
84139
  const target = type.target ?? type;
81845
84140
  const typeVariable = getHomomorphicTypeVariable(target);
81846
84141
  if (typeVariable && !target.declaration.nameType) {
81847
- const constraint = getConstraintTypeFromMappedType(type);
81848
- if (constraint.flags & 4194304) {
81849
- const baseConstraint = getBaseConstraintOfType(constraint.type);
81850
- if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
81851
- return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
81852
- }
84142
+ const modifiersType = getModifiersTypeFromMappedType(type);
84143
+ const baseConstraint = isGenericMappedType(modifiersType) ? getApparentTypeOfMappedType(modifiersType) : getBaseConstraintOfType(modifiersType);
84144
+ if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
84145
+ return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
81853
84146
  }
81854
84147
  }
81855
84148
  return type;
@@ -82015,13 +84308,13 @@ ${lanes.join("\n")}
82015
84308
  }
82016
84309
  function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
82017
84310
  var _a2, _b2, _c2;
82018
- let property = ((_a2 = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a2.get(name)) || !skipObjectFunctionPropertyAugment ? (_b2 = type.propertyCache) == null ? void 0 : _b2.get(name) : void 0;
84311
+ let property = skipObjectFunctionPropertyAugment ? (_a2 = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a2.get(name) : (_b2 = type.propertyCache) == null ? void 0 : _b2.get(name);
82019
84312
  if (!property) {
82020
84313
  property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
82021
84314
  if (property) {
82022
84315
  const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
82023
84316
  properties.set(name, property);
82024
- if (skipObjectFunctionPropertyAugment && !((_c2 = type.propertyCache) == null ? void 0 : _c2.get(name))) {
84317
+ if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48) && !((_c2 = type.propertyCache) == null ? void 0 : _c2.get(name))) {
82025
84318
  const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
82026
84319
  properties2.set(name, property);
82027
84320
  }
@@ -84652,6 +86945,9 @@ ${lanes.join("\n")}
84652
86945
  /* Null */
84653
86946
  );
84654
86947
  result = getUnionType([getIntersectionType(typeSet), nullType], 1, aliasSymbol, aliasTypeArguments);
86948
+ } else if (typeSet.length >= 4) {
86949
+ const middle = Math.floor(typeSet.length / 2);
86950
+ result = getIntersectionType([getIntersectionType(typeSet.slice(0, middle)), getIntersectionType(typeSet.slice(middle))], aliasSymbol, aliasTypeArguments);
84655
86951
  } else {
84656
86952
  if (!checkCrossProductUnion(typeSet)) {
84657
86953
  return errorType;
@@ -189081,7 +191377,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
189081
191377
  }
189082
191378
  function symbolAppearsToBeTypeOnly(symbol) {
189083
191379
  var _a2;
189084
- return !(symbol.flags & 111551) && (!isInJSFile((_a2 = symbol.declarations) == null ? void 0 : _a2[0]) || !!(symbol.flags & 788968));
191380
+ const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
191381
+ return !(flags & 111551) && (!isInJSFile((_a2 = symbol.declarations) == null ? void 0 : _a2[0]) || !!(flags & 788968));
189085
191382
  }
189086
191383
  }
189087
191384
  function getLabelCompletionAtPosition(node) {
@@ -189400,10 +191697,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
189400
191697
  return isJsxExpression(parent2) && !isJsxElement(parent2.parent) && !isJsxFragment(parent2.parent) ? checker.getContextualTypeForJsxAttribute(parent2.parent) : void 0;
189401
191698
  default:
189402
191699
  const argInfo = ts_SignatureHelp_exports.getArgumentInfoForCompletions(previousToken, position, sourceFile, checker);
189403
- return argInfo ? (
189404
- // At `,`, treat this as the next argument after the comma.
189405
- checker.getContextualTypeForArgumentAtIndex(argInfo.invocation, argInfo.argumentIndex + (previousToken.kind === 28 ? 1 : 0))
189406
- ) : isEqualityOperatorKind(previousToken.kind) && isBinaryExpression(parent2) && isEqualityOperatorKind(parent2.operatorToken.kind) ? (
191700
+ return argInfo ? checker.getContextualTypeForArgumentAtIndex(argInfo.invocation, argInfo.argumentIndex) : isEqualityOperatorKind(previousToken.kind) && isBinaryExpression(parent2) && isEqualityOperatorKind(parent2.operatorToken.kind) ? (
189407
191701
  // completion at `x ===/**/` should be for the right side
189408
191702
  checker.getTypeAtLocation(parent2.left)
189409
191703
  ) : checker.getContextualType(
@@ -198277,12 +200571,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
198277
200571
  if (!info)
198278
200572
  return void 0;
198279
200573
  const { list, argumentIndex } = info;
198280
- const argumentCount = getArgumentCount(
198281
- list,
198282
- /*ignoreTrailingComma*/
198283
- isInString(sourceFile, position, node),
198284
- checker
198285
- );
200574
+ const argumentCount = getArgumentCount(checker, list);
198286
200575
  if (argumentIndex !== 0) {
198287
200576
  Debug.assertLessThan(argumentIndex, argumentCount);
198288
200577
  }
@@ -198294,7 +200583,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
198294
200583
  return { list: getChildListThatStartsWithOpenerToken(node.parent, node, sourceFile), argumentIndex: 0 };
198295
200584
  } else {
198296
200585
  const list = findContainingList(node);
198297
- return list && { list, argumentIndex: getArgumentIndex(list, node, checker) };
200586
+ return list && { list, argumentIndex: getArgumentIndex(checker, list, node) };
198298
200587
  }
198299
200588
  }
198300
200589
  function getImmediatelyContainingArgumentInfo(node, position, sourceFile, checker) {
@@ -198427,24 +200716,6 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
198427
200716
  return isFunctionTypeNode(d) ? (_a2 = tryCast(d.parent, canHaveSymbol)) == null ? void 0 : _a2.symbol : void 0;
198428
200717
  }) || s : s;
198429
200718
  }
198430
- function getArgumentIndex(argumentsList, node, checker) {
198431
- const args = argumentsList.getChildren();
198432
- let argumentIndex = 0;
198433
- for (let pos = 0; pos < length(args); pos++) {
198434
- const child = args[pos];
198435
- if (child === node) {
198436
- break;
198437
- }
198438
- if (isSpreadElement(child)) {
198439
- argumentIndex = argumentIndex + getSpreadElementCount(child, checker) + (pos > 0 ? pos : 0);
198440
- } else {
198441
- if (child.kind !== 28) {
198442
- argumentIndex++;
198443
- }
198444
- }
198445
- }
198446
- return argumentIndex;
198447
- }
198448
200719
  function getSpreadElementCount(node, checker) {
198449
200720
  const spreadType = checker.getTypeAtLocation(node.expression);
198450
200721
  if (checker.isTupleType(spreadType)) {
@@ -198457,23 +200728,48 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
198457
200728
  }
198458
200729
  return 0;
198459
200730
  }
198460
- function getArgumentCount(argumentsList, ignoreTrailingComma, checker) {
198461
- const listChildren = argumentsList.getChildren();
198462
- let argumentCount = 0;
198463
- for (const child of listChildren) {
200731
+ function getArgumentIndex(checker, argumentsList, node) {
200732
+ return getArgumentIndexOrCount(checker, argumentsList, node);
200733
+ }
200734
+ function getArgumentCount(checker, argumentsList) {
200735
+ return getArgumentIndexOrCount(
200736
+ checker,
200737
+ argumentsList,
200738
+ /*node*/
200739
+ void 0
200740
+ );
200741
+ }
200742
+ function getArgumentIndexOrCount(checker, argumentsList, node) {
200743
+ const args = argumentsList.getChildren();
200744
+ let argumentIndex = 0;
200745
+ let skipComma = false;
200746
+ for (const child of args) {
200747
+ if (node && child === node) {
200748
+ if (!skipComma && child.kind === 28) {
200749
+ argumentIndex++;
200750
+ }
200751
+ return argumentIndex;
200752
+ }
198464
200753
  if (isSpreadElement(child)) {
198465
- argumentCount = argumentCount + getSpreadElementCount(child, checker);
200754
+ argumentIndex += getSpreadElementCount(child, checker);
200755
+ skipComma = true;
200756
+ continue;
200757
+ }
200758
+ if (child.kind !== 28) {
200759
+ argumentIndex++;
200760
+ skipComma = true;
200761
+ continue;
200762
+ }
200763
+ if (skipComma) {
200764
+ skipComma = false;
200765
+ continue;
198466
200766
  }
200767
+ argumentIndex++;
198467
200768
  }
198468
- argumentCount = argumentCount + countWhere(
198469
- listChildren,
198470
- (arg) => arg.kind !== 28
198471
- /* CommaToken */
198472
- );
198473
- if (!ignoreTrailingComma && listChildren.length > 0 && last(listChildren).kind === 28) {
198474
- argumentCount++;
200769
+ if (node) {
200770
+ return argumentIndex;
198475
200771
  }
198476
- return argumentCount;
200772
+ return args.length && last(args).kind === 28 ? argumentIndex + 1 : argumentIndex;
198477
200773
  }
198478
200774
  function getArgumentIndexForTemplatePiece(spanIndex, node, position, sourceFile) {
198479
200775
  Debug.assert(position >= node.getStart(), "Assumed 'position' could not occur before node.");
@@ -209501,7 +211797,16 @@ ${options.prefix}` : "\n" : options.prefix
209501
211797
  recursive ? watchedDirectoriesRecursive : watchedDirectories,
209502
211798
  path16,
209503
211799
  callback,
209504
- (id) => ({ eventName: CreateDirectoryWatcherEvent, data: { id, path: path16, recursive: !!recursive } })
211800
+ (id) => ({
211801
+ eventName: CreateDirectoryWatcherEvent,
211802
+ data: {
211803
+ id,
211804
+ path: path16,
211805
+ recursive: !!recursive,
211806
+ // Special case node_modules as we watch it for changes to closed script infos as well
211807
+ ignoreUpdate: !path16.endsWith("/node_modules") ? true : void 0
211808
+ }
211809
+ })
209505
211810
  );
209506
211811
  }
209507
211812
  function getOrCreateFileWatcher({ pathToId, idToCallbacks }, path16, callback, event) {
@@ -209528,24 +211833,43 @@ ${options.prefix}` : "\n" : options.prefix
209528
211833
  }
209529
211834
  };
209530
211835
  }
209531
- function onWatchChange({ id, path: path16, eventType }) {
209532
- onFileWatcherCallback(id, path16, eventType);
209533
- onDirectoryWatcherCallback(watchedDirectories, id, path16, eventType);
209534
- onDirectoryWatcherCallback(watchedDirectoriesRecursive, id, path16, eventType);
211836
+ function onWatchChange(args) {
211837
+ if (isArray(args))
211838
+ args.forEach(onWatchChangeRequestArgs);
211839
+ else
211840
+ onWatchChangeRequestArgs(args);
209535
211841
  }
209536
- function onFileWatcherCallback(id, eventPath, eventType) {
209537
- var _a2;
209538
- (_a2 = watchedFiles.idToCallbacks.get(id)) == null ? void 0 : _a2.forEach((callback) => {
209539
- const eventKind = eventType === "create" ? 0 : eventType === "delete" ? 2 : 1;
209540
- callback(eventPath, eventKind);
209541
- });
211842
+ function onWatchChangeRequestArgs({ id, created, deleted, updated }) {
211843
+ onWatchEventType(
211844
+ id,
211845
+ created,
211846
+ 0
211847
+ /* Created */
211848
+ );
211849
+ onWatchEventType(
211850
+ id,
211851
+ deleted,
211852
+ 2
211853
+ /* Deleted */
211854
+ );
211855
+ onWatchEventType(
211856
+ id,
211857
+ updated,
211858
+ 1
211859
+ /* Changed */
211860
+ );
209542
211861
  }
209543
- function onDirectoryWatcherCallback({ idToCallbacks }, id, eventPath, eventType) {
209544
- var _a2;
209545
- if (eventType === "update")
211862
+ function onWatchEventType(id, paths, eventKind) {
211863
+ if (!(paths == null ? void 0 : paths.length))
209546
211864
  return;
209547
- (_a2 = idToCallbacks.get(id)) == null ? void 0 : _a2.forEach((callback) => {
209548
- callback(eventPath);
211865
+ forEachCallback(watchedFiles, id, paths, (callback, eventPath) => callback(eventPath, eventKind));
211866
+ forEachCallback(watchedDirectories, id, paths, (callback, eventPath) => callback(eventPath));
211867
+ forEachCallback(watchedDirectoriesRecursive, id, paths, (callback, eventPath) => callback(eventPath));
211868
+ }
211869
+ function forEachCallback(hostWatcherMap, id, eventPaths, cb) {
211870
+ var _a2;
211871
+ (_a2 = hostWatcherMap.idToCallbacks.get(id)) == null ? void 0 : _a2.forEach((callback) => {
211872
+ eventPaths.forEach((eventPath) => cb(callback, normalizeSlashes(eventPath)));
209549
211873
  });
209550
211874
  }
209551
211875
  }
@@ -222715,7 +225039,7 @@ var require_env_paths = __commonJS({
222715
225039
  });
222716
225040
 
222717
225041
  // node_modules/cosmiconfig/dist/util.js
222718
- var require_util2 = __commonJS({
225042
+ var require_util3 = __commonJS({
222719
225043
  "node_modules/cosmiconfig/dist/util.js"(exports) {
222720
225044
  "use strict";
222721
225045
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
@@ -222819,7 +225143,7 @@ var require_ExplorerBase = __commonJS({
222819
225143
  var env_paths_1 = __importDefault(require_env_paths());
222820
225144
  var os_1 = __importDefault(__require("os"));
222821
225145
  var path_1 = __importDefault(__require("path"));
222822
- var util_js_1 = require_util2();
225146
+ var util_js_1 = require_util3();
222823
225147
  var ExplorerBase = class {
222824
225148
  #loadingMetaConfig = false;
222825
225149
  config;
@@ -222975,7 +225299,7 @@ var require_Explorer = __commonJS({
222975
225299
  var defaults_1 = require_defaults2();
222976
225300
  var ExplorerBase_js_1 = require_ExplorerBase();
222977
225301
  var merge_1 = require_merge2();
222978
- var util_js_1 = require_util2();
225302
+ var util_js_1 = require_util3();
222979
225303
  var Explorer = class extends ExplorerBase_js_1.ExplorerBase {
222980
225304
  async load(filepath) {
222981
225305
  filepath = path_1.default.resolve(filepath);
@@ -223133,7 +225457,7 @@ var require_ExplorerSync = __commonJS({
223133
225457
  var defaults_1 = require_defaults2();
223134
225458
  var ExplorerBase_js_1 = require_ExplorerBase();
223135
225459
  var merge_1 = require_merge2();
223136
- var util_js_1 = require_util2();
225460
+ var util_js_1 = require_util3();
223137
225461
  var ExplorerSync = class extends ExplorerBase_js_1.ExplorerBase {
223138
225462
  load(filepath) {
223139
225463
  filepath = path_1.default.resolve(filepath);
@@ -223318,7 +225642,7 @@ var require_dist = __commonJS({
223318
225642
  } });
223319
225643
  var Explorer_js_1 = require_Explorer();
223320
225644
  var ExplorerSync_js_1 = require_ExplorerSync();
223321
- var util_1 = require_util2();
225645
+ var util_1 = require_util3();
223322
225646
  var identity2 = function identity3(x) {
223323
225647
  return x;
223324
225648
  };
@@ -256870,7 +259194,7 @@ var wildcards = [
256870
259194
  test(/^((Merge pull request)|(Merge (.*?) into (.*?)|(Merge branch (.*?)))(?:\r?\n)*$)/m),
256871
259195
  test(/^(Merge tag (.*?))(?:\r?\n)*$/m),
256872
259196
  test(/^(R|r)evert (.*)/),
256873
- test(/^(fixup|squash)!/),
259197
+ test(/^(amend|fixup|squash)!/),
256874
259198
  isSemver,
256875
259199
  test(/^(Merged (.*?)(in|into) (.*)|Merged PR (.*): (.*))/),
256876
259200
  test(/^Merge remote-tracking branch(\s*)(.*)/),
@@ -262349,11 +264673,11 @@ import { inspect as inspect2 } from "util";
262349
264673
  import { readFileSync as readFileSync5 } from "fs";
262350
264674
  import { fileURLToPath as fileURLToPath10 } from "url";
262351
264675
 
262352
- // node_modules/yargs/node_modules/yargs-parser/build/lib/index.js
264676
+ // node_modules/yargs-parser/build/lib/index.js
262353
264677
  import { format as format2 } from "util";
262354
264678
  import { normalize, resolve as resolve2 } from "path";
262355
264679
 
262356
- // node_modules/yargs/node_modules/yargs-parser/build/lib/string-utils.js
264680
+ // node_modules/yargs-parser/build/lib/string-utils.js
262357
264681
  function camelCase2(str) {
262358
264682
  const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase();
262359
264683
  if (!isCamelCase) {
@@ -262407,7 +264731,7 @@ function looksLikeNumber(x) {
262407
264731
  return /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x);
262408
264732
  }
262409
264733
 
262410
- // node_modules/yargs/node_modules/yargs-parser/build/lib/tokenize-arg-string.js
264734
+ // node_modules/yargs-parser/build/lib/tokenize-arg-string.js
262411
264735
  function tokenizeArgString(argString) {
262412
264736
  if (Array.isArray(argString)) {
262413
264737
  return argString.map((e) => typeof e !== "string" ? e + "" : e);
@@ -262439,7 +264763,7 @@ function tokenizeArgString(argString) {
262439
264763
  return args;
262440
264764
  }
262441
264765
 
262442
- // node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser-types.js
264766
+ // node_modules/yargs-parser/build/lib/yargs-parser-types.js
262443
264767
  var DefaultValuesForTypeKey;
262444
264768
  (function(DefaultValuesForTypeKey2) {
262445
264769
  DefaultValuesForTypeKey2["BOOLEAN"] = "boolean";
@@ -262448,7 +264772,7 @@ var DefaultValuesForTypeKey;
262448
264772
  DefaultValuesForTypeKey2["ARRAY"] = "array";
262449
264773
  })(DefaultValuesForTypeKey || (DefaultValuesForTypeKey = {}));
262450
264774
 
262451
- // node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser.js
264775
+ // node_modules/yargs-parser/build/lib/yargs-parser.js
262452
264776
  var mixin2;
262453
264777
  var YargsParser = class {
262454
264778
  constructor(_mixin) {
@@ -263288,7 +265612,7 @@ function stripQuotes(val) {
263288
265612
  return typeof val === "string" && (val[0] === "'" || val[0] === '"') && val[val.length - 1] === val[0] ? val.substring(1, val.length - 1) : val;
263289
265613
  }
263290
265614
 
263291
- // node_modules/yargs/node_modules/yargs-parser/build/lib/index.js
265615
+ // node_modules/yargs-parser/build/lib/index.js
263292
265616
  import { readFileSync as readFileSync3 } from "fs";
263293
265617
  var _a;
263294
265618
  var _b;