@shopify/create-app 3.72.2 → 3.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/{chokidar-OESTCX4H.js → chokidar-5LLC6S6D.js} +47 -90
  2. package/dist/{chunk-VSLR7ET4.js → chunk-25IMI7TH.js} +8 -46
  3. package/dist/{chunk-44TM5IPK.js → chunk-2KUKSPXE.js} +38 -67
  4. package/dist/{chunk-NYQZZU5H.js → chunk-32ADIPRM.js} +1404 -1995
  5. package/dist/{chunk-NCKQIOV4.js → chunk-3HBRMIPY.js} +28 -50
  6. package/dist/{chunk-XVNW332R.js → chunk-75LV6AQS.js} +6 -10
  7. package/dist/{chunk-CQGOPQQH.js → chunk-BOBYVF6Z.js} +298 -457
  8. package/dist/{chunk-NB4NLOEJ.js → chunk-BUFIEXZ5.js} +11 -20
  9. package/dist/{chunk-522OB3EU.js → chunk-CFIKVUNW.js} +2 -2
  10. package/dist/{chunk-KYB6A4PE.js → chunk-CRHXI6PS.js} +13 -23
  11. package/dist/{chunk-76IKKNIT.js → chunk-ESJZHEJV.js} +172 -126
  12. package/dist/{chunk-6WYZ3SZB.js → chunk-EZFQXNK5.js} +3 -3
  13. package/dist/{chunk-7MR36YRL.js → chunk-FCVEYEXQ.js} +80 -114
  14. package/dist/{chunk-UBB7JKND.js → chunk-G2ZZKGSV.js} +2 -2
  15. package/dist/{chunk-SNOECVP4.js → chunk-OAZFIMJ3.js} +2 -2
  16. package/dist/{chunk-5QRI42QY.js → chunk-PGIQSURY.js} +39 -66
  17. package/dist/{chunk-POZ5MGPT.js → chunk-PKR7KJ6P.js} +2 -3
  18. package/dist/{chunk-6EBCZH5K.js → chunk-RQFIH5UJ.js} +17 -20
  19. package/dist/{chunk-O5K4AU7Q.js → chunk-SHWOPMLQ.js} +3 -4
  20. package/dist/{chunk-ZBFY4XQE.js → chunk-SXEU7RMP.js} +4 -4
  21. package/dist/{chunk-PMUQTGZJ.js → chunk-X7YTIMNN.js} +4 -6
  22. package/dist/{chunk-7F4XFNYI.js → chunk-Z2K6T5HO.js} +29 -34
  23. package/dist/{custom-oclif-loader-HIY3GAUH.js → custom-oclif-loader-XEKDTAWW.js} +12 -12
  24. package/dist/{del-2FOJ63S7.js → del-WGII2Y5S.js} +8 -8
  25. package/dist/{devtools-KYKGATNX.js → devtools-K7FXBBFZ.js} +3 -3
  26. package/dist/error-handler-5R6VHH3O.js +31 -0
  27. package/dist/hooks/postrun.js +15 -15
  28. package/dist/hooks/prerun.js +15 -15
  29. package/dist/{http-proxy-GGTVQ6CU.js → http-proxy-FXWKYHZ3.js} +14 -24
  30. package/dist/index.js +6735 -6727
  31. package/dist/index.test.js +64 -86
  32. package/dist/lib-CKTRCGTR.js +11 -0
  33. package/dist/{local-KJ4JZFN6.js → local-RZ6SWPQL.js} +12 -12
  34. package/dist/{magic-string.es-3RXPUXZF.js → magic-string.es-PJMYOE6F.js} +49 -96
  35. package/dist/{multipart-parser-QKUAJJP5.js → multipart-parser-WSNBP656.js} +8 -7
  36. package/dist/{node-package-manager-53URJXW6.js → node-package-manager-ZXZ6WUOK.js} +15 -13
  37. package/dist/{open-MZGVNFZO.js → open-BHIF7E3E.js} +3 -3
  38. package/dist/out-JR4DWQ2G.js +7 -0
  39. package/dist/{path-3RNJ32DF.js → path-AAVNXP24.js} +3 -3
  40. package/dist/tsconfig.tsbuildinfo +1 -1
  41. package/dist/{ui-3EX7RFZH.js → ui-AIFW6J5L.js} +12 -12
  42. package/oclif.manifest.json +1 -1
  43. package/package.json +4 -4
  44. package/dist/error-handler-JK453YDL.js +0 -31
  45. package/dist/lib-EGJUAXU5.js +0 -11
  46. package/dist/out-MHEKZJWS.js +0 -7
@@ -2,20 +2,20 @@ import {
2
2
  require_has_flag,
3
3
  require_src,
4
4
  require_supports_color
5
- } from "./chunk-SNOECVP4.js";
5
+ } from "./chunk-OAZFIMJ3.js";
6
6
  import {
7
7
  require_balanced_match,
8
8
  require_globby,
9
9
  require_indent_string
10
- } from "./chunk-6WYZ3SZB.js";
10
+ } from "./chunk-EZFQXNK5.js";
11
11
  import {
12
12
  require_is_wsl
13
- } from "./chunk-UBB7JKND.js";
13
+ } from "./chunk-G2ZZKGSV.js";
14
14
  import {
15
15
  __commonJS,
16
16
  __require,
17
17
  init_cjs_shims
18
- } from "./chunk-POZ5MGPT.js";
18
+ } from "./chunk-PKR7KJ6P.js";
19
19
 
20
20
  // ../../node_modules/.pnpm/@oclif+core@3.26.5/node_modules/@oclif/core/lib/cli-ux/write.js
21
21
  var require_write = __commonJS({
@@ -1389,8 +1389,7 @@ var require_wrap_ansi = __commonJS({
1389
1389
  if (groups.code !== void 0) {
1390
1390
  let code2 = Number.parseFloat(groups.code);
1391
1391
  escapeCode = code2 === END_CODE ? void 0 : code2;
1392
- } else
1393
- groups.uri !== void 0 && (escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri);
1392
+ } else groups.uri !== void 0 && (escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri);
1394
1393
  }
1395
1394
  let code = ansiStyles.codes.get(Number(escapeCode));
1396
1395
  pre[index + 1] === `
@@ -1827,12 +1826,9 @@ var require_error = __commonJS({
1827
1826
  } : function(o, v) {
1828
1827
  o.default = v;
1829
1828
  }), __importStar = exports && exports.__importStar || function(mod) {
1830
- if (mod && mod.__esModule)
1831
- return mod;
1829
+ if (mod && mod.__esModule) return mod;
1832
1830
  var result = {};
1833
- if (mod != null)
1834
- for (var k in mod)
1835
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
1831
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
1836
1832
  return __setModuleDefault(result, mod), result;
1837
1833
  }, __importDefault = exports && exports.__importDefault || function(mod) {
1838
1834
  return mod && mod.__esModule ? mod : { default: mod };
@@ -1955,8 +1951,7 @@ var require_color_string = __commonJS({
1955
1951
  for (i = 0; i < 3; i++)
1956
1952
  rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);
1957
1953
  match[4] && (match[5] ? rgb[3] = parseFloat(match[4]) * 0.01 : rgb[3] = parseFloat(match[4]));
1958
- } else
1959
- return (match = string.match(keyword)) ? match[1] === "transparent" ? [0, 0, 0, 0] : hasOwnProperty.call(colorNames, match[1]) ? (rgb = colorNames[match[1]], rgb[3] = 1, rgb) : null : null;
1954
+ } else return (match = string.match(keyword)) ? match[1] === "transparent" ? [0, 0, 0, 0] : hasOwnProperty.call(colorNames, match[1]) ? (rgb = colorNames[match[1]], rgb[3] = 1, rgb) : null : null;
1960
1955
  for (i = 0; i < 3; i++)
1961
1956
  rgb[i] = clamp(rgb[i], 0, 255);
1962
1957
  return rgb[3] = clamp(rgb[3], 0, 1), rgb;
@@ -2362,12 +2357,9 @@ var require_theme2 = __commonJS({
2362
2357
  } : function(o, v) {
2363
2358
  o.default = v;
2364
2359
  }), __importStar = exports && exports.__importStar || function(mod) {
2365
- if (mod && mod.__esModule)
2366
- return mod;
2360
+ if (mod && mod.__esModule) return mod;
2367
2361
  var result = {};
2368
- if (mod != null)
2369
- for (var k in mod)
2370
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
2362
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
2371
2363
  return __setModuleDefault(result, mod), result;
2372
2364
  }, __importDefault = exports && exports.__importDefault || function(mod) {
2373
2365
  return mod && mod.__esModule ? mod : { default: mod };
@@ -3551,8 +3543,7 @@ var require_source_map_support = __commonJS({
3551
3543
  return fileContentsCache[path2] = contents;
3552
3544
  });
3553
3545
  function supportRelativeURL(file, url) {
3554
- if (!file)
3555
- return url;
3546
+ if (!file) return url;
3556
3547
  var dir = path.dirname(file), match = /^\w+:\/\/[^\/]*/.exec(dir), protocol = match ? match[0] : "", startPath = dir.slice(protocol.length);
3557
3548
  return protocol && /^\/\w\:/.test(startPath) ? (protocol += "/", protocol + path.resolve(dir.slice(protocol.length), url).replace(/\\/g, "/")) : protocol + path.resolve(dir.slice(protocol.length), url);
3558
3549
  }
@@ -3568,15 +3559,13 @@ var require_source_map_support = __commonJS({
3568
3559
  } catch {
3569
3560
  }
3570
3561
  fileData = retrieveFile(source);
3571
- for (var re = /(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg, lastMatch, match; match = re.exec(fileData); )
3572
- lastMatch = match;
3562
+ for (var re = /(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg, lastMatch, match; match = re.exec(fileData); ) lastMatch = match;
3573
3563
  return lastMatch ? lastMatch[1] : null;
3574
3564
  }
3575
3565
  var retrieveSourceMap = handlerExec(retrieveMapHandlers);
3576
3566
  retrieveMapHandlers.push(function(source) {
3577
3567
  var sourceMappingURL = retrieveSourceMapURL(source);
3578
- if (!sourceMappingURL)
3579
- return null;
3568
+ if (!sourceMappingURL) return null;
3580
3569
  var sourceMapData;
3581
3570
  if (reSourceMap.test(sourceMappingURL)) {
3582
3571
  var rawData = sourceMappingURL.slice(sourceMappingURL.indexOf(",") + 1);
@@ -3647,8 +3636,7 @@ var require_source_map_support = __commonJS({
3647
3636
  typeName === "[object Object]" && (typeName = "null");
3648
3637
  var methodName = this.getMethodName();
3649
3638
  functionName ? (typeName && functionName.indexOf(typeName) != 0 && (line += typeName + "."), line += functionName, methodName && functionName.indexOf("." + methodName) != functionName.length - methodName.length - 1 && (line += " [as " + methodName + "]")) : line += typeName + "." + (methodName || "<anonymous>");
3650
- } else
3651
- isConstructor ? line += "new " + (functionName || "<anonymous>") : functionName ? line += functionName : (line += fileLocation, addSuffix = !1);
3639
+ } else isConstructor ? line += "new " + (functionName || "<anonymous>") : functionName ? line += functionName : (line += fileLocation, addSuffix = !1);
3652
3640
  return addSuffix && (line += " (" + fileLocation + ")"), line;
3653
3641
  }
3654
3642
  function cloneCallSite(frame) {
@@ -4640,8 +4628,7 @@ var require_typescript = __commonJS({
4640
4628
  for (let i = 0; i < arguments.length; i++)
4641
4629
  args[i] = arguments[i];
4642
4630
  return (t) => reduceLeft(args, (u, f) => f(u), t);
4643
- } else
4644
- return d ? (t) => d(c(b(a(t)))) : c ? (t) => c(b(a(t))) : b ? (t) => b(a(t)) : a ? (t) => a(t) : (t) => t;
4631
+ } else return d ? (t) => d(c(b(a(t)))) : c ? (t) => c(b(a(t))) : b ? (t) => b(a(t)) : a ? (t) => a(t) : (t) => t;
4645
4632
  }
4646
4633
  function equateValues(a, b) {
4647
4634
  return a === b;
@@ -5556,8 +5543,7 @@ m2: ${this.mapper2.__debugToString().split(`
5556
5543
  if (links[id] = graphNode = { id, flowNode: flowNode2, edges: [], text: "", lane: -1, endLane: -1, level: -1, circular: !1 }, nodes.push(graphNode), hasAntecedents(flowNode2))
5557
5544
  for (let antecedent of flowNode2.antecedents)
5558
5545
  buildGraphEdge(graphNode, antecedent, seen);
5559
- else
5560
- hasAntecedent(flowNode2) && buildGraphEdge(graphNode, flowNode2.antecedent, seen);
5546
+ else hasAntecedent(flowNode2) && buildGraphEdge(graphNode, flowNode2.antecedent, seen);
5561
5547
  return seen.delete(flowNode2), graphNode;
5562
5548
  }
5563
5549
  function buildGraphEdge(source, antecedent, seen) {
@@ -5817,37 +5803,36 @@ ${lanes.join(`
5817
5803
  let { version: version2, major, minor, patch } = result;
5818
5804
  if (isWildcard(major))
5819
5805
  (operator === "<" || operator === ">") && comparators.push(createComparator("<", Version.zero));
5820
- else
5821
- switch (operator) {
5822
- case "~":
5823
- comparators.push(createComparator(">=", version2)), comparators.push(createComparator("<", version2.increment(
5824
- isWildcard(minor) ? "major" : "minor"
5825
- )));
5826
- break;
5827
- case "^":
5828
- comparators.push(createComparator(">=", version2)), comparators.push(createComparator("<", version2.increment(
5829
- version2.major > 0 || isWildcard(minor) ? "major" : version2.minor > 0 || isWildcard(patch) ? "minor" : "patch"
5830
- )));
5831
- break;
5832
- case "<":
5833
- case ">=":
5834
- comparators.push(
5835
- isWildcard(minor) || isWildcard(patch) ? createComparator(operator, version2.with({ prerelease: "0" })) : createComparator(operator, version2)
5836
- );
5837
- break;
5838
- case "<=":
5839
- case ">":
5840
- comparators.push(
5841
- isWildcard(minor) ? createComparator(operator === "<=" ? "<" : ">=", version2.increment("major").with({ prerelease: "0" })) : isWildcard(patch) ? createComparator(operator === "<=" ? "<" : ">=", version2.increment("minor").with({ prerelease: "0" })) : createComparator(operator, version2)
5842
- );
5843
- break;
5844
- case "=":
5845
- case void 0:
5846
- isWildcard(minor) || isWildcard(patch) ? (comparators.push(createComparator(">=", version2.with({ prerelease: "0" }))), comparators.push(createComparator("<", version2.increment(isWildcard(minor) ? "major" : "minor").with({ prerelease: "0" })))) : comparators.push(createComparator("=", version2));
5847
- break;
5848
- default:
5849
- return !1;
5850
- }
5806
+ else switch (operator) {
5807
+ case "~":
5808
+ comparators.push(createComparator(">=", version2)), comparators.push(createComparator("<", version2.increment(
5809
+ isWildcard(minor) ? "major" : "minor"
5810
+ )));
5811
+ break;
5812
+ case "^":
5813
+ comparators.push(createComparator(">=", version2)), comparators.push(createComparator("<", version2.increment(
5814
+ version2.major > 0 || isWildcard(minor) ? "major" : version2.minor > 0 || isWildcard(patch) ? "minor" : "patch"
5815
+ )));
5816
+ break;
5817
+ case "<":
5818
+ case ">=":
5819
+ comparators.push(
5820
+ isWildcard(minor) || isWildcard(patch) ? createComparator(operator, version2.with({ prerelease: "0" })) : createComparator(operator, version2)
5821
+ );
5822
+ break;
5823
+ case "<=":
5824
+ case ">":
5825
+ comparators.push(
5826
+ isWildcard(minor) ? createComparator(operator === "<=" ? "<" : ">=", version2.increment("major").with({ prerelease: "0" })) : isWildcard(patch) ? createComparator(operator === "<=" ? "<" : ">=", version2.increment("minor").with({ prerelease: "0" })) : createComparator(operator, version2)
5827
+ );
5828
+ break;
5829
+ case "=":
5830
+ case void 0:
5831
+ isWildcard(minor) || isWildcard(patch) ? (comparators.push(createComparator(">=", version2.with({ prerelease: "0" }))), comparators.push(createComparator("<", version2.increment(isWildcard(minor) ? "major" : "minor").with({ prerelease: "0" })))) : comparators.push(createComparator("=", version2));
5832
+ break;
5833
+ default:
5834
+ return !1;
5835
+ }
5851
5836
  return !0;
5852
5837
  }
5853
5838
  function isWildcard(part) {
@@ -6634,8 +6619,7 @@ ${lanes.join(`
6634
6619
  queue[pollIndex] = void 0;
6635
6620
  continue;
6636
6621
  }
6637
- } else
6638
- continue;
6622
+ } else continue;
6639
6623
  chunkSize--;
6640
6624
  let fileChanged = onWatchedFileStat(watchedFile, getModifiedTime(host, watchedFile.fileName));
6641
6625
  if (watchedFile.isClosed) {
@@ -11099,8 +11083,7 @@ ${lanes.join(`
11099
11083
  else if (ch === 47 && !inCharacterClass) {
11100
11084
  p++;
11101
11085
  break;
11102
- } else
11103
- ch === 91 ? inCharacterClass = !0 : ch === 92 ? inEscape = !0 : ch === 93 && (inCharacterClass = !1);
11086
+ } else ch === 91 ? inCharacterClass = !0 : ch === 92 ? inEscape = !0 : ch === 93 && (inCharacterClass = !1);
11104
11087
  p++;
11105
11088
  }
11106
11089
  for (; p < end && isIdentifierPart(text.charCodeAt(p), languageVersion); )
@@ -11830,8 +11813,7 @@ ${lanes.join(`
11830
11813
  return getElementOrPropertyAccessArgumentExpressionOrName(node.parent.left);
11831
11814
  } else if (isVariableDeclaration(node.parent) && isIdentifier(node.parent.name))
11832
11815
  return node.parent.name;
11833
- } else
11834
- return;
11816
+ } else return;
11835
11817
  }
11836
11818
  function getDecorators(node) {
11837
11819
  if (hasDecorators(node))
@@ -14279,8 +14261,7 @@ ${lanes.join(`
14279
14261
  traverse(node.name.expression);
14280
14262
  return;
14281
14263
  }
14282
- } else
14283
- isPartOfTypeNode(node) || forEachChild(node, traverse);
14264
+ } else isPartOfTypeNode(node) || forEachChild(node, traverse);
14284
14265
  }
14285
14266
  }
14286
14267
  }
@@ -14625,8 +14606,7 @@ ${lanes.join(`
14625
14606
  if (!firstAccessorWithDecorators || node !== firstAccessorWithDecorators)
14626
14607
  return !1;
14627
14608
  parameters = setAccessor?.parameters;
14628
- } else
14629
- isMethodDeclaration(node) && (parameters = node.parameters);
14609
+ } else isMethodDeclaration(node) && (parameters = node.parameters);
14630
14610
  if (nodeIsDecorated(useLegacyDecorators, node, parent2))
14631
14611
  return !0;
14632
14612
  if (parameters) {
@@ -21055,8 +21035,7 @@ ${lanes.join(`
21055
21035
  if (cooked === void 0)
21056
21036
  return Debug.fail("Arguments 'text' and 'rawText' may not both be undefined.");
21057
21037
  text = cooked;
21058
- } else
21059
- cooked !== void 0 && Debug.assert(text === cooked, "Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");
21038
+ } else cooked !== void 0 && Debug.assert(text === cooked, "Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");
21060
21039
  return text;
21061
21040
  }
21062
21041
  function getTransformFlagsOfTemplateLiteralLike(templateFlags) {
@@ -26252,8 +26231,7 @@ ${lanes.join(`
26252
26231
  else if (types) {
26253
26232
  let parsed = parseResolutionMode(res, types.pos, types.end, reportDiagnostic);
26254
26233
  typeReferenceDirectives.push({ pos: types.pos, end: types.end, fileName: types.value, ...parsed ? { resolutionMode: parsed } : {} });
26255
- } else
26256
- lib ? libReferenceDirectives.push({ pos: lib.pos, end: lib.end, fileName: lib.value }) : path ? referencedFiles.push({ pos: path.pos, end: path.end, fileName: path.value }) : reportDiagnostic(arg.range.pos, arg.range.end - arg.range.pos, Diagnostics.Invalid_reference_directive_syntax);
26234
+ } else lib ? libReferenceDirectives.push({ pos: lib.pos, end: lib.end, fileName: lib.value }) : path ? referencedFiles.push({ pos: path.pos, end: path.end, fileName: path.value }) : reportDiagnostic(arg.range.pos, arg.range.end - arg.range.pos, Diagnostics.Invalid_reference_directive_syntax);
26257
26235
  });
26258
26236
  break;
26259
26237
  }
@@ -29691,11 +29669,10 @@ ${lanes.join(`
29691
29669
  } else
29692
29670
  closingElement = parseJsxClosingElement(opening, inExpressionContext), tagNamesAreEquivalent(opening.tagName, closingElement.tagName) || (openingTag && isJsxOpeningElement(openingTag) && tagNamesAreEquivalent(closingElement.tagName, openingTag.tagName) ? parseErrorAtRange(opening.tagName, Diagnostics.JSX_element_0_has_no_corresponding_closing_tag, getTextOfNodeFromSourceText(sourceText, opening.tagName)) : parseErrorAtRange(closingElement.tagName, Diagnostics.Expected_corresponding_JSX_closing_tag_for_0, getTextOfNodeFromSourceText(sourceText, opening.tagName)));
29693
29671
  result = finishNode(factory2.createJsxElement(opening, children, closingElement), pos);
29694
- } else
29695
- opening.kind === 289 ? result = finishNode(factory2.createJsxFragment(opening, parseJsxChildren(opening), parseJsxClosingFragment(inExpressionContext)), pos) : (Debug.assert(
29696
- opening.kind === 285
29697
- /* JsxSelfClosingElement */
29698
- ), result = opening);
29672
+ } else opening.kind === 289 ? result = finishNode(factory2.createJsxFragment(opening, parseJsxChildren(opening), parseJsxClosingFragment(inExpressionContext)), pos) : (Debug.assert(
29673
+ opening.kind === 285
29674
+ /* JsxSelfClosingElement */
29675
+ ), result = opening);
29699
29676
  if (!mustBeUnary && inExpressionContext && token() === 30) {
29700
29677
  let topBadPos = typeof topInvalidNodePosition > "u" ? result.pos : topInvalidNodePosition, invalidElement = tryParse(() => parseJsxElementOrSelfClosingElementOrFragment(
29701
29678
  /*inExpressionContext*/
@@ -31805,10 +31782,8 @@ ${lanes.join(`
31805
31782
  if (token() === 130) {
31806
31783
  let secondAs = parseIdentifierName();
31807
31784
  tokenIsIdentifierOrKeyword(token()) ? (isTypeOnly = !0, propertyName = firstAs, name = parseNameWithKeywordCheck(), canParseAsKeyword = !1) : (propertyName = name, name = secondAs, canParseAsKeyword = !1);
31808
- } else
31809
- tokenIsIdentifierOrKeyword(token()) ? (propertyName = name, canParseAsKeyword = !1, name = parseNameWithKeywordCheck()) : (isTypeOnly = !0, name = firstAs);
31810
- } else
31811
- tokenIsIdentifierOrKeyword(token()) && (isTypeOnly = !0, name = parseNameWithKeywordCheck());
31785
+ } else tokenIsIdentifierOrKeyword(token()) ? (propertyName = name, canParseAsKeyword = !1, name = parseNameWithKeywordCheck()) : (isTypeOnly = !0, name = firstAs);
31786
+ } else tokenIsIdentifierOrKeyword(token()) && (isTypeOnly = !0, name = parseNameWithKeywordCheck());
31812
31787
  canParseAsKeyword && token() === 130 && (propertyName = name, parseExpected(
31813
31788
  130
31814
31789
  /* AsKeyword */
@@ -33745,17 +33720,15 @@ ${lanes.join(`
33745
33720
  if (option) {
33746
33721
  let currentOption;
33747
33722
  parentOption === compilerOptionsDeclaration ? currentOption = options : parentOption === watchOptionsDeclaration ? currentOption = watchOptions ?? (watchOptions = {}) : parentOption === typeAcquisitionDeclaration ? currentOption = typeAcquisition ?? (typeAcquisition = getDefaultTypeAcquisition(configFileName)) : Debug.fail("Unknown option"), currentOption[option.name] = value;
33748
- } else
33749
- keyText && parentOption?.extraKeyDiagnostics && (parentOption.elementOptions ? errors.push(createUnknownOptionError(
33750
- keyText,
33751
- parentOption.extraKeyDiagnostics,
33752
- /*unknownOptionErrorText*/
33753
- void 0,
33754
- propertyAssignment.name,
33755
- sourceFile
33756
- )) : errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, parentOption.extraKeyDiagnostics.unknownOptionDiagnostic, keyText)));
33757
- else
33758
- parentOption === rootOptions && (option === extendsOptionDeclaration ? extendedConfigPath = getExtendsConfigPathOrArray(value, host, basePath, configFileName, errors, propertyAssignment, propertyAssignment.initializer, sourceFile) : option || (keyText === "excludes" && errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)), find(commandOptionsWithoutBuild, (opt) => opt.name === keyText) && (rootCompilerOptions = append(rootCompilerOptions, propertyAssignment.name))));
33723
+ } else keyText && parentOption?.extraKeyDiagnostics && (parentOption.elementOptions ? errors.push(createUnknownOptionError(
33724
+ keyText,
33725
+ parentOption.extraKeyDiagnostics,
33726
+ /*unknownOptionErrorText*/
33727
+ void 0,
33728
+ propertyAssignment.name,
33729
+ sourceFile
33730
+ )) : errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, parentOption.extraKeyDiagnostics.unknownOptionDiagnostic, keyText)));
33731
+ else parentOption === rootOptions && (option === extendsOptionDeclaration ? extendedConfigPath = getExtendsConfigPathOrArray(value, host, basePath, configFileName, errors, propertyAssignment, propertyAssignment.initializer, sourceFile) : option || (keyText === "excludes" && errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)), find(commandOptionsWithoutBuild, (opt) => opt.name === keyText) && (rootCompilerOptions = append(rootCompilerOptions, propertyAssignment.name))));
33759
33732
  }
33760
33733
  }
33761
33734
  function getExtendsConfigPath(extendedConfig, host, basePath, errors, valueExpression, sourceFile) {
@@ -35912,8 +35885,7 @@ ${lanes.join(`
35912
35885
  );
35913
35886
  result2 = searchResult && searchResult.value;
35914
35887
  }
35915
- else
35916
- traceEnabled && trace(host, Diagnostics.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder);
35888
+ else traceEnabled && trace(host, Diagnostics.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder);
35917
35889
  return resolvedTypeScriptOnly(result2);
35918
35890
  } else
35919
35891
  traceEnabled && trace(host, Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder);
@@ -37877,8 +37849,7 @@ ${lanes.join(`
37877
37849
  flags: 2
37878
37850
  /* Start */
37879
37851
  }), containerFlags & 144 && (currentFlow.node = node)), currentReturnTarget = isImmediatelyInvoked || node.kind === 176 || isInJSFile(node) && (node.kind === 262 || node.kind === 218) ? createBranchLabel() : void 0, currentExceptionTarget = void 0, currentBreakTarget = void 0, currentContinueTarget = void 0, activeLabelList = void 0, hasExplicitReturn = !1, bindChildren(node), node.flags &= -5633, !(currentFlow.flags & 1) && containerFlags & 8 && nodeIsPresent(node.body) && (node.flags |= 512, hasExplicitReturn && (node.flags |= 1024), node.endFlowNode = currentFlow), node.kind === 312 && (node.flags |= emitFlags, node.endFlowNode = currentFlow), currentReturnTarget && (addAntecedent(currentReturnTarget, currentFlow), currentFlow = finishFlowLabel(currentReturnTarget), (node.kind === 176 || node.kind === 175 || isInJSFile(node) && (node.kind === 262 || node.kind === 218)) && (node.returnFlowNode = currentFlow)), isImmediatelyInvoked || (currentFlow = saveCurrentFlow), currentBreakTarget = saveBreakTarget, currentContinueTarget = saveContinueTarget, currentReturnTarget = saveReturnTarget, currentExceptionTarget = saveExceptionTarget, activeLabelList = saveActiveLabelList, hasExplicitReturn = saveHasExplicitReturn;
37880
- } else
37881
- containerFlags & 64 ? (seenThisKeyword = !1, bindChildren(node), Debug.assertNotNode(node, isIdentifier), node.flags = seenThisKeyword ? node.flags | 256 : node.flags & -257) : bindChildren(node);
37852
+ } else containerFlags & 64 ? (seenThisKeyword = !1, bindChildren(node), Debug.assertNotNode(node, isIdentifier), node.flags = seenThisKeyword ? node.flags | 256 : node.flags & -257) : bindChildren(node);
37882
37853
  container = saveContainer, thisParentContainer = saveThisParentContainer, blockScopeContainer = savedBlockScopeContainer;
37883
37854
  }
37884
37855
  function bindEachFunctionsFirst(nodes) {
@@ -38659,13 +38630,12 @@ ${lanes.join(`
38659
38630
  /* TypeAliasExcludes */
38660
38631
  ), container = oldContainer;
38661
38632
  }
38662
- } else
38663
- isJSDocEnumTag(typeAlias) || !typeAlias.fullName || typeAlias.fullName.kind === 80 ? (parent2 = typeAlias.parent, bindBlockScopedDeclaration(
38664
- typeAlias,
38665
- 524288,
38666
- 788968
38667
- /* TypeAliasExcludes */
38668
- )) : bind(typeAlias.fullName);
38633
+ } else isJSDocEnumTag(typeAlias) || !typeAlias.fullName || typeAlias.fullName.kind === 80 ? (parent2 = typeAlias.parent, bindBlockScopedDeclaration(
38634
+ typeAlias,
38635
+ 524288,
38636
+ 788968
38637
+ /* TypeAliasExcludes */
38638
+ )) : bind(typeAlias.fullName);
38669
38639
  }
38670
38640
  container = saveContainer, lastContainer = saveLastContainer, blockScopeContainer = saveBlockScopeContainer, parent2 = saveParent, currentFlow = saveCurrentFlow;
38671
38641
  }
@@ -42348,8 +42318,7 @@ ${lanes.join(`
42348
42318
  Diagnostics.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,
42349
42319
  compilerOptionName
42350
42320
  ));
42351
- } else
42352
- isImportClause(node) ? reportNonDefaultExport(moduleSymbol, node) : errorNoModuleMemberSymbol(moduleSymbol, moduleSymbol, node, isImportOrExportSpecifier(node) && node.propertyName || node.name);
42321
+ } else isImportClause(node) ? reportNonDefaultExport(moduleSymbol, node) : errorNoModuleMemberSymbol(moduleSymbol, moduleSymbol, node, isImportOrExportSpecifier(node) && node.propertyName || node.name);
42353
42322
  else if (hasSyntheticDefault || hasDefaultOnly) {
42354
42323
  let resolved = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias);
42355
42324
  return markSymbolOfAliasDeclarationIfTypeOnly(
@@ -44747,8 +44716,7 @@ ${lanes.join(`
44747
44716
  * ` + commentText.replace(/\n/g, `
44748
44717
  * `) + `
44749
44718
  `, pos: -1, end: -1, hasTrailingNewLine: !0 }]);
44750
- } else
44751
- propertySymbol.valueDeclaration && setCommentRange(node, propertySymbol.valueDeclaration);
44719
+ } else propertySymbol.valueDeclaration && setCommentRange(node, propertySymbol.valueDeclaration);
44752
44720
  return node;
44753
44721
  }
44754
44722
  }
@@ -44766,12 +44734,11 @@ ${lanes.join(`
44766
44734
  ),
44767
44735
  typeToTypeNodeHelper(types[types.length - 1], context)
44768
44736
  ];
44769
- } else
44770
- return [factory.createTypeReferenceNode(
44771
- "...",
44772
- /*typeArguments*/
44773
- void 0
44774
- )];
44737
+ } else return [factory.createTypeReferenceNode(
44738
+ "...",
44739
+ /*typeArguments*/
44740
+ void 0
44741
+ )];
44775
44742
  let seenNames = !(context.flags & 64) ? createMultiMap() : void 0, result = [], i = 0;
44776
44743
  for (let type of types) {
44777
44744
  if (i++, checkTruncationLength(context) && i + 2 < types.length - 1) {
@@ -47655,8 +47622,7 @@ ${lanes.join(`
47655
47622
  declaration,
47656
47623
  type
47657
47624
  );
47658
- else
47659
- return type;
47625
+ else return type;
47660
47626
  }
47661
47627
  if ((_a = symbol.parent) != null && _a.valueDeclaration) {
47662
47628
  let typeNode2 = getEffectiveTypeAnnotationNode(symbol.parent.valueDeclaration);
@@ -49456,8 +49422,7 @@ ${lanes.join(`
49456
49422
  for (; constraint && constraint.flags & 21233664; )
49457
49423
  constraint = getConstraintOfType(constraint);
49458
49424
  constraint && (constraints = append(constraints, constraint), targetIsUnion && (constraints = append(constraints, t)));
49459
- } else
49460
- (t.flags & 469892092 || isEmptyAnonymousObjectType(t)) && (hasDisjointDomainType = !0);
49425
+ } else (t.flags & 469892092 || isEmptyAnonymousObjectType(t)) && (hasDisjointDomainType = !0);
49461
49426
  if (constraints && (targetIsUnion || hasDisjointDomainType)) {
49462
49427
  if (hasDisjointDomainType)
49463
49428
  for (let t of types)
@@ -52050,20 +52015,19 @@ ${lanes.join(`
52050
52015
  "[" + symbolName2 + "]",
52051
52016
  typeToString(objectType)
52052
52017
  );
52053
- } else
52054
- indexType.flags & 128 || indexType.flags & 256 ? errorInfo = chainDiagnosticMessages(
52055
- /*details*/
52056
- void 0,
52057
- Diagnostics.Property_0_does_not_exist_on_type_1,
52058
- indexType.value,
52059
- typeToString(objectType)
52060
- ) : indexType.flags & 12 && (errorInfo = chainDiagnosticMessages(
52061
- /*details*/
52062
- void 0,
52063
- Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,
52064
- typeToString(indexType),
52065
- typeToString(objectType)
52066
- ));
52018
+ } else indexType.flags & 128 || indexType.flags & 256 ? errorInfo = chainDiagnosticMessages(
52019
+ /*details*/
52020
+ void 0,
52021
+ Diagnostics.Property_0_does_not_exist_on_type_1,
52022
+ indexType.value,
52023
+ typeToString(objectType)
52024
+ ) : indexType.flags & 12 && (errorInfo = chainDiagnosticMessages(
52025
+ /*details*/
52026
+ void 0,
52027
+ Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,
52028
+ typeToString(indexType),
52029
+ typeToString(objectType)
52030
+ ));
52067
52031
  errorInfo = chainDiagnosticMessages(
52068
52032
  errorInfo,
52069
52033
  Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,
@@ -55245,13 +55209,12 @@ ${lanes.join(`
55245
55209
  /* WriteComputedProps */
55246
55210
  );
55247
55211
  reportError(Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2, propName, ...getTypeNamesForErrorDisplay(source2, target2)), length(unmatchedProperty.declarations) && associateRelatedInfo(createDiagnosticForNode(unmatchedProperty.declarations[0], Diagnostics._0_is_declared_here, propName)), shouldSkipElaboration && errorInfo && overrideNextErrorInfo++;
55248
- } else
55249
- tryElaborateArrayLikeErrors(
55250
- source2,
55251
- target2,
55252
- /*reportErrors*/
55253
- !1
55254
- ) && (props.length > 5 ? reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more, typeToString(source2), typeToString(target2), map(props.slice(0, 4), (p) => symbolToString(p)).join(", "), props.length - 4) : reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2, typeToString(source2), typeToString(target2), map(props, (p) => symbolToString(p)).join(", ")), shouldSkipElaboration && errorInfo && overrideNextErrorInfo++);
55212
+ } else tryElaborateArrayLikeErrors(
55213
+ source2,
55214
+ target2,
55215
+ /*reportErrors*/
55216
+ !1
55217
+ ) && (props.length > 5 ? reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more, typeToString(source2), typeToString(target2), map(props.slice(0, 4), (p) => symbolToString(p)).join(", "), props.length - 4) : reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2, typeToString(source2), typeToString(target2), map(props, (p) => symbolToString(p)).join(", ")), shouldSkipElaboration && errorInfo && overrideNextErrorInfo++);
55255
55218
  }
55256
55219
  function propertiesRelatedTo(source2, target2, reportErrors2, excludedProperties, optionalsOnly, intersectionState) {
55257
55220
  if (relation === identityRelation)
@@ -56246,8 +56209,7 @@ ${lanes.join(`
56246
56209
  some(widenedTypes, isEmptyObjectType) ? 2 : 1
56247
56210
  /* Literal */
56248
56211
  );
56249
- } else
56250
- type.flags & 2097152 ? result = getIntersectionType(sameMap(type.types, getWidenedType)) : isArrayOrTupleType(type) && (result = createTypeReference(type.target, sameMap(getTypeArguments(type), getWidenedType)));
56212
+ } else type.flags & 2097152 ? result = getIntersectionType(sameMap(type.types, getWidenedType)) : isArrayOrTupleType(type) && (result = createTypeReference(type.target, sameMap(getTypeArguments(type), getWidenedType)));
56251
56213
  return result && context === void 0 && (type.widened = result), result || type;
56252
56214
  }
56253
56215
  return type;
@@ -56705,8 +56667,7 @@ ${lanes.join(`
56705
56667
  return;
56706
56668
  source = getIntersectionType(sources), target = getIntersectionType(targets);
56707
56669
  }
56708
- } else
56709
- target.flags & 41943040 && (target = getActualTypeVariable(target));
56670
+ } else target.flags & 41943040 && (target = getActualTypeVariable(target));
56710
56671
  if (target.flags & 8650752) {
56711
56672
  if (isFromInferenceBlockedSource(source))
56712
56673
  return;
@@ -59400,8 +59361,7 @@ ${lanes.join(`
59400
59361
  if (isInJS && className) {
59401
59362
  let classSymbol = checkExpression(className).symbol;
59402
59363
  classSymbol && classSymbol.members && classSymbol.flags & 16 && (thisType = getDeclaredTypeOfSymbol(classSymbol).thisType);
59403
- } else
59404
- isJSConstructor(container) && (thisType = getDeclaredTypeOfSymbol(getMergedSymbol(container.symbol)).thisType);
59364
+ } else isJSConstructor(container) && (thisType = getDeclaredTypeOfSymbol(getMergedSymbol(container.symbol)).thisType);
59405
59365
  thisType || (thisType = getContextualThisParameterType(container));
59406
59366
  }
59407
59367
  if (thisType)
@@ -61520,8 +61480,7 @@ ${lanes.join(`
61520
61480
  let flowContainer = getControlFlowContainer(node);
61521
61481
  flowContainer.kind === 176 && flowContainer.parent === declaration.parent && !(declaration.flags & 33554432) && (assumeUninitialized = !0);
61522
61482
  }
61523
- } else
61524
- strictNullChecks && prop && prop.valueDeclaration && isPropertyAccessExpression(prop.valueDeclaration) && getAssignmentDeclarationPropertyAccessKind(prop.valueDeclaration) && getControlFlowContainer(node) === getControlFlowContainer(prop.valueDeclaration) && (assumeUninitialized = !0);
61483
+ } else strictNullChecks && prop && prop.valueDeclaration && isPropertyAccessExpression(prop.valueDeclaration) && getAssignmentDeclarationPropertyAccessKind(prop.valueDeclaration) && getControlFlowContainer(node) === getControlFlowContainer(prop.valueDeclaration) && (assumeUninitialized = !0);
61525
61484
  let flowType = getFlowTypeOfReference(node, propType, assumeUninitialized ? getOptionalType(propType) : propType);
61526
61485
  return assumeUninitialized && !containsUndefinedType(propType) && containsUndefinedType(flowType) ? (error2(errorNode, Diagnostics.Property_0_is_used_before_being_assigned, symbolToString(prop)), propType) : assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType;
61527
61486
  }
@@ -63275,8 +63234,7 @@ ${lanes.join(`
63275
63234
  name = parentNode.left, decl = name;
63276
63235
  else if ((parentNodeOperator === 57 || parentNodeOperator === 61) && (isVariableDeclaration(parentNode.parent) && parentNode.parent.initializer === parentNode ? (name = parentNode.parent.name, decl = parentNode.parent) : isBinaryExpression(parentNode.parent) && parentNode.parent.operatorToken.kind === 64 && (allowDeclaration || parentNode.parent.right === parentNode) && (name = parentNode.parent.left, decl = name), !name || !isBindableStaticNameExpression(name) || !isSameEntityName(name, parentNode.left)))
63277
63236
  return;
63278
- } else
63279
- allowDeclaration && isFunctionDeclaration(node) && (name = node.name, decl = node);
63237
+ } else allowDeclaration && isFunctionDeclaration(node) && (name = node.name, decl = node);
63280
63238
  if (!(!decl || !name || !allowDeclaration && !getExpandoInitializer(node, isPrototypeAccess(name))))
63281
63239
  return getSymbolOfNode(decl);
63282
63240
  }
@@ -63691,8 +63649,7 @@ ${lanes.join(`
63691
63649
  let symbol = getSymbolOfDeclaration(container);
63692
63650
  return getTypeOfSymbol(symbol);
63693
63651
  }
63694
- else
63695
- return error2(node, Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor, "new.target"), errorType;
63652
+ else return error2(node, Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor, "new.target"), errorType;
63696
63653
  }
63697
63654
  function checkImportMetaProperty(node) {
63698
63655
  moduleKind === 100 || moduleKind === 199 ? getSourceFileOfNode(node).impliedNodeFormat !== 99 && error2(node, Diagnostics.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output) : moduleKind < 6 && moduleKind !== 4 && error2(node, Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);
@@ -64310,8 +64267,7 @@ ${lanes.join(`
64310
64267
  links.isExhaustive = 0;
64311
64268
  let exhaustive = computeExhaustiveSwitchStatement(node);
64312
64269
  links.isExhaustive === 0 && (links.isExhaustive = exhaustive);
64313
- } else
64314
- links.isExhaustive === 0 && (links.isExhaustive = !1);
64270
+ } else links.isExhaustive === 0 && (links.isExhaustive = !1);
64315
64271
  return links.isExhaustive;
64316
64272
  }
64317
64273
  function computeExhaustiveSwitchStatement(node) {
@@ -66138,8 +66094,7 @@ ${lanes.join(`
66138
66094
  let generatorYieldType = getIterationTypeOfGeneratorFunctionReturnType(0, returnType, (functionFlags2 & 2) !== 0) || anyType, generatorReturnType = getIterationTypeOfGeneratorFunctionReturnType(1, returnType, (functionFlags2 & 2) !== 0) || generatorYieldType, generatorNextType = getIterationTypeOfGeneratorFunctionReturnType(2, returnType, (functionFlags2 & 2) !== 0) || unknownType, generatorInstantiation = createGeneratorReturnType(generatorYieldType, generatorReturnType, generatorNextType, !!(functionFlags2 & 2));
66139
66095
  checkTypeAssignableTo(generatorInstantiation, returnType, returnTypeErrorLocation);
66140
66096
  }
66141
- } else
66142
- (functionFlags2 & 3) === 2 && checkAsyncFunctionReturnType(node, returnTypeNode, returnTypeErrorLocation);
66097
+ } else (functionFlags2 & 3) === 2 && checkAsyncFunctionReturnType(node, returnTypeNode, returnTypeErrorLocation);
66143
66098
  }
66144
66099
  node.kind !== 181 && node.kind !== 324 && registerForUnusedIdentifiersCheck(node);
66145
66100
  }
@@ -66315,8 +66270,7 @@ ${lanes.join(`
66315
66270
  }
66316
66271
  superCallStatement === void 0 && error2(node, Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers);
66317
66272
  }
66318
- } else
66319
- classExtendsNull || error2(node, Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call);
66273
+ } else classExtendsNull || error2(node, Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call);
66320
66274
  }
66321
66275
  }
66322
66276
  }
@@ -67971,8 +67925,7 @@ ${lanes.join(`
67971
67925
  2
67972
67926
  /* Subtype */
67973
67927
  ));
67974
- } else
67975
- arrayType.flags & 402653316 && (arrayType = neverType);
67928
+ } else arrayType.flags & 402653316 && (arrayType = neverType);
67976
67929
  if (hasStringConstituent = arrayType !== inputType, hasStringConstituent && (languageVersion < 1 && errorNode && (error2(errorNode, Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher), reportedError = !0), arrayType.flags & 131072))
67977
67930
  return possibleOutOfBounds ? includeUndefinedInIndexSignature(stringType) : stringType;
67978
67931
  }
@@ -68476,8 +68429,7 @@ ${lanes.join(`
68476
68429
  ) : exprType;
68477
68430
  unwrappedReturnType && checkTypeAssignableToAndOptionallyElaborate(unwrappedExprType, unwrappedReturnType, node, node.expression);
68478
68431
  }
68479
- } else
68480
- container.kind !== 176 && compilerOptions.noImplicitReturns && !isUnwrappedReturnTypeUndefinedVoidOrAny(container, returnType) && error2(node, Diagnostics.Not_all_code_paths_return_a_value);
68432
+ } else container.kind !== 176 && compilerOptions.noImplicitReturns && !isUnwrappedReturnTypeUndefinedVoidOrAny(container, returnType) && error2(node, Diagnostics.Not_all_code_paths_return_a_value);
68481
68433
  }
68482
68434
  function checkWithStatement(node) {
68483
68435
  checkGrammarStatementInAmbientContext(node) || node.flags & 65536 && grammarErrorOnFirstToken(node, Diagnostics.with_statements_are_not_allowed_in_an_async_function_block), checkExpression(node.expression);
@@ -69089,8 +69041,7 @@ ${lanes.join(`
69089
69041
  if (isPrototypeProperty(derived) || derived.flags & 4)
69090
69042
  continue;
69091
69043
  Debug.assert(!!(derived.flags & 98304)), errorMessage = Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor;
69092
- } else
69093
- base.flags & 98304 ? errorMessage = Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function : errorMessage = Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;
69044
+ } else base.flags & 98304 ? errorMessage = Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function : errorMessage = Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;
69094
69045
  error2(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage, typeToString(baseType), symbolToString(base), typeToString(type));
69095
69046
  }
69096
69047
  }
@@ -69436,8 +69387,7 @@ ${lanes.join(`
69436
69387
  if ((isGlobalAugmentation || getSymbolOfDeclaration(node).flags & 33554432) && node.body)
69437
69388
  for (let statement of node.body.statements)
69438
69389
  checkModuleAugmentationElement(statement, isGlobalAugmentation);
69439
- } else
69440
- isGlobalSourceFile(node.parent) ? isGlobalAugmentation ? error2(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations) : isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(node.name)) && error2(node.name, Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name) : isGlobalAugmentation ? error2(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations) : error2(node.name, Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces);
69390
+ } else isGlobalSourceFile(node.parent) ? isGlobalAugmentation ? error2(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations) : isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(node.name)) && error2(node.name, Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name) : isGlobalAugmentation ? error2(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations) : error2(node.name, Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces);
69441
69391
  }
69442
69392
  }
69443
69393
  function checkModuleAugmentationElement(node, isGlobalAugmentation) {
@@ -71685,8 +71635,7 @@ ${lanes.join(`
71685
71635
  if (hasDecorators(accessors.firstAccessor) && node === accessors.secondAccessor)
71686
71636
  return grammarErrorOnFirstToken(node, Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name);
71687
71637
  }
71688
- } else
71689
- return node.kind === 174 && !nodeIsPresent(node.body) ? grammarErrorOnFirstToken(node, Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload) : grammarErrorOnFirstToken(node, Diagnostics.Decorators_are_not_valid_here);
71638
+ } else return node.kind === 174 && !nodeIsPresent(node.body) ? grammarErrorOnFirstToken(node, Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload) : grammarErrorOnFirstToken(node, Diagnostics.Decorators_are_not_valid_here);
71690
71639
  if (flags & -132098)
71691
71640
  return grammarErrorOnNode(modifier, Diagnostics.Decorators_are_not_valid_here);
71692
71641
  if (hasLeadingDecorators && flags & 126975) {
@@ -71827,8 +71776,7 @@ ${lanes.join(`
71827
71776
  if (flags & 1) {
71828
71777
  if (sawExportBeforeDecorators)
71829
71778
  return grammarErrorOnNode(firstDecorator, Diagnostics.Decorators_are_not_valid_here);
71830
- } else
71831
- return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "default");
71779
+ } else return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "default");
71832
71780
  flags |= 1024;
71833
71781
  break;
71834
71782
  case 138:
@@ -89937,36 +89885,35 @@ ${lanes.join(`
89937
89885
  );
89938
89886
  } else
89939
89887
  return setOriginalNode(setTextRange(factory2.createExpressionStatement(createRequireCall2(node)), node), node);
89940
- else
89941
- namespaceDeclaration && isDefaultImport(node) && (statements = append(
89942
- statements,
89943
- factory2.createVariableStatement(
89944
- /*modifiers*/
89945
- void 0,
89946
- factory2.createVariableDeclarationList(
89947
- [
89948
- setOriginalNode(
89949
- setTextRange(
89950
- factory2.createVariableDeclaration(
89951
- factory2.cloneNode(namespaceDeclaration.name),
89952
- /*exclamationToken*/
89953
- void 0,
89954
- /*type*/
89955
- void 0,
89956
- factory2.getGeneratedNameForNode(node)
89957
- ),
89958
- /*location*/
89959
- node
89888
+ else namespaceDeclaration && isDefaultImport(node) && (statements = append(
89889
+ statements,
89890
+ factory2.createVariableStatement(
89891
+ /*modifiers*/
89892
+ void 0,
89893
+ factory2.createVariableDeclarationList(
89894
+ [
89895
+ setOriginalNode(
89896
+ setTextRange(
89897
+ factory2.createVariableDeclaration(
89898
+ factory2.cloneNode(namespaceDeclaration.name),
89899
+ /*exclamationToken*/
89900
+ void 0,
89901
+ /*type*/
89902
+ void 0,
89903
+ factory2.getGeneratedNameForNode(node)
89960
89904
  ),
89961
- /*original*/
89905
+ /*location*/
89962
89906
  node
89963
- )
89964
- ],
89965
- languageVersion >= 2 ? 2 : 0
89966
- /* None */
89967
- )
89907
+ ),
89908
+ /*original*/
89909
+ node
89910
+ )
89911
+ ],
89912
+ languageVersion >= 2 ? 2 : 0
89913
+ /* None */
89968
89914
  )
89969
- ));
89915
+ )
89916
+ ));
89970
89917
  return statements = appendExportsOfImportDeclaration(statements, node), singleOrMany(statements);
89971
89918
  }
89972
89919
  function createRequireCall2(importNode) {
@@ -90360,8 +90307,7 @@ ${lanes.join(`
90360
90307
  if (isBindingPattern(decl.name))
90361
90308
  for (let element of decl.name.elements)
90362
90309
  isOmittedExpression(element) || (statements = appendExportsOfBindingElement(statements, element, isForInOrOfInitializer));
90363
- else
90364
- !isGeneratedIdentifier(decl.name) && (!isVariableDeclaration(decl) || decl.initializer || isForInOrOfInitializer) && (statements = appendExportsOfDeclaration(statements, new IdentifierNameMap(), decl));
90310
+ else !isGeneratedIdentifier(decl.name) && (!isVariableDeclaration(decl) || decl.initializer || isForInOrOfInitializer) && (statements = appendExportsOfDeclaration(statements, new IdentifierNameMap(), decl));
90365
90311
  return statements;
90366
90312
  }
90367
90313
  function appendExportsOfHoistedDeclaration(statements, decl) {
@@ -98299,8 +98245,7 @@ ${lanes.join(`
98299
98245
  if (lineContent = trimStringEnd(lineContent), lineContent = lineContent.replace(/\t/g, " "), context += indent2 + formatColorAndReset(padLeft(i + 1 + "", gutterWidth), gutterStyleSequence) + gutterSeparator, context += lineContent + host.getNewLine(), context += indent2 + formatColorAndReset(padLeft("", gutterWidth), gutterStyleSequence) + gutterSeparator, context += squiggleColor, i === firstLine) {
98300
98246
  let lastCharForLine = i === lastLine ? lastLineChar : void 0;
98301
98247
  context += lineContent.slice(0, firstLineChar).replace(/\S/g, " "), context += lineContent.slice(firstLineChar, lastCharForLine).replace(/./g, "~");
98302
- } else
98303
- i === lastLine ? context += lineContent.slice(0, lastLineChar).replace(/./g, "~") : context += lineContent.replace(/./g, "~");
98248
+ } else i === lastLine ? context += lineContent.slice(0, lastLineChar).replace(/./g, "~") : context += lineContent.replace(/./g, "~");
98304
98249
  context += resetEscapeSequence;
98305
98250
  }
98306
98251
  return context;
@@ -99907,8 +99852,7 @@ ${lanes.join(`
99907
99852
  if (fileFromPackageId) {
99908
99853
  let dupFile = createRedirectedSourceFile(fileFromPackageId, file, fileName, path, toPath3(fileName), originalFileName, sourceFileOptions);
99909
99854
  return redirectTargetsMap.add(fileFromPackageId.path, fileName), addFileToFilesByName(dupFile, path, redirectedPath), addFileIncludeReason(dupFile, reason), sourceFileToPackageName.set(path, packageIdToPackageName(packageId)), processingOtherFiles.push(dupFile), dupFile;
99910
- } else
99911
- file && (packageIdToSourceFile.set(packageIdKey, file), sourceFileToPackageName.set(path, packageIdToPackageName(packageId)));
99855
+ } else file && (packageIdToSourceFile.set(packageIdKey, file), sourceFileToPackageName.set(path, packageIdToPackageName(packageId)));
99912
99856
  }
99913
99857
  if (addFileToFilesByName(file, path, redirectedPath), file) {
99914
99858
  if (sourceFilesFoundSearchingNodeModules.set(path, currentNodeModulesDepth > 0), file.fileName = fileName, file.path = path, file.resolvedPath = toPath3(fileName), file.originalFileName = originalFileName, file.packageJsonLocations = (_a2 = sourceFileOptions.packageJsonLocations) != null && _a2.length ? sourceFileOptions.packageJsonLocations : void 0, file.packageJsonScope = sourceFileOptions.packageJsonScope, addFileIncludeReason(file, reason), host.useCaseSensitiveFileNames()) {
@@ -102049,8 +101993,7 @@ ${lanes.join(`
102049
101993
  void 0,
102050
101994
  cancellationToken
102051
101995
  ), state.changedFilesSet.clear(), state.programEmitPending = getBuilderFileEmit(state.compilerOptions);
102052
- else
102053
- return;
101996
+ else return;
102054
101997
  return { result, affected };
102055
101998
  }
102056
101999
  }
@@ -102752,8 +102695,7 @@ ${lanes.join(`
102752
102695
  for (let failedLookupLocation of failedLookupLocations)
102753
102696
  removeAtRoot = stopWatchFailedLookupLocation(failedLookupLocation, removeAtRoot);
102754
102697
  node10Result && (removeAtRoot = stopWatchFailedLookupLocation(node10Result, removeAtRoot)), removeAtRoot && removeDirectoryWatcher(rootPath);
102755
- } else
102756
- affectingLocations?.length && resolutionsWithOnlyAffectingLocations.delete(resolution);
102698
+ } else affectingLocations?.length && resolutionsWithOnlyAffectingLocations.delete(resolution);
102757
102699
  if (affectingLocations)
102758
102700
  for (let affectingLocation of affectingLocations) {
102759
102701
  let watcher = fileWatchesOfAffectingLocations.get(affectingLocation);
@@ -106645,8 +106587,7 @@ ${lanes.join(`
106645
106587
  if (remainingMatchingTokens === 0)
106646
106588
  return token;
106647
106589
  remainingMatchingTokens--;
106648
- } else
106649
- token.kind === tokenKind && remainingMatchingTokens++;
106590
+ } else token.kind === tokenKind && remainingMatchingTokens++;
106650
106591
  }
106651
106592
  }
106652
106593
  function removeOptionality(type, isOptionalExpression, isOptionalChain2) {
@@ -110214,8 +110155,7 @@ ${lanes.join(`
110214
110155
  for (token = nextToken(); token !== 20 && token !== 1; )
110215
110156
  token = nextToken();
110216
110157
  token === 20 && (token = nextToken(), token === 161 && (token = nextToken(), token === 11 && recordModuleName()));
110217
- } else
110218
- token === 42 && (token = nextToken(), token === 130 && (token = nextToken(), (token === 80 || isKeyword(token)) && (token = nextToken(), token === 161 && (token = nextToken(), token === 11 && recordModuleName()))));
110158
+ } else token === 42 && (token = nextToken(), token === 130 && (token = nextToken(), (token === 80 || isKeyword(token)) && (token = nextToken(), token === 161 && (token = nextToken(), token === 11 && recordModuleName()))));
110219
110159
  }
110220
110160
  return !0;
110221
110161
  }
@@ -112763,8 +112703,7 @@ ${lanes.join(`
112763
112703
  if (isInImport(decl)) {
112764
112704
  let prevIsTypeOnly = oldImportsNeededByTargetFile.get(symbol);
112765
112705
  oldImportsNeededByTargetFile.set(symbol, (prevIsTypeOnly === void 0 || prevIsTypeOnly) && isValidTypeOnlyUseSite);
112766
- } else
112767
- isTopLevelDeclaration(decl) && sourceFileOfTopLevelDeclaration(decl) === oldFile && !movedSymbols.has(symbol) && targetFileImportsFromOldFile.add(symbol);
112706
+ } else isTopLevelDeclaration(decl) && sourceFileOfTopLevelDeclaration(decl) === oldFile && !movedSymbols.has(symbol) && targetFileImportsFromOldFile.add(symbol);
112768
112707
  });
112769
112708
  let unusedImportsFromOldFile = new Set(oldImportsNeededByTargetFile.keys()), oldFileImportsFromTargetFile = /* @__PURE__ */ new Set();
112770
112709
  for (let statement of oldFile.statements)
@@ -114360,8 +114299,7 @@ ${newComment.split(`
114360
114299
  } else if (current.kind === 169) {
114361
114300
  getContainingFunction(current).kind === 176 && (rangeFacts |= 32);
114362
114301
  break;
114363
- } else
114364
- current.kind === 174 && isStatic(current) && (rangeFacts |= 32);
114302
+ } else current.kind === 174 && isStatic(current) && (rangeFacts |= 32);
114365
114303
  current = current.parent;
114366
114304
  }
114367
114305
  }
@@ -115196,8 +115134,7 @@ ${newComment.split(`
115196
115134
  if (expression === void 0) {
115197
115135
  let statements = targetRange.range, start = first(statements).getStart(), end = last(statements).end;
115198
115136
  expressionDiagnostic = createFileDiagnostic(sourceFile, start, end - start, Messages.expressionExpected);
115199
- } else
115200
- checker.getTypeAtLocation(expression).flags & 147456 && (expressionDiagnostic = createDiagnosticForNode(expression, Messages.uselessConstantType));
115137
+ } else checker.getTypeAtLocation(expression).flags & 147456 && (expressionDiagnostic = createDiagnosticForNode(expression, Messages.uselessConstantType));
115201
115138
  for (let scope of scopes) {
115202
115139
  usagesPerScope.push({ usages: /* @__PURE__ */ new Map(), typeParameterUsages: /* @__PURE__ */ new Map(), substitutions: /* @__PURE__ */ new Map() }), substitutionsPerScope.push(/* @__PURE__ */ new Map()), functionErrorsPerScope.push([]);
115203
115140
  let constantErrors = [];
@@ -115672,8 +115609,7 @@ ${newComment.split(`
115672
115609
  if (decl) {
115673
115610
  let modifiers = getCombinedModifierFlags(decl), nodeFlags = getCombinedNodeFlags(decl);
115674
115611
  modifiers & 32 && (modifierSet |= 2), modifiers & 512 && (modifierSet |= 4), typeIdx !== 0 && typeIdx !== 2 && (modifiers & 64 || nodeFlags & 2 || symbol.getFlags() & 8) && (modifierSet |= 8), (typeIdx === 7 || typeIdx === 10) && isLocalDeclaration(decl, sourceFile) && (modifierSet |= 32), program.isSourceFileDefaultLibrary(decl.getSourceFile()) && (modifierSet |= 16);
115675
- } else
115676
- symbol.declarations && symbol.declarations.some((d) => program.isSourceFileDefaultLibrary(d.getSourceFile())) && (modifierSet |= 16);
115612
+ } else symbol.declarations && symbol.declarations.some((d) => program.isSourceFileDefaultLibrary(d.getSourceFile())) && (modifierSet |= 16);
115677
115613
  collector(node, typeIdx, modifierSet);
115678
115614
  }
115679
115615
  }
@@ -119769,8 +119705,7 @@ ${newComment.split(`
119769
119705
  target: declaration
119770
119706
  } : void 0;
119771
119707
  }
119772
- } else
119773
- return;
119708
+ } else return;
119774
119709
  }
119775
119710
  function addUndefinedToOptionalProperty(changes, toAdd) {
119776
119711
  for (let add of toAdd) {
@@ -120709,8 +120644,7 @@ ${newComment.split(`
120709
120644
  let temp = transformExpression(node, node, transformer, hasContinuation, continuationArgName);
120710
120645
  if (innerCbBody = innerCbBody.concat(temp), innerCbBody.length > 0)
120711
120646
  return;
120712
- } else
120713
- isFunctionLike(node) || forEachChild(node, visit);
120647
+ } else isFunctionLike(node) || forEachChild(node, visit);
120714
120648
  }), innerCbBody;
120715
120649
  }
120716
120650
  function getArgBindingName(funcNode, transformer) {
@@ -120720,8 +120654,7 @@ ${newComment.split(`
120720
120654
  let param = funcNode.parameters[0].name;
120721
120655
  name = getMappedBindingNameOrDefault(param);
120722
120656
  }
120723
- } else
120724
- isIdentifier(funcNode) ? name = getMapEntryOrDefault(funcNode) : isPropertyAccessExpression(funcNode) && isIdentifier(funcNode.name) && (name = getMapEntryOrDefault(funcNode.name));
120657
+ } else isIdentifier(funcNode) ? name = getMapEntryOrDefault(funcNode) : isPropertyAccessExpression(funcNode) && isIdentifier(funcNode.name) && (name = getMapEntryOrDefault(funcNode.name));
120725
120658
  if (!name || "identifier" in name && name.identifier.text === "undefined")
120726
120659
  return;
120727
120660
  return name;
@@ -120965,8 +120898,7 @@ ${newComment.split(`
120965
120898
  ) ? convertReExportAll(right.arguments[0], checker) : void 0;
120966
120899
  return replacement ? (changes.replaceNodeWithNodes(sourceFile, assignment.parent, replacement[0]), replacement[1]) : (changes.replaceRangeWithText(sourceFile, createRange(left.getStart(sourceFile), right.pos), "export default"), !0);
120967
120900
  }
120968
- else
120969
- isExportsOrModuleExportsOrAlias(sourceFile, left.expression) && convertNamedExport(sourceFile, assignment, changes, exports2);
120901
+ else isExportsOrModuleExportsOrAlias(sourceFile, left.expression) && convertNamedExport(sourceFile, assignment, changes, exports2);
120970
120902
  return !1;
120971
120903
  }
120972
120904
  function tryChangeModuleExportsObject(object, useSitesToUnqualify) {
@@ -121617,8 +121549,7 @@ ${newComment.split(`
121617
121549
  if (type && isJSDocTypeLiteral(type)) {
121618
121550
  let signatures = createSignatureFromTypeLiteral(type);
121619
121551
  typeReference = factory.createTypeLiteralNode(signatures);
121620
- } else
121621
- type && (typeReference = getSynthesizedDeepClone(type));
121552
+ } else type && (typeReference = getSynthesizedDeepClone(type));
121622
121553
  if (typeReference && name) {
121623
121554
  let questionToken = isOptional ? factory.createToken(
121624
121555
  58
@@ -121672,8 +121603,8 @@ ${newComment.split(`
121672
121603
  context,
121673
121604
  errorCodes15,
121674
121605
  (changes, diag2) => {
121675
- let newLineCharacter = getNewLineOrDefaultFromHost(context.host, context.formatContext.options), node = getTokenAtPosition(diag2.file, diag2.start), fixAll = !0;
121676
- node && doChange12(changes, node, diag2.file, newLineCharacter, fixAll);
121606
+ let newLineCharacter = getNewLineOrDefaultFromHost(context.host, context.formatContext.options), node = getTokenAtPosition(diag2.file, diag2.start);
121607
+ node && doChange12(changes, node, diag2.file, newLineCharacter, !0);
121677
121608
  }
121678
121609
  )
121679
121610
  });
@@ -122251,8 +122182,7 @@ ${newComment.split(`
122251
122182
  return fix && [{ fix, symbolName: symbolName2, errorIdentifierText: symbolToken.text }];
122252
122183
  } else
122253
122184
  info = getFixesInfoForNonUMDImport(context, symbolToken, useAutoImportProvider);
122254
- else
122255
- return;
122185
+ else return;
122256
122186
  let packageJsonImportFilter = createPackageJsonImportFilter(context.sourceFile, context.preferences, context.host);
122257
122187
  return info && sortFixInfo(info, context.sourceFile, context.program, packageJsonImportFilter, context.host);
122258
122188
  }
@@ -124782,8 +124712,7 @@ ${newComment.split(`
124782
124712
  if (parameter.modifiers && parameter.modifiers.length > 0 && (!isIdentifier(parameter.name) || ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(parameter.name, checker, sourceFile)))
124783
124713
  for (let modifier of parameter.modifiers)
124784
124714
  isModifier(modifier) && changes.deleteModifier(sourceFile, modifier);
124785
- else
124786
- !parameter.initializer && isNotProvidedArguments(parameter, checker, sourceFiles) && changes.delete(sourceFile, parameter);
124715
+ else !parameter.initializer && isNotProvidedArguments(parameter, checker, sourceFiles) && changes.delete(sourceFile, parameter);
124787
124716
  }
124788
124717
  function isNotProvidedArguments(parameter, checker, sourceFiles) {
124789
124718
  let index = parameter.parent.parameters.indexOf(parameter);
@@ -125444,8 +125373,7 @@ ${newComment.split(`
125444
125373
  void 0
125445
125374
  );
125446
125375
  changes.addJSDocTags(sourceFile, parent2, [typeTag]);
125447
- } else
125448
- tryReplaceImportTypeNodeWithAutoImport(typeNode, declaration, sourceFile, changes, importAdder, getEmitScriptTarget(program.getCompilerOptions())) || changes.tryInsertTypeAnnotation(sourceFile, declaration, typeNode);
125376
+ } else tryReplaceImportTypeNodeWithAutoImport(typeNode, declaration, sourceFile, changes, importAdder, getEmitScriptTarget(program.getCompilerOptions())) || changes.tryInsertTypeAnnotation(sourceFile, declaration, typeNode);
125449
125377
  }
125450
125378
  function tryReplaceImportTypeNodeWithAutoImport(typeNode, declaration, sourceFile, changes, importAdder, scriptTarget) {
125451
125379
  let importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget);
@@ -128430,10 +128358,7 @@ ${newComment.split(`
128430
128358
  };
128431
128359
  }
128432
128360
  function isClassLikeMemberCompletion(symbol, location, sourceFile) {
128433
- if (isInJSFile(location))
128434
- return !1;
128435
- let memberFlags = 106500;
128436
- return !!(symbol.flags & memberFlags) && (isClassLike(location) || location.parent && location.parent.parent && isClassElement(location.parent) && location === location.parent.name && location.parent.getLastToken(sourceFile) === location.parent.name && isClassLike(location.parent.parent) || location.parent && isSyntaxList(location) && isClassLike(location.parent));
128361
+ return isInJSFile(location) ? !1 : !!(symbol.flags & 106500) && (isClassLike(location) || location.parent && location.parent.parent && isClassElement(location.parent) && location === location.parent.name && location.parent.getLastToken(sourceFile) === location.parent.name && isClassLike(location.parent.parent) || location.parent && isSyntaxList(location) && isClassLike(location.parent));
128437
128362
  }
128438
128363
  function getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, position, contextToken, formatContext) {
128439
128364
  let classLikeDeclaration = findAncestor(location, isClassLike);
@@ -131611,8 +131536,7 @@ ${newComment.split(`
131611
131536
  if (decl.qualifier) {
131612
131537
  let firstIdentifier = getFirstIdentifier(decl.qualifier);
131613
131538
  firstIdentifier.escapedText === symbolName(exportSymbol) && singleReferences.push(firstIdentifier);
131614
- } else
131615
- exportKind === 2 && singleReferences.push(decl.argument.literal);
131539
+ } else exportKind === 2 && singleReferences.push(decl.argument.literal);
131616
131540
  return;
131617
131541
  }
131618
131542
  if (decl.moduleSpecifier.kind !== 11)
@@ -133100,8 +133024,7 @@ ${newComment.split(`
133100
133024
  body.kind === 241 ? forEachReturnStatement(body, (returnStatement) => {
133101
133025
  returnStatement.expression && addIfImplementation(returnStatement.expression);
133102
133026
  }) : addIfImplementation(body);
133103
- } else
133104
- isAssertionExpression(typeHavingNode) && addIfImplementation(typeHavingNode.expression);
133027
+ } else isAssertionExpression(typeHavingNode) && addIfImplementation(typeHavingNode.expression);
133105
133028
  function addIfImplementation(e) {
133106
133029
  isImplementationExpression(e) && addReference2(e);
133107
133030
  }
@@ -136371,11 +136294,10 @@ ${newComment.split(`
136371
136294
  32
136372
136295
  /* WriteTypeArgumentsOfSignature */
136373
136296
  ));
136374
- } else
136375
- isTypeAliasDeclaration(declaration) && (addInPrefix(), displayParts.push(keywordPart(
136376
- 156
136377
- /* TypeKeyword */
136378
- )), displayParts.push(spacePart()), addFullSymbolName(declaration.symbol), writeTypeParametersOfSymbol(declaration.symbol, sourceFile));
136297
+ } else isTypeAliasDeclaration(declaration) && (addInPrefix(), displayParts.push(keywordPart(
136298
+ 156
136299
+ /* TypeKeyword */
136300
+ )), displayParts.push(spacePart()), addFullSymbolName(declaration.symbol), writeTypeParametersOfSymbol(declaration.symbol, sourceFile));
136379
136301
  }
136380
136302
  if (symbolFlags & 8) {
136381
136303
  symbolKind = "enum member", addPrefixForAnyFunctionOrVar(symbol, "enum member");
@@ -143762,8 +143684,7 @@ var require_ts_path = __commonJS({
143762
143684
  if (tsconfig.compilerOptions.rootDirs)
143763
143685
  for (let r of tsconfig.compilerOptions.rootDirs)
143764
143686
  rootDirs.push((0, node_path_1.join)(root, r));
143765
- else
143766
- tsconfig.compilerOptions.rootDir ? rootDirs.push((0, node_path_1.join)(root, tsconfig.compilerOptions.rootDir)) : tsconfig.compilerOptions.baseUrl ? rootDirs.push((0, node_path_1.join)(root, tsconfig.compilerOptions.baseUrl)) : rootDirs.push((0, node_path_1.join)(root, "src"));
143687
+ else tsconfig.compilerOptions.rootDir ? rootDirs.push((0, node_path_1.join)(root, tsconfig.compilerOptions.rootDir)) : tsconfig.compilerOptions.baseUrl ? rootDirs.push((0, node_path_1.join)(root, tsconfig.compilerOptions.baseUrl)) : rootDirs.push((0, node_path_1.join)(root, "src"));
143767
143688
  let { baseUrl, rootDir, ...rest } = tsconfig.compilerOptions, conf = {
143768
143689
  compilerOptions: {
143769
143690
  ...rest,
@@ -144611,20 +144532,24 @@ try {
144611
144532
  `);
144612
144533
  }
144613
144534
  switch (this.mode) {
144535
+ // Just executing code
144614
144536
  case Template.modes.EVAL:
144615
144537
  this.source += " ; " + line + `
144616
144538
  `;
144617
144539
  break;
144540
+ // Exec, esc, and output
144618
144541
  case Template.modes.ESCAPED:
144619
144542
  this.source += " ; __append(escapeFn(" + stripSemi(line) + `))
144620
144543
  `;
144621
144544
  break;
144545
+ // Exec and output
144622
144546
  case Template.modes.RAW:
144623
144547
  this.source += " ; __append(" + stripSemi(line) + `)
144624
144548
  `;
144625
144549
  break;
144626
144550
  case Template.modes.COMMENT:
144627
144551
  break;
144552
+ // Literal <%% mode, append as raw output
144628
144553
  case Template.modes.LITERAL:
144629
144554
  this._addOutput(line);
144630
144555
  break;
@@ -144662,12 +144587,9 @@ var require_util5 = __commonJS({
144662
144587
  } : function(o, v) {
144663
144588
  o.default = v;
144664
144589
  }), __importStar = exports && exports.__importStar || function(mod) {
144665
- if (mod && mod.__esModule)
144666
- return mod;
144590
+ if (mod && mod.__esModule) return mod;
144667
144591
  var result = {};
144668
- if (mod != null)
144669
- for (var k in mod)
144670
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
144592
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
144671
144593
  return __setModuleDefault(result, mod), result;
144672
144594
  };
144673
144595
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -146117,12 +146039,9 @@ var require_spinner = __commonJS({
146117
146039
  } : function(o, v) {
146118
146040
  o.default = v;
146119
146041
  }), __importStar = exports && exports.__importStar || function(mod) {
146120
- if (mod && mod.__esModule)
146121
- return mod;
146042
+ if (mod && mod.__esModule) return mod;
146122
146043
  var result = {};
146123
- if (mod != null)
146124
- for (var k in mod)
146125
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
146044
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
146126
146045
  return __setModuleDefault(result, mod), result;
146127
146046
  }, __importDefault = exports && exports.__importDefault || function(mod) {
146128
146047
  return mod && mod.__esModule ? mod : { default: mod };
@@ -146647,6 +146566,7 @@ var require_password_prompt = __commonJS({
146647
146566
  let fn = function(c) {
146648
146567
  switch (c) {
146649
146568
  case "":
146569
+ // Ctrl-d
146650
146570
  case "\r":
146651
146571
  case `
146652
146572
  `:
@@ -146667,8 +146587,7 @@ var require_password_prompt = __commonJS({
146667
146587
  encoding: "utf8"
146668
146588
  });
146669
146589
  if (stderr.write(`
146670
- `), output.error)
146671
- return reject(output.error);
146590
+ `), output.error) return reject(output.error);
146672
146591
  resolve(output.stdout.trim());
146673
146592
  })
146674
146593
  };
@@ -146704,12 +146623,9 @@ var require_prompt = __commonJS({
146704
146623
  } : function(o, v) {
146705
146624
  o.default = v;
146706
146625
  }), __importStar = exports && exports.__importStar || function(mod) {
146707
- if (mod && mod.__esModule)
146708
- return mod;
146626
+ if (mod && mod.__esModule) return mod;
146709
146627
  var result = {};
146710
- if (mod != null)
146711
- for (var k in mod)
146712
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
146628
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
146713
146629
  return __setModuleDefault(result, mod), result;
146714
146630
  }, __importDefault = exports && exports.__importDefault || function(mod) {
146715
146631
  return mod && mod.__esModule ? mod : { default: mod };
@@ -146825,8 +146741,7 @@ var require_object = __commonJS({
146825
146741
  for (let e of value.slice(1))
146826
146742
  output.push(" ".repeat(maxKeyLength) + pp(e));
146827
146743
  }
146828
- } else
146829
- value != null && output.push(logKeyValue(key, value));
146744
+ } else value != null && output.push(logKeyValue(key, value));
146830
146745
  }
146831
146746
  return output.join(`
146832
146747
  `);
@@ -147002,12 +146917,15 @@ var require_formatter2 = __commonJS({
147002
146917
  });
147003
146918
  let fullMargin = Math.max(0, params.maxWidth - _stringWidth(s) - 2), halfMargin = Math.floor(fullMargin / 2);
147004
146919
  switch (options.align) {
146920
+ // fill start-of-line with whitespaces
147005
146921
  case "right":
147006
146922
  s = fullMargin > 0 ? " ".repeat(fullMargin) + s : s;
147007
146923
  break;
146924
+ // distribute whitespaces to left+right
147008
146925
  case "center":
147009
146926
  s = halfMargin > 0 ? " ".repeat(halfMargin) + s : s;
147010
146927
  break;
146928
+ // default: left align, no additional whitespaces
147011
146929
  case "left":
147012
146930
  default:
147013
146931
  break;
@@ -147355,8 +147273,7 @@ var require_mark = __commonJS({
147355
147273
  }
147356
147274
  Mark.prototype.getSnippet = function(indent, maxLength) {
147357
147275
  var head, start, tail, end, snippet;
147358
- if (!this.buffer)
147359
- return null;
147276
+ if (!this.buffer) return null;
147360
147277
  for (indent = indent || 4, maxLength = maxLength || 75, head = "", start = this.position; start > 0 && `\0\r
147361
147278
  \x85\u2028\u2029`.indexOf(this.buffer.charAt(start - 1)) === -1; )
147362
147279
  if (start -= 1, this.position - start > maxLength / 2 - 1) {
@@ -147559,8 +147476,7 @@ var require_null = __commonJS({
147559
147476
  init_cjs_shims();
147560
147477
  var Type = require_type();
147561
147478
  function resolveYamlNull(data) {
147562
- if (data === null)
147563
- return !0;
147479
+ if (data === null) return !0;
147564
147480
  var max = data.length;
147565
147481
  return max === 1 && data === "~" || max === 4 && (data === "null" || data === "Null" || data === "NULL");
147566
147482
  }
@@ -147601,8 +147517,7 @@ var require_bool = __commonJS({
147601
147517
  init_cjs_shims();
147602
147518
  var Type = require_type();
147603
147519
  function resolveYamlBoolean(data) {
147604
- if (data === null)
147605
- return !1;
147520
+ if (data === null) return !1;
147606
147521
  var max = data.length;
147607
147522
  return max === 4 && (data === "true" || data === "True" || data === "TRUE") || max === 5 && (data === "false" || data === "False" || data === "FALSE");
147608
147523
  }
@@ -147649,19 +147564,15 @@ var require_int = __commonJS({
147649
147564
  return 48 <= c && c <= 57;
147650
147565
  }
147651
147566
  function resolveYamlInteger(data) {
147652
- if (data === null)
147653
- return !1;
147567
+ if (data === null) return !1;
147654
147568
  var max = data.length, index = 0, hasDigits = !1, ch;
147655
- if (!max)
147656
- return !1;
147569
+ if (!max) return !1;
147657
147570
  if (ch = data[index], (ch === "-" || ch === "+") && (ch = data[++index]), ch === "0") {
147658
- if (index + 1 === max)
147659
- return !0;
147571
+ if (index + 1 === max) return !0;
147660
147572
  if (ch = data[++index], ch === "b") {
147661
147573
  for (index++; index < max; index++)
147662
147574
  if (ch = data[index], ch !== "_") {
147663
- if (ch !== "0" && ch !== "1")
147664
- return !1;
147575
+ if (ch !== "0" && ch !== "1") return !1;
147665
147576
  hasDigits = !0;
147666
147577
  }
147667
147578
  return hasDigits && ch !== "_";
@@ -147669,26 +147580,22 @@ var require_int = __commonJS({
147669
147580
  if (ch === "x") {
147670
147581
  for (index++; index < max; index++)
147671
147582
  if (ch = data[index], ch !== "_") {
147672
- if (!isHexCode(data.charCodeAt(index)))
147673
- return !1;
147583
+ if (!isHexCode(data.charCodeAt(index))) return !1;
147674
147584
  hasDigits = !0;
147675
147585
  }
147676
147586
  return hasDigits && ch !== "_";
147677
147587
  }
147678
147588
  for (; index < max; index++)
147679
147589
  if (ch = data[index], ch !== "_") {
147680
- if (!isOctCode(data.charCodeAt(index)))
147681
- return !1;
147590
+ if (!isOctCode(data.charCodeAt(index))) return !1;
147682
147591
  hasDigits = !0;
147683
147592
  }
147684
147593
  return hasDigits && ch !== "_";
147685
147594
  }
147686
- if (ch === "_")
147687
- return !1;
147595
+ if (ch === "_") return !1;
147688
147596
  for (; index < max; index++)
147689
147597
  if (ch = data[index], ch !== "_") {
147690
- if (ch === ":")
147691
- break;
147598
+ if (ch === ":") break;
147692
147599
  if (!isDecCode(data.charCodeAt(index)))
147693
147600
  return !1;
147694
147601
  hasDigits = !0;
@@ -147856,8 +147763,7 @@ var require_timestamp = __commonJS({
147856
147763
  }
147857
147764
  function constructYamlTimestamp(data) {
147858
147765
  var match, year, month, day, hour, minute, second, fraction = 0, delta = null, tz_hour, tz_minute, date;
147859
- if (match = YAML_DATE_REGEXP.exec(data), match === null && (match = YAML_TIMESTAMP_REGEXP.exec(data)), match === null)
147860
- throw new Error("Date resolve error");
147766
+ if (match = YAML_DATE_REGEXP.exec(data), match === null && (match = YAML_TIMESTAMP_REGEXP.exec(data)), match === null) throw new Error("Date resolve error");
147861
147767
  if (year = +match[1], month = +match[2] - 1, day = +match[3], !match[4])
147862
147768
  return new Date(Date.UTC(year, month, day));
147863
147769
  if (hour = +match[4], minute = +match[5], second = +match[6], match[7]) {
@@ -147909,13 +147815,11 @@ var require_binary = __commonJS({
147909
147815
  var _require, Type = require_type(), BASE64_MAP = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
147910
147816
  \r`;
147911
147817
  function resolveYamlBinary(data) {
147912
- if (data === null)
147913
- return !1;
147818
+ if (data === null) return !1;
147914
147819
  var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP;
147915
147820
  for (idx = 0; idx < max; idx++)
147916
147821
  if (code = map.indexOf(data.charAt(idx)), !(code > 64)) {
147917
- if (code < 0)
147918
- return !1;
147822
+ if (code < 0) return !1;
147919
147823
  bitlen += 6;
147920
147824
  }
147921
147825
  return bitlen % 8 === 0;
@@ -147952,24 +147856,17 @@ var require_omap = __commonJS({
147952
147856
  init_cjs_shims();
147953
147857
  var Type = require_type(), _hasOwnProperty = Object.prototype.hasOwnProperty, _toString = Object.prototype.toString;
147954
147858
  function resolveYamlOmap(data) {
147955
- if (data === null)
147956
- return !0;
147859
+ if (data === null) return !0;
147957
147860
  var objectKeys = [], index, length, pair, pairKey, pairHasKey, object = data;
147958
147861
  for (index = 0, length = object.length; index < length; index += 1) {
147959
- if (pair = object[index], pairHasKey = !1, _toString.call(pair) !== "[object Object]")
147960
- return !1;
147862
+ if (pair = object[index], pairHasKey = !1, _toString.call(pair) !== "[object Object]") return !1;
147961
147863
  for (pairKey in pair)
147962
147864
  if (_hasOwnProperty.call(pair, pairKey))
147963
- if (!pairHasKey)
147964
- pairHasKey = !0;
147965
- else
147966
- return !1;
147967
- if (!pairHasKey)
147968
- return !1;
147969
- if (objectKeys.indexOf(pairKey) === -1)
147970
- objectKeys.push(pairKey);
147971
- else
147972
- return !1;
147865
+ if (!pairHasKey) pairHasKey = !0;
147866
+ else return !1;
147867
+ if (!pairHasKey) return !1;
147868
+ if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);
147869
+ else return !1;
147973
147870
  }
147974
147871
  return !0;
147975
147872
  }
@@ -147991,19 +147888,16 @@ var require_pairs = __commonJS({
147991
147888
  init_cjs_shims();
147992
147889
  var Type = require_type(), _toString = Object.prototype.toString;
147993
147890
  function resolveYamlPairs(data) {
147994
- if (data === null)
147995
- return !0;
147891
+ if (data === null) return !0;
147996
147892
  var index, length, pair, keys, result, object = data;
147997
147893
  for (result = new Array(object.length), index = 0, length = object.length; index < length; index += 1) {
147998
- if (pair = object[index], _toString.call(pair) !== "[object Object]" || (keys = Object.keys(pair), keys.length !== 1))
147999
- return !1;
147894
+ if (pair = object[index], _toString.call(pair) !== "[object Object]" || (keys = Object.keys(pair), keys.length !== 1)) return !1;
148000
147895
  result[index] = [keys[0], pair[keys[0]]];
148001
147896
  }
148002
147897
  return !0;
148003
147898
  }
148004
147899
  function constructYamlPairs(data) {
148005
- if (data === null)
148006
- return [];
147900
+ if (data === null) return [];
148007
147901
  var index, length, pair, keys, result, object = data;
148008
147902
  for (result = new Array(object.length), index = 0, length = object.length; index < length; index += 1)
148009
147903
  pair = object[index], keys = Object.keys(pair), result[index] = [keys[0], pair[keys[0]]];
@@ -148024,8 +147918,7 @@ var require_set = __commonJS({
148024
147918
  init_cjs_shims();
148025
147919
  var Type = require_type(), _hasOwnProperty = Object.prototype.hasOwnProperty;
148026
147920
  function resolveYamlSet(data) {
148027
- if (data === null)
148028
- return !0;
147921
+ if (data === null) return !0;
148029
147922
  var key, object = data;
148030
147923
  for (key in object)
148031
147924
  if (_hasOwnProperty.call(object, key) && object[key] !== null)
@@ -148101,8 +147994,7 @@ var require_regexp = __commonJS({
148101
147994
  init_cjs_shims();
148102
147995
  var Type = require_type();
148103
147996
  function resolveJavascriptRegExp(data) {
148104
- if (data === null || data.length === 0)
148105
- return !1;
147997
+ if (data === null || data.length === 0) return !1;
148106
147998
  var regexp = data, tail = /\/([gim]*)$/.exec(data), modifiers = "";
148107
147999
  return !(regexp[0] === "/" && (tail && (modifiers = tail[1]), modifiers.length > 3 || regexp[regexp.length - modifiers.length - 1] !== "/"));
148108
148000
  }
@@ -148140,8 +148032,7 @@ var require_function = __commonJS({
148140
148032
  }
148141
148033
  var _require, Type = require_type();
148142
148034
  function resolveJavascriptFunction(data) {
148143
- if (data === null)
148144
- return !1;
148035
+ if (data === null) return !1;
148145
148036
  try {
148146
148037
  var source = "(" + data + ")", ast = esprima.parse(source, { range: !0 });
148147
148038
  return !(ast.type !== "Program" || ast.body.length !== 1 || ast.body[0].type !== "ExpressionStatement" || ast.body[0].expression.type !== "ArrowFunctionExpression" && ast.body[0].expression.type !== "FunctionExpression");
@@ -148268,8 +148159,7 @@ var require_loader = __commonJS({
148268
148159
  if (_result = state.input.slice(start, end), checkJson)
148269
148160
  for (_position = 0, _length = _result.length; _position < _length; _position += 1)
148270
148161
  _character = _result.charCodeAt(_position), _character === 9 || 32 <= _character && _character <= 1114111 || throwError(state, "expected valid JSON character");
148271
- else
148272
- PATTERN_NON_PRINTABLE.test(_result) && throwError(state, "the stream contains non-printable characters");
148162
+ else PATTERN_NON_PRINTABLE.test(_result) && throwError(state, "the stream contains non-printable characters");
148273
148163
  state.result += _result;
148274
148164
  }
148275
148165
  }
@@ -148358,8 +148248,7 @@ var require_loader = __commonJS({
148358
148248
  captureStart = state.position, state.position++, captureEnd = state.position;
148359
148249
  else
148360
148250
  return !0;
148361
- else
148362
- is_EOL(ch) ? (captureSegment(state, captureStart, captureEnd, !0), writeFoldedLines(state, skipSeparationSpace(state, !1, nodeIndent)), captureStart = captureEnd = state.position) : state.position === state.lineStart && testDocumentSeparator(state) ? throwError(state, "unexpected end of the document within a single quoted scalar") : (state.position++, captureEnd = state.position);
148251
+ else is_EOL(ch) ? (captureSegment(state, captureStart, captureEnd, !0), writeFoldedLines(state, skipSeparationSpace(state, !1, nodeIndent)), captureStart = captureEnd = state.position) : state.position === state.lineStart && testDocumentSeparator(state) ? throwError(state, "unexpected end of the document within a single quoted scalar") : (state.position++, captureEnd = state.position);
148363
148252
  throwError(state, "unexpected end of the stream within a single quoted scalar");
148364
148253
  }
148365
148254
  function readDoubleQuotedScalar(state, nodeIndent) {
@@ -148381,8 +148270,7 @@ var require_loader = __commonJS({
148381
148270
  } else
148382
148271
  throwError(state, "unknown escape sequence");
148383
148272
  captureStart = captureEnd = state.position;
148384
- } else
148385
- is_EOL(ch) ? (captureSegment(state, captureStart, captureEnd, !0), writeFoldedLines(state, skipSeparationSpace(state, !1, nodeIndent)), captureStart = captureEnd = state.position) : state.position === state.lineStart && testDocumentSeparator(state) ? throwError(state, "unexpected end of the document within a double quoted scalar") : (state.position++, captureEnd = state.position);
148273
+ } else is_EOL(ch) ? (captureSegment(state, captureStart, captureEnd, !0), writeFoldedLines(state, skipSeparationSpace(state, !1, nodeIndent)), captureStart = captureEnd = state.position) : state.position === state.lineStart && testDocumentSeparator(state) ? throwError(state, "unexpected end of the document within a double quoted scalar") : (state.position++, captureEnd = state.position);
148386
148274
  }
148387
148275
  throwError(state, "unexpected end of the stream within a double quoted scalar");
148388
148276
  }
@@ -148492,8 +148380,7 @@ var require_loader = __commonJS({
148492
148380
  }
148493
148381
  function readTagProperty(state) {
148494
148382
  var _position, isVerbatim = !1, isNamed = !1, tagHandle, tagName, ch;
148495
- if (ch = state.input.charCodeAt(state.position), ch !== 33)
148496
- return !1;
148383
+ if (ch = state.input.charCodeAt(state.position), ch !== 33) return !1;
148497
148384
  if (state.tag !== null && throwError(state, "duplication of a tag property"), ch = state.input.charCodeAt(++state.position), ch === 60 ? (isVerbatim = !0, ch = state.input.charCodeAt(++state.position)) : ch === 33 ? (isNamed = !0, tagHandle = "!!", ch = state.input.charCodeAt(++state.position)) : tagHandle = "!", _position = state.position, isVerbatim) {
148498
148385
  do
148499
148386
  ch = state.input.charCodeAt(++state.position);
@@ -148508,16 +148395,14 @@ var require_loader = __commonJS({
148508
148395
  }
148509
148396
  function readAnchorProperty(state) {
148510
148397
  var _position, ch;
148511
- if (ch = state.input.charCodeAt(state.position), ch !== 38)
148512
- return !1;
148398
+ if (ch = state.input.charCodeAt(state.position), ch !== 38) return !1;
148513
148399
  for (state.anchor !== null && throwError(state, "duplication of an anchor property"), ch = state.input.charCodeAt(++state.position), _position = state.position; ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch); )
148514
148400
  ch = state.input.charCodeAt(++state.position);
148515
148401
  return state.position === _position && throwError(state, "name of an anchor node must contain at least one character"), state.anchor = state.input.slice(_position, state.position), !0;
148516
148402
  }
148517
148403
  function readAlias(state) {
148518
148404
  var _position, alias, ch;
148519
- if (ch = state.input.charCodeAt(state.position), ch !== 42)
148520
- return !1;
148405
+ if (ch = state.input.charCodeAt(state.position), ch !== 42) return !1;
148521
148406
  for (ch = state.input.charCodeAt(++state.position), _position = state.position; ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch); )
148522
148407
  ch = state.input.charCodeAt(++state.position);
148523
148408
  return state.position === _position && throwError(state, "name of an alias node must contain at least one character"), alias = state.input.slice(_position, state.position), _hasOwnProperty.call(state.anchorMap, alias) || throwError(state, 'unidentified alias "' + alias + '"'), state.result = state.anchorMap[alias], skipSeparationSpace(state, !0, -1), !0;
@@ -148534,8 +148419,7 @@ var require_loader = __commonJS({
148534
148419
  state.result = type.construct(state.result), state.tag = type.tag, state.anchor !== null && (state.anchorMap[state.anchor] = state.result);
148535
148420
  break;
148536
148421
  }
148537
- } else
148538
- _hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag) ? (type = state.typeMap[state.kind || "fallback"][state.tag], state.result !== null && type.kind !== state.kind && throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"'), type.resolve(state.result) ? (state.result = type.construct(state.result), state.anchor !== null && (state.anchorMap[state.anchor] = state.result)) : throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag")) : throwError(state, "unknown tag !<" + state.tag + ">");
148422
+ } else _hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag) ? (type = state.typeMap[state.kind || "fallback"][state.tag], state.result !== null && type.kind !== state.kind && throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"'), type.resolve(state.result) ? (state.result = type.construct(state.result), state.anchor !== null && (state.anchorMap[state.anchor] = state.result)) : throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag")) : throwError(state, "unknown tag !<" + state.tag + ">");
148539
148423
  return state.listener !== null && state.listener("close", state), state.tag !== null || state.anchor !== null || hasContent;
148540
148424
  }
148541
148425
  function readDocument(state) {
@@ -148552,8 +148436,7 @@ var require_loader = __commonJS({
148552
148436
  while (ch !== 0 && !is_EOL(ch));
148553
148437
  break;
148554
148438
  }
148555
- if (is_EOL(ch))
148556
- break;
148439
+ if (is_EOL(ch)) break;
148557
148440
  for (_position = state.position; ch !== 0 && !is_WS_OR_EOL(ch); )
148558
148441
  ch = state.input.charCodeAt(++state.position);
148559
148442
  directiveArgs.push(state.input.slice(_position, state.position));
@@ -148649,8 +148532,7 @@ var require_dumper = __commonJS({
148649
148532
  ];
148650
148533
  function compileStyleMap(schema, map) {
148651
148534
  var result, keys, index, length, tag, style, type;
148652
- if (map === null)
148653
- return {};
148535
+ if (map === null) return {};
148654
148536
  for (result = {}, keys = Object.keys(map), index = 0, length = keys.length; index < length; index += 1)
148655
148537
  tag = keys[index], style = String(map[tag]), tag.slice(0, 2) === "!!" && (tag = "tag:yaml.org,2002:" + tag.slice(2)), type = schema.compiledTypeMap.fallback[tag], type && _hasOwnProperty.call(type.styleAliases, style) && (style = type.styleAliases[style]), result[tag] = style;
148656
148538
  return result;
@@ -148781,8 +148663,7 @@ var require_dumper = __commonJS({
148781
148663
  return result;
148782
148664
  }
148783
148665
  function foldLine(line, width) {
148784
- if (line === "" || line[0] === " ")
148785
- return line;
148666
+ if (line === "" || line[0] === " ") return line;
148786
148667
  for (var breakRe = / [^ ]/g, match, start = 0, end, curr = 0, next = 0, result = ""; match = breakRe.exec(line); )
148787
148668
  next = match.index, next - start > width && (end = curr > start ? curr : next, result += `
148788
148669
  ` + line.slice(start, end), start = end + 1), curr = next;
@@ -148863,8 +148744,7 @@ var require_dumper = __commonJS({
148863
148744
  } else if (type === "[object String]")
148864
148745
  state.tag !== "?" && writeScalar(state, state.dump, level, iskey);
148865
148746
  else {
148866
- if (state.skipInvalid)
148867
- return !1;
148747
+ if (state.skipInvalid) return !1;
148868
148748
  throw new YAMLException("unacceptable kind of an object to dump " + type);
148869
148749
  }
148870
148750
  state.tag !== null && state.tag !== "?" && (state.dump = "!<" + state.tag + "> " + state.dump);
@@ -148970,8 +148850,7 @@ var require_natural_orderby = __commonJS({
148970
148850
  if (chunkA.parsedNumber !== void 0 && chunkB.parsedNumber !== void 0) {
148971
148851
  var result = compareNumbers(chunkA.parsedNumber, chunkB.parsedNumber);
148972
148852
  return result === 0 ? stringCompare(chunkA.normalizedString, chunkB.normalizedString) : result;
148973
- } else
148974
- return chunkA.parsedNumber !== void 0 || chunkB.parsedNumber !== void 0 ? chunkA.parsedNumber !== void 0 ? -1 : 1 : RE_UNICODE_CHARACTERS.test(chunkA.normalizedString + chunkB.normalizedString) && chunkA.normalizedString.localeCompare ? compareUnicode(chunkA.normalizedString, chunkB.normalizedString) : stringCompare(chunkA.normalizedString, chunkB.normalizedString);
148853
+ } else return chunkA.parsedNumber !== void 0 || chunkB.parsedNumber !== void 0 ? chunkA.parsedNumber !== void 0 ? -1 : 1 : RE_UNICODE_CHARACTERS.test(chunkA.normalizedString + chunkB.normalizedString) && chunkA.normalizedString.localeCompare ? compareUnicode(chunkA.normalizedString, chunkB.normalizedString) : stringCompare(chunkA.normalizedString, chunkB.normalizedString);
148975
148854
  }
148976
148855
  }
148977
148856
  return lengthA > size || lengthB > size ? lengthA <= size ? -1 : 1 : 0;
@@ -149177,8 +149056,7 @@ var require_slice_ansi = __commonJS({
149177
149056
  if (ESCAPES.includes(character)) {
149178
149057
  let code = /\d[^m]*/.exec(string.slice(index, index + 18));
149179
149058
  ansiCode = code && code.length > 0 ? code[0] : void 0, visible < stringEnd && (isInsideEscape = !0, ansiCode !== void 0 && ansiCodes.push(ansiCode));
149180
- } else
149181
- isInsideEscape && character === "m" && (isInsideEscape = !1, leftEscape = !0);
149059
+ } else isInsideEscape && character === "m" && (isInsideEscape = !1, leftEscape = !0);
149182
149060
  if (!isInsideEscape && !leftEscape && visible++, !astralRegex({ exact: !0 }).test(character) && isFullwidthCodePoint(character.codePointAt()) && (visible++, typeof end != "number" && stringEnd++), visible > begin && visible <= stringEnd)
149183
149061
  output += character;
149184
149062
  else if (visible === begin && !isInsideEscape && ansiCode !== void 0)
@@ -149302,12 +149180,9 @@ var require_table = __commonJS({
149302
149180
  } : function(o, v) {
149303
149181
  o.default = v;
149304
149182
  }), __importStar = exports && exports.__importStar || function(mod) {
149305
- if (mod && mod.__esModule)
149306
- return mod;
149183
+ if (mod && mod.__esModule) return mod;
149307
149184
  var result = {};
149308
- if (mod != null)
149309
- for (var k in mod)
149310
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
149185
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
149311
149186
  return __setModuleDefault(result, mod), result;
149312
149187
  }, __importDefault = exports && exports.__importDefault || function(mod) {
149313
149188
  return mod && mod.__esModule ? mod : { default: mod };
@@ -149371,8 +149246,7 @@ var require_table = __commonJS({
149371
149246
  if (this.options.columns) {
149372
149247
  let filters = this.options.columns.split(",");
149373
149248
  this.columns = this.filterColumnsFromHeaders(filters);
149374
- } else
149375
- this.options.extended || (this.columns = this.columns.filter((c) => !c.extended));
149249
+ } else this.options.extended || (this.columns = this.columns.filter((c) => !c.extended));
149376
149250
  switch (this.data = rows, this.options.output) {
149377
149251
  case "csv": {
149378
149252
  this.outputCSV();
@@ -149610,12 +149484,9 @@ var require_styled = __commonJS({
149610
149484
  } : function(o, v) {
149611
149485
  o.default = v;
149612
149486
  }), __importStar = exports && exports.__importStar || function(mod) {
149613
- if (mod && mod.__esModule)
149614
- return mod;
149487
+ if (mod && mod.__esModule) return mod;
149615
149488
  var result = {};
149616
- if (mod != null)
149617
- for (var k in mod)
149618
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
149489
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
149619
149490
  return __setModuleDefault(result, mod), result;
149620
149491
  }, __importDefault = exports && exports.__importDefault || function(mod) {
149621
149492
  return mod && mod.__esModule ? mod : { default: mod };
@@ -149988,8 +149859,7 @@ var require_esprima = __commonJS({
149988
149859
  var extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
149989
149860
  d.__proto__ = b;
149990
149861
  } || function(d, b) {
149991
- for (var p in b)
149992
- b.hasOwnProperty(p) && (d[p] = b[p]);
149862
+ for (var p in b) b.hasOwnProperty(p) && (d[p] = b[p]);
149993
149863
  };
149994
149864
  return function(d, b) {
149995
149865
  extendStatics(d, b);
@@ -150023,6 +149893,7 @@ var require_esprima = __commonJS({
150023
149893
  var expr = elementName;
150024
149894
  qualifiedName = getQualifiedElementName(expr.object) + "." + getQualifiedElementName(expr.property);
150025
149895
  break;
149896
+ /* istanbul ignore next */
150026
149897
  default:
150027
149898
  break;
150028
149899
  }
@@ -151307,8 +151178,7 @@ var require_esprima = __commonJS({
151307
151178
  if (token.type === 3) {
151308
151179
  var id = token.value;
151309
151180
  this.nextToken(), computed = this.match("["), isAsync = !this.hasLineTerminator && id === "async" && !this.match(":") && !this.match("(") && !this.match("*") && !this.match(","), key = isAsync ? this.parseObjectPropertyKey() : this.finalize(node, new Node.Identifier(id));
151310
- } else
151311
- this.match("*") ? this.nextToken() : (computed = this.match("["), key = this.parseObjectPropertyKey());
151181
+ } else this.match("*") ? this.nextToken() : (computed = this.match("["), key = this.parseObjectPropertyKey());
151312
151182
  var lookaheadPropertyKey = this.qualifiedPropertyName(this.lookahead);
151313
151183
  if (token.type === 3 && !isAsync && token.value === "get" && lookaheadPropertyKey)
151314
151184
  kind = "get", computed = this.match("["), key = this.parseObjectPropertyKey(), this.context.allowYield = !1, value = this.parseGetterMethod();
@@ -151563,8 +151433,7 @@ var require_esprima = __commonJS({
151563
151433
  if (this.match("+") || this.match("-") || this.match("~") || this.match("!") || this.matchKeyword("delete") || this.matchKeyword("void") || this.matchKeyword("typeof")) {
151564
151434
  var node = this.startNode(this.lookahead), token = this.nextToken();
151565
151435
  expr = this.inheritCoverGrammar(this.parseUnaryExpression), expr = this.finalize(node, new Node.UnaryExpression(token.value, expr)), this.context.strict && expr.operator === "delete" && expr.argument.type === syntax_1.Syntax.Identifier && this.tolerateError(messages_1.Messages.StrictDelete), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
151566
- } else
151567
- this.context.await && this.matchContextualKeyword("await") ? expr = this.parseAwaitExpression() : expr = this.parseUpdateExpression();
151436
+ } else this.context.await && this.matchContextualKeyword("await") ? expr = this.parseAwaitExpression() : expr = this.parseUpdateExpression();
151568
151437
  return expr;
151569
151438
  }, Parser2.prototype.parseExponentiationExpression = function() {
151570
151439
  var startToken = this.lookahead, expr = this.inheritCoverGrammar(this.parseUnaryExpression);
@@ -151807,8 +151676,7 @@ var require_esprima = __commonJS({
151807
151676
  params.push(keyToken), shorthand = !0, this.nextToken();
151808
151677
  var expr = this.parseAssignmentExpression();
151809
151678
  value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init, expr));
151810
- } else
151811
- this.match(":") ? (this.expect(":"), value = this.parsePatternWithDefault(params, kind)) : (params.push(keyToken), shorthand = !0, value = init);
151679
+ } else this.match(":") ? (this.expect(":"), value = this.parsePatternWithDefault(params, kind)) : (params.push(keyToken), shorthand = !0, value = init);
151812
151680
  } else
151813
151681
  computed = this.match("["), key = this.parseObjectPropertyKey(), this.expect(":"), value = this.parsePatternWithDefault(params, kind);
151814
151682
  return this.finalize(node, new Node.Property("init", key, computed, value, method, shorthand));
@@ -151894,8 +151762,7 @@ var require_esprima = __commonJS({
151894
151762
  if (this.context.allowIn = previousAllowIn, declarations.length === 1 && this.matchKeyword("in")) {
151895
151763
  var decl = declarations[0];
151896
151764
  decl.init && (decl.id.type === syntax_1.Syntax.ArrayPattern || decl.id.type === syntax_1.Syntax.ObjectPattern || this.context.strict) && this.tolerateError(messages_1.Messages.ForInOfLoopInitializer, "for-in"), init = this.finalize(init, new Node.VariableDeclaration(declarations, "var")), this.nextToken(), left = init, right = this.parseExpression(), init = null;
151897
- } else
151898
- declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of") ? (init = this.finalize(init, new Node.VariableDeclaration(declarations, "var")), this.nextToken(), left = init, right = this.parseAssignmentExpression(), init = null, forIn = !1) : (init = this.finalize(init, new Node.VariableDeclaration(declarations, "var")), this.expect(";"));
151765
+ } else declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of") ? (init = this.finalize(init, new Node.VariableDeclaration(declarations, "var")), this.nextToken(), left = init, right = this.parseAssignmentExpression(), init = null, forIn = !1) : (init = this.finalize(init, new Node.VariableDeclaration(declarations, "var")), this.expect(";"));
151899
151766
  } else if (this.matchKeyword("const") || this.matchKeyword("let")) {
151900
151767
  init = this.createNode();
151901
151768
  var kind = this.nextToken().value;
@@ -153021,8 +152888,7 @@ var require_esprima = __commonJS({
153021
152888
  ch === "0" ? (character_1.Character.isDecimalDigit(this.source.charCodeAt(this.index)) && this.throwUnexpectedToken(messages_1.Messages.TemplateOctalLiteral), cooked += "\0") : character_1.Character.isOctalDigit(ch.charCodeAt(0)) ? this.throwUnexpectedToken(messages_1.Messages.TemplateOctalLiteral) : cooked += ch;
153022
152889
  break;
153023
152890
  }
153024
- else
153025
- character_1.Character.isLineTerminator(ch.charCodeAt(0)) ? (++this.lineNumber, ch === "\r" && this.source[this.index] === `
152891
+ else character_1.Character.isLineTerminator(ch.charCodeAt(0)) ? (++this.lineNumber, ch === "\r" && this.source[this.index] === `
153026
152892
  ` && ++this.index, this.lineStart = this.index, cooked += `
153027
152893
  `) : cooked += ch;
153028
152894
  }
@@ -153066,8 +152932,7 @@ var require_esprima = __commonJS({
153066
152932
  else if (ch === "/") {
153067
152933
  terminated = !0;
153068
152934
  break;
153069
- } else
153070
- ch === "[" && (classMarker = !0);
152935
+ } else ch === "[" && (classMarker = !0);
153071
152936
  return terminated || this.throwUnexpectedToken(messages_1.Messages.UnterminatedRegExp), str.substr(1, str.length - 2);
153072
152937
  }, Scanner2.prototype.scanRegExpFlags = function() {
153073
152938
  for (var str = "", flags = ""; !this.eof(); ) {
@@ -153605,8 +153470,7 @@ Should be of format "before:after"`
153605
153470
  function objectize(node) {
153606
153471
  function resolve(value, key) {
153607
153472
  if (value._parent) {
153608
- if (value._parent._default && value._parent._default[key])
153609
- return value._parent._default[key];
153473
+ if (value._parent._default && value._parent._default[key]) return value._parent._default[key];
153610
153474
  var root = value._parent._parent;
153611
153475
  if (root)
153612
153476
  return root._default ? root._default[key] : void 0;
@@ -153616,8 +153480,7 @@ Should be of format "before:after"`
153616
153480
  var value = node[key];
153617
153481
  if (value && !isFunction(value)) {
153618
153482
  if (isString(value) && (node[key] = value = objectizeString(value)), value._parent = node, isObject(value)) {
153619
- if (!value._before && !value._after)
153620
- return objectize(value);
153483
+ if (!value._before && !value._after) return objectize(value);
153621
153484
  value._before = value._before || resolve(value, "_before"), value._after = value._after || resolve(value, "_after");
153622
153485
  return;
153623
153486
  }
@@ -153634,8 +153497,7 @@ Should be of format "before:after"`
153634
153497
  }).forEach(function(key) {
153635
153498
  var value = node[key];
153636
153499
  if (!isFunction(value) && isObject(value)) {
153637
- if (!value._before && !value._after)
153638
- return functionize(value);
153500
+ if (!value._before && !value._after) return functionize(value);
153639
153501
  var before = value._before || "", after = value._after || "";
153640
153502
  return node[key] = surroundWith(before, after), node[key];
153641
153503
  }
@@ -153664,8 +153526,7 @@ Should be of format "before:after"`
153664
153526
  function tokenIndex(tokens2, tkn, start2) {
153665
153527
  var current, rangeStart = tkn.range[0];
153666
153528
  for (current = start2; current < tokens2.length; current++)
153667
- if (tokens2[current].range[0] === rangeStart)
153668
- return current;
153529
+ if (tokens2[current].range[0] === rangeStart) return current;
153669
153530
  throw new Error("Token %s not found at or after index: %d", tkn, start2);
153670
153531
  }
153671
153532
  function process2(surround2) {
@@ -153994,8 +153855,7 @@ var require_highlightFile = __commonJS({
153994
153855
  }
153995
153856
  module.exports = function(fullPath, opts, cb) {
153996
153857
  isFunction(opts) && (cb = opts, opts = {}), opts = opts || {}, fs.readFile(fullPath, "utf-8", function(err, code) {
153997
- if (err)
153998
- return cb(err);
153858
+ if (err) return cb(err);
153999
153859
  try {
154000
153860
  cb(null, highlight(code, opts));
154001
153861
  } catch (e) {
@@ -154211,12 +154071,9 @@ var require_cli_ux = __commonJS({
154211
154071
  } : function(o, v) {
154212
154072
  o.default = v;
154213
154073
  }), __importStar = exports && exports.__importStar || function(mod) {
154214
- if (mod && mod.__esModule)
154215
- return mod;
154074
+ if (mod && mod.__esModule) return mod;
154216
154075
  var result = {};
154217
- if (mod != null)
154218
- for (var k in mod)
154219
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
154076
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
154220
154077
  return __setModuleDefault(result, mod), result;
154221
154078
  }, __importDefault = exports && exports.__importDefault || function(mod) {
154222
154079
  return mod && mod.__esModule ? mod : { default: mod };
@@ -154632,8 +154489,7 @@ var require_brace_expansion = __commonJS({
154632
154489
  }
154633
154490
  function expand(str, isTop) {
154634
154491
  var expansions = [], m = balanced("{", "}", str);
154635
- if (!m)
154636
- return [str];
154492
+ if (!m) return [str];
154637
154493
  var pre = m.pre, post = m.post.length ? expand(m.post, !1) : [""];
154638
154494
  if (/\$$/.test(m.pre))
154639
154495
  for (var k = 0; k < post.length; k++) {
@@ -154730,44 +154586,43 @@ var require_brace_expressions = __commonJS({
154730
154586
  if (glob.charAt(pos) !== "[")
154731
154587
  throw new Error("not in a brace expression");
154732
154588
  let ranges = [], negs = [], i = pos + 1, sawStart = !1, uflag = !1, escaping = !1, negate = !1, endPos = pos, rangeStart = "";
154733
- WHILE:
154734
- for (; i < glob.length; ) {
154735
- let c = glob.charAt(i);
154736
- if ((c === "!" || c === "^") && i === pos + 1) {
154737
- negate = !0, i++;
154738
- continue;
154739
- }
154740
- if (c === "]" && sawStart && !escaping) {
154741
- endPos = i + 1;
154742
- break;
154743
- }
154744
- if (sawStart = !0, c === "\\" && !escaping) {
154745
- escaping = !0, i++;
154746
- continue;
154747
- }
154748
- if (c === "[" && !escaping) {
154749
- for (let [cls, [unip, u, neg]] of Object.entries(posixClasses))
154750
- if (glob.startsWith(cls, i)) {
154751
- if (rangeStart)
154752
- return ["$.", !1, glob.length - pos, !0];
154753
- i += cls.length, neg ? negs.push(unip) : ranges.push(unip), uflag = uflag || u;
154754
- continue WHILE;
154755
- }
154756
- }
154757
- if (escaping = !1, rangeStart) {
154758
- c > rangeStart ? ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c)) : c === rangeStart && ranges.push(braceEscape(c)), rangeStart = "", i++;
154759
- continue;
154760
- }
154761
- if (glob.startsWith("-]", i + 1)) {
154762
- ranges.push(braceEscape(c + "-")), i += 2;
154763
- continue;
154764
- }
154765
- if (glob.startsWith("-", i + 1)) {
154766
- rangeStart = c, i += 2;
154767
- continue;
154768
- }
154769
- ranges.push(braceEscape(c)), i++;
154589
+ WHILE: for (; i < glob.length; ) {
154590
+ let c = glob.charAt(i);
154591
+ if ((c === "!" || c === "^") && i === pos + 1) {
154592
+ negate = !0, i++;
154593
+ continue;
154594
+ }
154595
+ if (c === "]" && sawStart && !escaping) {
154596
+ endPos = i + 1;
154597
+ break;
154598
+ }
154599
+ if (sawStart = !0, c === "\\" && !escaping) {
154600
+ escaping = !0, i++;
154601
+ continue;
154602
+ }
154603
+ if (c === "[" && !escaping) {
154604
+ for (let [cls, [unip, u, neg]] of Object.entries(posixClasses))
154605
+ if (glob.startsWith(cls, i)) {
154606
+ if (rangeStart)
154607
+ return ["$.", !1, glob.length - pos, !0];
154608
+ i += cls.length, neg ? negs.push(unip) : ranges.push(unip), uflag = uflag || u;
154609
+ continue WHILE;
154610
+ }
154770
154611
  }
154612
+ if (escaping = !1, rangeStart) {
154613
+ c > rangeStart ? ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c)) : c === rangeStart && ranges.push(braceEscape(c)), rangeStart = "", i++;
154614
+ continue;
154615
+ }
154616
+ if (glob.startsWith("-]", i + 1)) {
154617
+ ranges.push(braceEscape(c + "-")), i += 2;
154618
+ continue;
154619
+ }
154620
+ if (glob.startsWith("-", i + 1)) {
154621
+ rangeStart = c, i += 2;
154622
+ continue;
154623
+ }
154624
+ ranges.push(braceEscape(c)), i++;
154625
+ }
154771
154626
  if (endPos < i)
154772
154627
  return ["", !1, 0, !1];
154773
154628
  if (!ranges.length && !negs.length)
@@ -156085,12 +155940,9 @@ var require_plugin_loader = __commonJS({
156085
155940
  } : function(o, v) {
156086
155941
  o.default = v;
156087
155942
  }), __importStar = exports && exports.__importStar || function(mod) {
156088
- if (mod && mod.__esModule)
156089
- return mod;
155943
+ if (mod && mod.__esModule) return mod;
156090
155944
  var result = {};
156091
- if (mod != null)
156092
- for (var k in mod)
156093
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
155945
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
156094
155946
  return __setModuleDefault(result, mod), result;
156095
155947
  };
156096
155948
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -156231,12 +156083,9 @@ var require_config3 = __commonJS({
156231
156083
  } : function(o, v) {
156232
156084
  o.default = v;
156233
156085
  }), __importStar = exports && exports.__importStar || function(mod) {
156234
- if (mod && mod.__esModule)
156235
- return mod;
156086
+ if (mod && mod.__esModule) return mod;
156236
156087
  var result = {};
156237
- if (mod != null)
156238
- for (var k in mod)
156239
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
156088
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
156240
156089
  return __setModuleDefault(result, mod), result;
156241
156090
  }, __importDefault = exports && exports.__importDefault || function(mod) {
156242
156091
  return mod && mod.__esModule ? mod : { default: mod };
@@ -156798,13 +156647,11 @@ var require_wordwrap = __commonJS({
156798
156647
  if (mode === "hard")
156799
156648
  for (var i = 0; i < x.length; i += stop - start)
156800
156649
  acc.push(x.slice(i, i + stop - start));
156801
- else
156802
- acc.push(x);
156650
+ else acc.push(x);
156803
156651
  return acc;
156804
156652
  }, []);
156805
156653
  return chunks.reduce(function(lines, rawChunk) {
156806
- if (rawChunk === "")
156807
- return lines;
156654
+ if (rawChunk === "") return lines;
156808
156655
  var chunk = rawChunk.replace(/\t/g, " "), i = lines.length - 1;
156809
156656
  if (lines[i].length + chunk.length > stop)
156810
156657
  lines[i] = lines[i].replace(/\s+$/, ""), chunk.split(/\n/).forEach(function(c) {
@@ -157467,12 +157314,9 @@ var require_command2 = __commonJS({
157467
157314
  } : function(o, v) {
157468
157315
  o.default = v;
157469
157316
  }), __importStar = exports && exports.__importStar || function(mod) {
157470
- if (mod && mod.__esModule)
157471
- return mod;
157317
+ if (mod && mod.__esModule) return mod;
157472
157318
  var result = {};
157473
- if (mod != null)
157474
- for (var k in mod)
157475
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
157319
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
157476
157320
  return __setModuleDefault(result, mod), result;
157477
157321
  }, __importDefault = exports && exports.__importDefault || function(mod) {
157478
157322
  return mod && mod.__esModule ? mod : { default: mod };
@@ -157816,12 +157660,9 @@ var require_lib2 = __commonJS({
157816
157660
  } : function(o, v) {
157817
157661
  o.default = v;
157818
157662
  }), __importStar = exports && exports.__importStar || function(mod) {
157819
- if (mod && mod.__esModule)
157820
- return mod;
157663
+ if (mod && mod.__esModule) return mod;
157821
157664
  var result = {};
157822
- if (mod != null)
157823
- for (var k in mod)
157824
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
157665
+ if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
157825
157666
  return __setModuleDefault(result, mod), result;
157826
157667
  }, __importDefault = exports && exports.__importDefault || function(mod) {
157827
157668
  return mod && mod.__esModule ? mod : { default: mod };
@@ -157945,4 +157786,4 @@ ejs/lib/ejs.js:
157945
157786
  * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
157946
157787
  *)
157947
157788
  */
157948
- //# sourceMappingURL=chunk-CQGOPQQH.js.map
157789
+ //# sourceMappingURL=chunk-BOBYVF6Z.js.map